Changeset 3468614
- Timestamp:
- 02/24/2026 12:13:54 PM (5 weeks ago)
- Location:
- redshape-easy-labels
- Files:
-
- 3 edited
- 12 copied
-
tags/1.4.2 (copied) (copied from redshape-easy-labels/trunk)
-
tags/1.4.2/assets/css/admin-settings.css (copied) (copied from redshape-easy-labels/trunk/assets/css/admin-settings.css)
-
tags/1.4.2/assets/css/admin.css (copied) (copied from redshape-easy-labels/trunk/assets/css/admin.css)
-
tags/1.4.2/assets/js/admin.js (copied) (copied from redshape-easy-labels/trunk/assets/js/admin.js)
-
tags/1.4.2/bin (copied) (copied from redshape-easy-labels/trunk/bin)
-
tags/1.4.2/includes/admin-page.php (copied) (copied from redshape-easy-labels/trunk/includes/admin-page.php)
-
tags/1.4.2/includes/class-redshape-easylabels-cache.php (copied) (copied from redshape-easy-labels/trunk/includes/class-redshape-easylabels-cache.php)
-
tags/1.4.2/includes/class-redshape-easylabels-i18n.php (copied) (copied from redshape-easy-labels/trunk/includes/class-redshape-easylabels-i18n.php)
-
tags/1.4.2/includes/class-redshape-easylabels.php (copied) (copied from redshape-easy-labels/trunk/includes/class-redshape-easylabels.php) (1 diff)
-
tags/1.4.2/readme.txt (copied) (copied from redshape-easy-labels/trunk/readme.txt) (3 diffs)
-
tags/1.4.2/redshape-easy-labels.php (copied) (copied from redshape-easy-labels/trunk/redshape-easy-labels.php) (2 diffs)
-
tags/1.4.2/uninstall.php (copied) (copied from redshape-easy-labels/trunk/uninstall.php)
-
trunk/includes/class-redshape-easylabels.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/redshape-easy-labels.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
redshape-easy-labels/tags/1.4.2/includes/class-redshape-easylabels.php
r3468585 r3468614 11 11 exit; 12 12 } 13 14 // Verify all required files are present before loading them. 15 // A missing file means an incomplete deploy — show a clear admin notice instead of a fatal PHP error. 16 $redshape_easylabels_required_files = array( 17 'class-redshape-easylabels-cache.php', 18 'class-redshape-easylabels-i18n.php', 19 'class-redshape-easylabels-helpers.php', 20 'class-redshape-easylabels-admin-columns.php', 21 'class-redshape-easylabels-bulk-actions.php', 22 'class-redshape-easylabels-filter-bar.php', 23 'class-redshape-easylabels-meta-box.php', 24 'class-redshape-easylabels-ajax.php', 25 'class-redshape-easylabels-dashboard-widget.php', 26 'class-redshape-easylabels-settings.php', 27 ); 28 $redshape_easylabels_missing_files = array(); 29 foreach ( $redshape_easylabels_required_files as $redshape_easylabels_file ) { 30 if ( ! file_exists( plugin_dir_path( __FILE__ ) . $redshape_easylabels_file ) ) { 31 $redshape_easylabels_missing_files[] = $redshape_easylabels_file; 32 } 33 } 34 if ( ! empty( $redshape_easylabels_missing_files ) ) { 35 add_action( 'admin_notices', function() use ( $redshape_easylabels_missing_files ) { 36 $redshape_easylabels_safe_list = implode( ', ', array_map( 'esc_html', $redshape_easylabels_missing_files ) ); 37 echo '<div class="notice notice-error"><p><strong>REDSHAPE Easy Labels</strong>: ' . 38 esc_html__( 'The plugin could not be loaded because the following files are missing. Please re-upload the complete plugin package.', 'redshape-easy-labels' ) . 39 ' <code>' . $redshape_easylabels_safe_list . '</code></p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 40 } ); 41 return; 42 } 43 unset( $redshape_easylabels_required_files, $redshape_easylabels_missing_files, $redshape_easylabels_file ); 13 44 14 45 // Core dependencies -
redshape-easy-labels/tags/1.4.2/readme.txt
r3468610 r3468614 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.0 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 93 93 94 94 == Changelog == 95 96 = 1.4.2 = 97 * Fix: Fatal error on activation when any core class file is missing from a partial deploy (`class-redshape-easylabels-helpers.php`, etc.) — `class-redshape-easylabels.php` now checks all 10 required files with `file_exists()` before loading them; if any are missing a clear admin notice lists them and the plugin exits cleanly instead of crashing WordPress 98 * Fix: PHPCS `NonPrefixedVariableFound` warning — removed global variable `$_redshape_easylabels_lang_gen` in `redshape-easy-labels.php`, replaced with an inline `file_exists()` call 99 * Fix: Hidden `.DS_Store` files removed from plugin package 100 * Version bump: 1.4.1 → 1.4.2 95 101 96 102 = 1.4.1 = … … 230 236 == Upgrade Notice == 231 237 238 = 1.4.2 = 239 Bugfix release. Fixes fatal errors on activation when plugin files are missing from a partial deploy — WordPress now shows a clear admin notice listing the missing files instead of crashing. Recommended update for all users. 240 232 241 = 1.4.1 = 233 242 Bugfix release. Fixes a fatal error on activation after partial deploys, a data-loss bug when saving settings, and the post type selector showing only post+page for new labels. Adds "Check for updates" link in the plugin row. Recommended update for all 1.4.0 users. -
redshape-easy-labels/tags/1.4.2/redshape-easy-labels.php
r3468610 r3468614 3 3 * Plugin Name: REDSHAPE Easy Labels 4 4 * Description: Colored labels and internal notes system for posts and pages, visible only in backend for content organization. Supports 10 languages (IT, EN, FR, DE, ES, RU, ZH, JA, KO, HI). 5 * Version: 1.4. 15 * Version: 1.4.2 6 6 * Author: REDSHAPE 7 7 * Author URI: https://redshape.it … … 18 18 19 19 // Define plugin constants 20 define('REDSHAPE_EASYLABELS_VERSION', '1.4. 1');20 define('REDSHAPE_EASYLABELS_VERSION', '1.4.2'); 21 21 define('REDSHAPE_EASYLABELS_PLUGIN_URL', plugin_dir_url(__FILE__)); 22 22 define('REDSHAPE_EASYLABELS_PLUGIN_PATH', plugin_dir_path(__FILE__)); -
redshape-easy-labels/trunk/includes/class-redshape-easylabels.php
r3468585 r3468614 11 11 exit; 12 12 } 13 14 // Verify all required files are present before loading them. 15 // A missing file means an incomplete deploy — show a clear admin notice instead of a fatal PHP error. 16 $redshape_easylabels_required_files = array( 17 'class-redshape-easylabels-cache.php', 18 'class-redshape-easylabels-i18n.php', 19 'class-redshape-easylabels-helpers.php', 20 'class-redshape-easylabels-admin-columns.php', 21 'class-redshape-easylabels-bulk-actions.php', 22 'class-redshape-easylabels-filter-bar.php', 23 'class-redshape-easylabels-meta-box.php', 24 'class-redshape-easylabels-ajax.php', 25 'class-redshape-easylabels-dashboard-widget.php', 26 'class-redshape-easylabels-settings.php', 27 ); 28 $redshape_easylabels_missing_files = array(); 29 foreach ( $redshape_easylabels_required_files as $redshape_easylabels_file ) { 30 if ( ! file_exists( plugin_dir_path( __FILE__ ) . $redshape_easylabels_file ) ) { 31 $redshape_easylabels_missing_files[] = $redshape_easylabels_file; 32 } 33 } 34 if ( ! empty( $redshape_easylabels_missing_files ) ) { 35 add_action( 'admin_notices', function() use ( $redshape_easylabels_missing_files ) { 36 $redshape_easylabels_safe_list = implode( ', ', array_map( 'esc_html', $redshape_easylabels_missing_files ) ); 37 echo '<div class="notice notice-error"><p><strong>REDSHAPE Easy Labels</strong>: ' . 38 esc_html__( 'The plugin could not be loaded because the following files are missing. Please re-upload the complete plugin package.', 'redshape-easy-labels' ) . 39 ' <code>' . $redshape_easylabels_safe_list . '</code></p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 40 } ); 41 return; 42 } 43 unset( $redshape_easylabels_required_files, $redshape_easylabels_missing_files, $redshape_easylabels_file ); 13 44 14 45 // Core dependencies -
redshape-easy-labels/trunk/readme.txt
r3468610 r3468614 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.0 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 93 93 94 94 == Changelog == 95 96 = 1.4.2 = 97 * Fix: Fatal error on activation when any core class file is missing from a partial deploy (`class-redshape-easylabels-helpers.php`, etc.) — `class-redshape-easylabels.php` now checks all 10 required files with `file_exists()` before loading them; if any are missing a clear admin notice lists them and the plugin exits cleanly instead of crashing WordPress 98 * Fix: PHPCS `NonPrefixedVariableFound` warning — removed global variable `$_redshape_easylabels_lang_gen` in `redshape-easy-labels.php`, replaced with an inline `file_exists()` call 99 * Fix: Hidden `.DS_Store` files removed from plugin package 100 * Version bump: 1.4.1 → 1.4.2 95 101 96 102 = 1.4.1 = … … 230 236 == Upgrade Notice == 231 237 238 = 1.4.2 = 239 Bugfix release. Fixes fatal errors on activation when plugin files are missing from a partial deploy — WordPress now shows a clear admin notice listing the missing files instead of crashing. Recommended update for all users. 240 232 241 = 1.4.1 = 233 242 Bugfix release. Fixes a fatal error on activation after partial deploys, a data-loss bug when saving settings, and the post type selector showing only post+page for new labels. Adds "Check for updates" link in the plugin row. Recommended update for all 1.4.0 users. -
redshape-easy-labels/trunk/redshape-easy-labels.php
r3468610 r3468614 3 3 * Plugin Name: REDSHAPE Easy Labels 4 4 * Description: Colored labels and internal notes system for posts and pages, visible only in backend for content organization. Supports 10 languages (IT, EN, FR, DE, ES, RU, ZH, JA, KO, HI). 5 * Version: 1.4. 15 * Version: 1.4.2 6 6 * Author: REDSHAPE 7 7 * Author URI: https://redshape.it … … 18 18 19 19 // Define plugin constants 20 define('REDSHAPE_EASYLABELS_VERSION', '1.4. 1');20 define('REDSHAPE_EASYLABELS_VERSION', '1.4.2'); 21 21 define('REDSHAPE_EASYLABELS_PLUGIN_URL', plugin_dir_url(__FILE__)); 22 22 define('REDSHAPE_EASYLABELS_PLUGIN_PATH', plugin_dir_path(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.