Changeset 3264098
- Timestamp:
- 03/30/2025 02:08:24 PM (9 months ago)
- Location:
- default-featured-image
- Files:
-
- 2 added
- 10 edited
- 1 copied
-
tags/1.8.2 (copied) (copied from default-featured-image/trunk)
-
tags/1.8.2/app/class-dfi.php (modified) (1 diff)
-
tags/1.8.2/dfi.php (modified) (2 diffs)
-
tags/1.8.2/languages/default-featured-image.pot (modified) (1 diff)
-
tags/1.8.2/readme.txt (modified) (2 diffs)
-
tags/1.8.2/set-default-featured-image.php (modified) (1 diff)
-
tags/1.8.2/uninstall.php (added)
-
trunk/app/class-dfi.php (modified) (1 diff)
-
trunk/dfi.php (modified) (2 diffs)
-
trunk/languages/default-featured-image.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/set-default-featured-image.php (modified) (1 diff)
-
trunk/uninstall.php (added)
Legend:
- Unmodified
- Added
- Removed
-
default-featured-image/tags/1.8.2/app/class-dfi.php
r3264087 r3264098 29 29 */ 30 30 private function __construct() { 31 }32 33 /**34 * Uninstall35 *36 * @return void37 */38 public static function uninstall() {39 delete_option( 'dfi_image_id' );40 31 } 41 32 -
default-featured-image/tags/1.8.2/dfi.php
r3264087 r3264098 4 4 * 5 5 * @package DFI 6 * 7 * @return void 6 8 */ 7 9 function dfi_load() { 8 10 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__ ) ); 12 14 13 15 require_once DFI_DIR . 'app' . DIRECTORY_SEPARATOR . 'class-dfi.php'; … … 31 33 // add L10n. 32 34 add_action( 'init', array( $dfi, 'load_plugin_textdomain' ) ); 33 // remove setting on removal.34 register_uninstall_hook( __FILE__, array( DFI::class, 'uninstall' ) );35 35 36 36 /** -
default-featured-image/tags/1.8.2/languages/default-featured-image.pot
r3264087 r3264098 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Default featured image 1.8. 1\n"5 "Project-Id-Version: Default featured image 1.8.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/default-featured-image\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
default-featured-image/tags/1.8.2/readme.txt
r3264087 r3264098 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 109 109 110 110 == Changelog == 111 = 1.8.2 = 112 * Fixed typo in uninstall script. 113 111 114 = 1.8.1 = 112 115 * Small refactor, no code or feature changes. -
default-featured-image/tags/1.8.2/set-default-featured-image.php
r3264087 r3264098 4 4 * Plugin URI: http://wordpress.org/extend/plugins/default-featured-image/ 5 5 * Description: Allows users to select a default featured image in the media settings 6 * Version: 1.8. 16 * Version: 1.8.2 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 -
default-featured-image/trunk/app/class-dfi.php
r3264087 r3264098 29 29 */ 30 30 private function __construct() { 31 }32 33 /**34 * Uninstall35 *36 * @return void37 */38 public static function uninstall() {39 delete_option( 'dfi_image_id' );40 31 } 41 32 -
default-featured-image/trunk/dfi.php
r3264087 r3264098 4 4 * 5 5 * @package DFI 6 * 7 * @return void 6 8 */ 7 9 function dfi_load() { 8 10 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__ ) ); 12 14 13 15 require_once DFI_DIR . 'app' . DIRECTORY_SEPARATOR . 'class-dfi.php'; … … 31 33 // add L10n. 32 34 add_action( 'init', array( $dfi, 'load_plugin_textdomain' ) ); 33 // remove setting on removal.34 register_uninstall_hook( __FILE__, array( DFI::class, 'uninstall' ) );35 35 36 36 /** -
default-featured-image/trunk/languages/default-featured-image.pot
r3264087 r3264098 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Default featured image 1.8. 1\n"5 "Project-Id-Version: Default featured image 1.8.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/default-featured-image\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
default-featured-image/trunk/readme.txt
r3264087 r3264098 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 109 109 110 110 == Changelog == 111 = 1.8.2 = 112 * Fixed typo in uninstall script. 113 111 114 = 1.8.1 = 112 115 * Small refactor, no code or feature changes. -
default-featured-image/trunk/set-default-featured-image.php
r3264087 r3264098 4 4 * Plugin URI: http://wordpress.org/extend/plugins/default-featured-image/ 5 5 * Description: Allows users to select a default featured image in the media settings 6 * Version: 1.8. 16 * Version: 1.8.2 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4
Note: See TracChangeset
for help on using the changeset viewer.