Plugin Directory

Changeset 3264098


Ignore:
Timestamp:
03/30/2025 02:08:24 PM (9 months ago)
Author:
janw.oostendorp
Message:

Update to version 1.8.2 from GitHub

Location:
default-featured-image
Files:
2 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • default-featured-image/tags/1.8.2/app/class-dfi.php

    r3264087 r3264098  
    2929     */
    3030    private function __construct() {
    31     }
    32 
    33     /**
    34      * Uninstall
    35      *
    36      * @return void
    37      */
    38     public static function uninstall() {
    39         delete_option( 'dfi_image_id' );
    4031    }
    4132
  • default-featured-image/tags/1.8.2/dfi.php

    r3264087 r3264098  
    44 *
    55 * @package DFI
     6 *
     7 * @return void
    68 */
    79function dfi_load() {
    810
    9     defined('DFI_VERSION') || define( 'DFI_VERSION', '1.8.1' );
    10     defined('DFI_DIR') || define( 'DFI_DIR', plugin_dir_path( __FILE__ ) );
    11     defined('DFI_URL') || define( 'DFI_URL', plugin_dir_url( __FILE__ ) );
     11    defined( 'DFI_VERSION' ) || define( 'DFI_VERSION', '1.8.2' );
     12    defined( 'DFI_DIR' ) || define( 'DFI_DIR', plugin_dir_path( __FILE__ ) );
     13    defined( 'DFI_URL' ) || define( 'DFI_URL', plugin_dir_url( __FILE__ ) );
    1214
    1315    require_once DFI_DIR . 'app' . DIRECTORY_SEPARATOR . 'class-dfi.php';
     
    3133    // add L10n.
    3234    add_action( 'init', array( $dfi, 'load_plugin_textdomain' ) );
    33     // remove setting on removal.
    34     register_uninstall_hook( __FILE__, array( DFI::class, 'uninstall' ) );
    3535
    3636    /**
  • default-featured-image/tags/1.8.2/languages/default-featured-image.pot

    r3264087 r3264098  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Default featured image 1.8.1\n"
     5"Project-Id-Version: Default featured image 1.8.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/default-featured-image\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • default-featured-image/tags/1.8.2/readme.txt

    r3264087 r3264098  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    109109
    110110== Changelog ==
     111= 1.8.2 =
     112* Fixed typo in uninstall script.
     113
    111114= 1.8.1 =
    112115* Small refactor, no code or feature changes.
  • default-featured-image/tags/1.8.2/set-default-featured-image.php

    r3264087 r3264098  
    44 * Plugin URI: http://wordpress.org/extend/plugins/default-featured-image/
    55 * Description: Allows users to select a default featured image in the media settings
    6  * Version: 1.8.1
     6 * Version: 1.8.2
    77 * Requires at least: 6.2
    88 * Requires PHP: 7.4
  • default-featured-image/trunk/app/class-dfi.php

    r3264087 r3264098  
    2929     */
    3030    private function __construct() {
    31     }
    32 
    33     /**
    34      * Uninstall
    35      *
    36      * @return void
    37      */
    38     public static function uninstall() {
    39         delete_option( 'dfi_image_id' );
    4031    }
    4132
  • default-featured-image/trunk/dfi.php

    r3264087 r3264098  
    44 *
    55 * @package DFI
     6 *
     7 * @return void
    68 */
    79function dfi_load() {
    810
    9     defined('DFI_VERSION') || define( 'DFI_VERSION', '1.8.1' );
    10     defined('DFI_DIR') || define( 'DFI_DIR', plugin_dir_path( __FILE__ ) );
    11     defined('DFI_URL') || define( 'DFI_URL', plugin_dir_url( __FILE__ ) );
     11    defined( 'DFI_VERSION' ) || define( 'DFI_VERSION', '1.8.2' );
     12    defined( 'DFI_DIR' ) || define( 'DFI_DIR', plugin_dir_path( __FILE__ ) );
     13    defined( 'DFI_URL' ) || define( 'DFI_URL', plugin_dir_url( __FILE__ ) );
    1214
    1315    require_once DFI_DIR . 'app' . DIRECTORY_SEPARATOR . 'class-dfi.php';
     
    3133    // add L10n.
    3234    add_action( 'init', array( $dfi, 'load_plugin_textdomain' ) );
    33     // remove setting on removal.
    34     register_uninstall_hook( __FILE__, array( DFI::class, 'uninstall' ) );
    3535
    3636    /**
  • default-featured-image/trunk/languages/default-featured-image.pot

    r3264087 r3264098  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Default featured image 1.8.1\n"
     5"Project-Id-Version: Default featured image 1.8.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/default-featured-image\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • default-featured-image/trunk/readme.txt

    r3264087 r3264098  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    109109
    110110== Changelog ==
     111= 1.8.2 =
     112* Fixed typo in uninstall script.
     113
    111114= 1.8.1 =
    112115* Small refactor, no code or feature changes.
  • default-featured-image/trunk/set-default-featured-image.php

    r3264087 r3264098  
    44 * Plugin URI: http://wordpress.org/extend/plugins/default-featured-image/
    55 * Description: Allows users to select a default featured image in the media settings
    6  * Version: 1.8.1
     6 * Version: 1.8.2
    77 * Requires at least: 6.2
    88 * Requires PHP: 7.4
Note: See TracChangeset for help on using the changeset viewer.