| Conditions | 9 | 
| Paths | 96 | 
| Total Lines | 15 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 24 | 	protected function process_output( $output, $value ) { | 
            ||
| 25 | |||
| 26 | $output['media_query'] = ( isset( $output['media_query'] ) ) ? $output['media_query'] : 'global';  | 
            ||
| 27 | $output['element'] = ( isset( $output['element'] ) ) ? $output['element'] : 'body';  | 
            ||
| 28 | $output['prefix'] = ( isset( $output['prefix'] ) ) ? $output['prefix'] : '';  | 
            ||
| 29 | $output['suffix'] = ( isset( $output['suffix'] ) ) ? $output['suffix'] : '';  | 
            ||
| 30 | $output['media_query'] = ( isset( $output['media_query'] ) ) ? $output['media_query'] : 'global';  | 
            ||
| 31 | |||
| 32 | 		foreach ( array( 'image', 'color', 'repeat', 'position', 'size', 'attachment' ) as $key ) { | 
            ||
| 33 | $key = 'background-' . $key;  | 
            ||
| 34 | 			if ( isset( $value[ $key ] ) && ! empty( $value[ $key ] ) ) { | 
            ||
| 35 | $this->styles[ $output['media_query'] ][ $output['element'] ][ $key ] = $output['prefix'] . $this->process_property_value( $key, $value[ $key ] ) . $output['suffix'];  | 
            ||
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 40 |