Changeset 3451137
- Timestamp:
- 01/31/2026 07:40:56 PM (2 months ago)
- Location:
- adminease/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
adminease.php (modified) (2 diffs)
-
composer.json (modified) (1 diff)
-
includes/Features/PostsMetadataBox.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adminease/trunk/README.txt
r3451135 r3451137 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 Stable tag: 1.5. 16 Stable tag: 1.5.2 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 187 187 == Changelog == 188 188 189 = 1.5.2 = 190 - Fixed: Posts meta box loading issue. 191 189 192 = 1.5.1 = 190 193 - Fixed: Posts meta box loading issue. -
adminease/trunk/adminease.php
r3451135 r3451137 3 3 * Plugin Name: AdminEase 4 4 * Description: Boosts your WordPress admin with tools for updates, security, performance, and user management - no coding required. 5 * Version: 1.5. 15 * Version: 1.5.2 6 6 * Author: PrecisionWP 7 7 * Author URI: https://precisionwp.net/ … … 15 15 16 16 // Plugin constants. 17 define( 'ADMINEASE_VERSION', '1.5. 1' );17 define( 'ADMINEASE_VERSION', '1.5.2' ); 18 18 define( 'ADMINEASE_NAME', 'AdminEase' ); 19 19 define( 'ADMINEASE_SLUG', 'adminease' ); -
adminease/trunk/composer.json
r3451135 r3451137 3 3 "description": "AdminEase – free version", 4 4 "type": "wordpress-plugin", 5 "version": "1.5. 1",5 "version": "1.5.2", 6 6 "require": { 7 7 "php": ">=7.4", -
adminease/trunk/includes/Features/PostsMetadataBox.php
r3451135 r3451137 12 12 class PostsMetadataBox { 13 13 private array $settings; 14 private array $allowed_post_types;15 14 private array $selected_post_types; 16 15 … … 40 39 */ 41 40 public function init() { 42 $default_post_types = Utils::get_post_types( [ 'base', 'media' ] ); 43 $selected_post_types = isset( $this->settings['posts_metadata_box_post_types'] ) ? array_intersect_key( $this->allowed_post_types, array_flip( $this->settings['posts_metadata_box_post_types'] ) ) : $default_post_types; 44 45 $this->allowed_post_types = apply_filters( 'adminease_posts_metadata_box_allowed_post_types', Utils::get_post_types( [ 'base', 'media' ] ) ); 46 $this->selected_post_types = $selected_post_types; 41 $default_post_types = Utils::get_post_types( [ 'base', 'media' ] ); 42 43 $allowed_post_types = apply_filters( 'adminease_posts_metadata_box_allowed_post_types', $default_post_types ); 44 $this->selected_post_types = isset( $this->settings['posts_metadata_box_post_types'] ) ? array_intersect_key( $allowed_post_types, array_flip( $this->settings['posts_metadata_box_post_types'] ) ) : $default_post_types; 47 45 } 48 46
Note: See TracChangeset
for help on using the changeset viewer.