Ticket #21518: 21518.2.patch
| File 21518.2.patch, 1.3 KB (added by , 14 years ago) |
|---|
-
wp-admin/includes/deprecated.php
42 42 * @since 2.0.0 43 43 * @deprecated 3.0.0 44 44 * @deprecated Use wp_constrain_dimensions() 45 * @see wp_constrain_dimensions() 45 46 * 46 47 * @param int $width Current width of the image 47 48 * @param int $height Current height of the image 48 49 * @param int $wmax Maximum wanted width 49 50 * @param int $hmax Maximum wanted height 50 * @return mixed Array(height,width) of shrunk dimensions.51 * @return array Shrunk dimensions (width, height). 51 52 */ 52 53 function wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 ) { 53 54 _deprecated_function( __FUNCTION__, '3.0', 'wp_constrain_dimensions()' ); … … 59 60 * 60 61 * @since 2.0.0 61 62 * @deprecated 3.5.0 63 * @deprecated Use wp_constrain_dimensions() 62 64 * @see wp_constrain_dimensions() 63 65 * 64 66 * @param int $width Current width of the image 65 67 * @param int $height Current height of the image 66 * @return mixed Array(height,width) of shrunk dimensions.68 * @return array Shrunk dimensions (width, height). 67 69 */ 68 70 function get_udims( $width, $height ) { 69 71 _deprecated_function( __FUNCTION__, '3.5', 'wp_constrain_dimensions()' );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)