3rd-party/class.jetpack-amp-support.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 505-511 (lines=7) @@ | 
                                                            
                                    | 502 |  | 		// Build array of Photon args and expose to filter before passing to Photon URL function. | 
                                                            
                                    | 503 |  | 		$args = array(); | 
                                                            
                                    | 504 |  |  | 
                                                            
                                    | 505 |  | 		if ( false !== $width && false !== $height ) { | 
                                                            
                                    | 506 |  | 			$args[ $transform ] = $width . ',' . $height; | 
                                                            
                                    | 507 |  | 		} elseif ( false !== $width ) { | 
                                                            
                                    | 508 |  | 			$args['w'] = $width; | 
                                                            
                                    | 509 |  | 		} elseif ( false !== $height ) { | 
                                                            
                                    | 510 |  | 			$args['h'] = $height; | 
                                                            
                                    | 511 |  | 		} | 
                                                            
                                    | 512 |  |  | 
                                                            
                                    | 513 |  | 		return $args; | 
                                                            
                                    | 514 |  | 	} | 
                                                                        
                 
                                                            
                    
class.photon.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 494-500 (lines=7) @@ | 
                                                            
                                    | 491 |  | 					// Build array of Photon args and expose to filter before passing to Photon URL function. | 
                                                            
                                    | 492 |  | 					$args = array(); | 
                                                            
                                    | 493 |  |  | 
                                                            
                                    | 494 |  | 					if ( false !== $width && false !== $height ) { | 
                                                            
                                    | 495 |  | 						$args[ $transform ] = $width . ',' . $height; | 
                                                            
                                    | 496 |  | 					} elseif ( false !== $width ) { | 
                                                            
                                    | 497 |  | 						$args['w'] = $width; | 
                                                            
                                    | 498 |  | 					} elseif ( false !== $height ) { | 
                                                            
                                    | 499 |  | 						$args['h'] = $height; | 
                                                            
                                    | 500 |  | 					} | 
                                                            
                                    | 501 |  |  | 
                                                            
                                    | 502 |  | 					/** | 
                                                            
                                    | 503 |  | 					 * Filter the array of Photon arguments added to an image when it goes through Photon. |