Changeset 3401481
- Timestamp:
- 11/24/2025 12:43:55 AM (3 weeks ago)
- Location:
- xo-featured-image-tools
- Files:
-
- 6 edited
- 1 copied
-
tags/1.15.3 (copied) (copied from xo-featured-image-tools/trunk)
-
tags/1.15.3/admin.php (modified) (2 diffs)
-
tags/1.15.3/readme.txt (modified) (2 diffs)
-
tags/1.15.3/xo-featured-image-tools.php (modified) (2 diffs)
-
trunk/admin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/xo-featured-image-tools.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xo-featured-image-tools/tags/1.15.3/admin.php
r3084338 r3401481 996 996 * 997 997 * @param string $filename The file path. 998 * @param array $image_info Optional. Extended image information (passed by reference).999 998 * @return array|false Array of image information or false on failure. 1000 999 */ 1001 private function get_image_size( $filename , array &$image_info = null) {1000 private function get_image_size( $filename ) { 1002 1001 if ( function_exists( 'wp_getimagesize' ) ) { 1003 return wp_getimagesize( $filename , $image_info);1002 return wp_getimagesize( $filename ); 1004 1003 } 1005 1004 … … 1007 1006 && ! defined( 'WP_RUN_CORE_TESTS' ) 1008 1007 ) { 1009 if ( 2 === func_num_args() ) { 1010 $info = getimagesize( $filename, $image_info ); 1011 } else { 1012 $info = getimagesize( $filename ); 1013 } 1014 } else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found 1015 if ( 2 === func_num_args() ) { 1016 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1017 $info = @getimagesize( $filename, $image_info ); 1018 } else { 1019 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1020 $info = @getimagesize( $filename ); 1021 } 1008 $info = getimagesize( $filename ); 1009 } else { 1010 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1011 $info = @getimagesize( $filename ); 1022 1012 } 1023 1013 -
xo-featured-image-tools/tags/1.15.3/readme.txt
r3084338 r3401481 3 3 Tags: featured image, thumbnail, auto featured image 4 4 Requires at least: 4.9 5 Tested up to: 6. 55 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 1.15. 27 Stable tag: 1.15.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 1.15.3 = 38 * Supported WordPress 6.9. 39 37 40 = 1.15.2 = 38 41 * Fixed a bug that an incorrect featured image may be selected in a site migration environment with a URL change. -
xo-featured-image-tools/tags/1.15.3/xo-featured-image-tools.php
r3084338 r3401481 16 16 * Requires at least: 4.9 17 17 * Requires PHP: 5.6 18 * Version: 1.15. 218 * Version: 1.15.3 19 19 * Text Domain: xo-featured-image-tools 20 20 * Domain Path: /languages … … 25 25 } 26 26 27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15. 2' );27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.3' ); 28 28 29 29 require_once __DIR__ . '/admin.php'; -
xo-featured-image-tools/trunk/admin.php
r3084338 r3401481 996 996 * 997 997 * @param string $filename The file path. 998 * @param array $image_info Optional. Extended image information (passed by reference).999 998 * @return array|false Array of image information or false on failure. 1000 999 */ 1001 private function get_image_size( $filename , array &$image_info = null) {1000 private function get_image_size( $filename ) { 1002 1001 if ( function_exists( 'wp_getimagesize' ) ) { 1003 return wp_getimagesize( $filename , $image_info);1002 return wp_getimagesize( $filename ); 1004 1003 } 1005 1004 … … 1007 1006 && ! defined( 'WP_RUN_CORE_TESTS' ) 1008 1007 ) { 1009 if ( 2 === func_num_args() ) { 1010 $info = getimagesize( $filename, $image_info ); 1011 } else { 1012 $info = getimagesize( $filename ); 1013 } 1014 } else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found 1015 if ( 2 === func_num_args() ) { 1016 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1017 $info = @getimagesize( $filename, $image_info ); 1018 } else { 1019 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1020 $info = @getimagesize( $filename ); 1021 } 1008 $info = getimagesize( $filename ); 1009 } else { 1010 // phpcs:ignore WordPress.PHP.NoSilencedErrors 1011 $info = @getimagesize( $filename ); 1022 1012 } 1023 1013 -
xo-featured-image-tools/trunk/readme.txt
r3084338 r3401481 3 3 Tags: featured image, thumbnail, auto featured image 4 4 Requires at least: 4.9 5 Tested up to: 6. 55 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 1.15. 27 Stable tag: 1.15.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 1.15.3 = 38 * Supported WordPress 6.9. 39 37 40 = 1.15.2 = 38 41 * Fixed a bug that an incorrect featured image may be selected in a site migration environment with a URL change. -
xo-featured-image-tools/trunk/xo-featured-image-tools.php
r3084338 r3401481 16 16 * Requires at least: 4.9 17 17 * Requires PHP: 5.6 18 * Version: 1.15. 218 * Version: 1.15.3 19 19 * Text Domain: xo-featured-image-tools 20 20 * Domain Path: /languages … … 25 25 } 26 26 27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15. 2' );27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.3' ); 28 28 29 29 require_once __DIR__ . '/admin.php';
Note: See TracChangeset
for help on using the changeset viewer.