Plugin Directory

Changeset 3401481


Ignore:
Timestamp:
11/24/2025 12:43:55 AM (3 weeks ago)
Author:
ishitaka
Message:

Update to version 1.15.3 from GitHub

Location:
xo-featured-image-tools
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • xo-featured-image-tools/tags/1.15.3/admin.php

    r3084338 r3401481  
    996996     *
    997997     * @param string $filename   The file path.
    998      * @param array  $image_info Optional. Extended image information (passed by reference).
    999998     * @return array|false Array of image information or false on failure.
    1000999     */
    1001     private function get_image_size( $filename, array &$image_info = null ) {
     1000    private function get_image_size( $filename ) {
    10021001        if ( function_exists( 'wp_getimagesize' ) ) {
    1003             return wp_getimagesize( $filename, $image_info );
     1002            return wp_getimagesize( $filename );
    10041003        }
    10051004
     
    10071006            && ! defined( 'WP_RUN_CORE_TESTS' )
    10081007        ) {
    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 );
    10221012        }
    10231013
  • xo-featured-image-tools/tags/1.15.3/readme.txt

    r3084338 r3401481  
    33Tags: featured image, thumbnail, auto featured image
    44Requires at least: 4.9
    5 Tested up to: 6.5
     5Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 1.15.2
     7Stable tag: 1.15.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3535== Changelog ==
    3636
     37= 1.15.3 =
     38* Supported WordPress 6.9.
     39
    3740= 1.15.2 =
    3841* 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  
    1616 * Requires at least: 4.9
    1717 * Requires PHP:      5.6
    18  * Version:           1.15.2
     18 * Version:           1.15.3
    1919 * Text Domain:       xo-featured-image-tools
    2020 * Domain Path:       /languages
     
    2525}
    2626
    27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.2' );
     27define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.3' );
    2828
    2929require_once __DIR__ . '/admin.php';
  • xo-featured-image-tools/trunk/admin.php

    r3084338 r3401481  
    996996     *
    997997     * @param string $filename   The file path.
    998      * @param array  $image_info Optional. Extended image information (passed by reference).
    999998     * @return array|false Array of image information or false on failure.
    1000999     */
    1001     private function get_image_size( $filename, array &$image_info = null ) {
     1000    private function get_image_size( $filename ) {
    10021001        if ( function_exists( 'wp_getimagesize' ) ) {
    1003             return wp_getimagesize( $filename, $image_info );
     1002            return wp_getimagesize( $filename );
    10041003        }
    10051004
     
    10071006            && ! defined( 'WP_RUN_CORE_TESTS' )
    10081007        ) {
    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 );
    10221012        }
    10231013
  • xo-featured-image-tools/trunk/readme.txt

    r3084338 r3401481  
    33Tags: featured image, thumbnail, auto featured image
    44Requires at least: 4.9
    5 Tested up to: 6.5
     5Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 1.15.2
     7Stable tag: 1.15.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3535== Changelog ==
    3636
     37= 1.15.3 =
     38* Supported WordPress 6.9.
     39
    3740= 1.15.2 =
    3841* 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  
    1616 * Requires at least: 4.9
    1717 * Requires PHP:      5.6
    18  * Version:           1.15.2
     18 * Version:           1.15.3
    1919 * Text Domain:       xo-featured-image-tools
    2020 * Domain Path:       /languages
     
    2525}
    2626
    27 define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.2' );
     27define( 'XO_FEATURED_IMAGE_TOOLS_VERSION', '1.15.3' );
    2828
    2929require_once __DIR__ . '/admin.php';
Note: See TracChangeset for help on using the changeset viewer.