Changeset 3261550
- Timestamp:
- 03/25/2025 01:01:04 PM (12 months ago)
- Location:
- iron-security
- Files:
-
- 4 edited
- 17 copied
-
tags/2.2.4 (copied) (copied from iron-security/trunk)
-
tags/2.2.4/LICENSE.txt (copied) (copied from iron-security/trunk/LICENSE.txt)
-
tags/2.2.4/README.txt (copied) (copied from iron-security/trunk/README.txt) (2 diffs)
-
tags/2.2.4/admin (copied) (copied from iron-security/trunk/admin)
-
tags/2.2.4/admin/class-iron-security-admin.php (modified) (4 diffs)
-
tags/2.2.4/admin/js/dist/dashboard.bundle.js (copied) (copied from iron-security/trunk/admin/js/dist/dashboard.bundle.js)
-
tags/2.2.4/composer.json (copied) (copied from iron-security/trunk/composer.json)
-
tags/2.2.4/composer.lock (copied) (copied from iron-security/trunk/composer.lock)
-
tags/2.2.4/includes (copied) (copied from iron-security/trunk/includes)
-
tags/2.2.4/index.php (copied) (copied from iron-security/trunk/index.php)
-
tags/2.2.4/iron-security.php (copied) (copied from iron-security/trunk/iron-security.php) (2 diffs)
-
tags/2.2.4/languages (copied) (copied from iron-security/trunk/languages)
-
tags/2.2.4/package.json (copied) (copied from iron-security/trunk/package.json)
-
tags/2.2.4/pnpm-lock.yaml (copied) (copied from iron-security/trunk/pnpm-lock.yaml)
-
tags/2.2.4/public (copied) (copied from iron-security/trunk/public)
-
tags/2.2.4/uninstall.php (copied) (copied from iron-security/trunk/uninstall.php)
-
tags/2.2.4/vendor (copied) (copied from iron-security/trunk/vendor)
-
tags/2.2.4/webpack.config.js (copied) (copied from iron-security/trunk/webpack.config.js)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-iron-security-admin.php (modified) (4 diffs)
-
trunk/iron-security.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iron-security/tags/2.2.4/README.txt
r3261059 r3261550 5 5 Requires at least: 4.7 6 6 Tested up to: 6.7 7 Stable tag: 2.2. 37 Stable tag: 2.2.4 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 112 112 == Changelog == 113 113 114 = 2.2.4 = 115 * Fixed Fatal Error when editing pages 116 * Fixed styling issues with whole admin panel 117 114 118 = 2.2.3 = 115 119 * Fixed Readme -
iron-security/tags/2.2.4/admin/class-iron-security-admin.php
r3261056 r3261550 42 42 43 43 public function enqueue_styles() { 44 wp_enqueue_style( $this->plugin_name, 45 plugin_dir_url( __FILE__ ) . 'css/admin.css?v=1233', 46 array(), 47 time(), 48 'all' ); 49 wp_enqueue_style( $this->plugin_name . '-dashboard', 50 plugin_dir_url( __FILE__ ) . 'css/dashboard.css', 51 array(), 52 $this->version, 53 'all' ); 44 45 $screen = get_current_screen(); 46 if (strpos($screen->id, 'wpironis-plugin') !== false) { 47 wp_enqueue_style( $this->plugin_name, 48 plugin_dir_url( __FILE__ ) . 'css/admin.css?v=1233', 49 array(), 50 time(), 51 'all' ); 52 wp_enqueue_style( $this->plugin_name . '-dashboard', 53 plugin_dir_url( __FILE__ ) . 'css/dashboard.css', 54 array(), 55 $this->version, 56 'all' ); 57 } 54 58 } 55 59 … … 70 74 $admin_js_file = plugin_dir_path( __FILE__ ) . 'js/iron-security-admin.js'; 71 75 $dashboard_js_file = plugin_dir_path( __FILE__ ) . 'js/dist/dashboard.bundle.js'; 76 $screen = get_current_screen(); 77 72 78 73 79 wp_enqueue_script( … … 102 108 } 103 109 104 wp_enqueue_script( 105 $this->plugin_name . '-dashboard', 106 plugin_dir_url( __FILE__ ) . 'js/dist/dashboard.bundle.js?v=' . $this->version, 107 array( 'wp-element', 'wp-components', 'wp-i18n' ), 108 $this->version, 109 true 110 ); 110 if (strpos($screen->id, 'wpironis-plugin') !== false) { 111 wp_enqueue_script( 112 $this->plugin_name . '-dashboard', 113 plugin_dir_url( __FILE__ ) . 'js/dist/dashboard.bundle.js?v=' . $this->version, 114 array( 'wp-element', 'wp-components', 'wp-i18n' ), 115 $this->version, 116 true 117 ); 118 } 111 119 112 120 $settings_data = array( … … 2413 2421 */ 2414 2422 public function wpironis_filter_rest_user_responses( $response, $handler, $request ) { 2415 // Only process successful responses for user endpoints that could modify roles 2416 if ( is_wp_error( $response ) || $response->get_status() >= 400 ) { 2423 2424 if (is_wp_error( $response ) || 2425 (is_array( $response ) && !is_object( $response )) || 2426 (is_object( $response ) && method_exists( $response, 'get_status' ) && $response->get_status() >= 400)) { 2417 2427 return $response; 2418 2428 } -
iron-security/tags/2.2.4/iron-security.php
r3261059 r3261550 17 17 * Plugin URI: https://wpiron.com 18 18 * Description: Iron Security is a powerful WordPress security plugin to protect your site from common threats. Lock down your site with login protection, file security, and HTTP headers — all in one lightweight plugin. 19 * Version: 2.2. 319 * Version: 2.2.4 20 20 * Author: wpiron 21 21 * Author URI: https://wpiron.com/ … … 31 31 } 32 32 33 define( 'IRON_SECURITY_VERSION', '2.2. 3' );33 define( 'IRON_SECURITY_VERSION', '2.2.4' ); 34 34 35 35 function wpiisec_activate_iron_security() { -
iron-security/trunk/README.txt
r3261059 r3261550 5 5 Requires at least: 4.7 6 6 Tested up to: 6.7 7 Stable tag: 2.2. 37 Stable tag: 2.2.4 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 112 112 == Changelog == 113 113 114 = 2.2.4 = 115 * Fixed Fatal Error when editing pages 116 * Fixed styling issues with whole admin panel 117 114 118 = 2.2.3 = 115 119 * Fixed Readme -
iron-security/trunk/admin/class-iron-security-admin.php
r3261056 r3261550 42 42 43 43 public function enqueue_styles() { 44 wp_enqueue_style( $this->plugin_name, 45 plugin_dir_url( __FILE__ ) . 'css/admin.css?v=1233', 46 array(), 47 time(), 48 'all' ); 49 wp_enqueue_style( $this->plugin_name . '-dashboard', 50 plugin_dir_url( __FILE__ ) . 'css/dashboard.css', 51 array(), 52 $this->version, 53 'all' ); 44 45 $screen = get_current_screen(); 46 if (strpos($screen->id, 'wpironis-plugin') !== false) { 47 wp_enqueue_style( $this->plugin_name, 48 plugin_dir_url( __FILE__ ) . 'css/admin.css?v=1233', 49 array(), 50 time(), 51 'all' ); 52 wp_enqueue_style( $this->plugin_name . '-dashboard', 53 plugin_dir_url( __FILE__ ) . 'css/dashboard.css', 54 array(), 55 $this->version, 56 'all' ); 57 } 54 58 } 55 59 … … 70 74 $admin_js_file = plugin_dir_path( __FILE__ ) . 'js/iron-security-admin.js'; 71 75 $dashboard_js_file = plugin_dir_path( __FILE__ ) . 'js/dist/dashboard.bundle.js'; 76 $screen = get_current_screen(); 77 72 78 73 79 wp_enqueue_script( … … 102 108 } 103 109 104 wp_enqueue_script( 105 $this->plugin_name . '-dashboard', 106 plugin_dir_url( __FILE__ ) . 'js/dist/dashboard.bundle.js?v=' . $this->version, 107 array( 'wp-element', 'wp-components', 'wp-i18n' ), 108 $this->version, 109 true 110 ); 110 if (strpos($screen->id, 'wpironis-plugin') !== false) { 111 wp_enqueue_script( 112 $this->plugin_name . '-dashboard', 113 plugin_dir_url( __FILE__ ) . 'js/dist/dashboard.bundle.js?v=' . $this->version, 114 array( 'wp-element', 'wp-components', 'wp-i18n' ), 115 $this->version, 116 true 117 ); 118 } 111 119 112 120 $settings_data = array( … … 2413 2421 */ 2414 2422 public function wpironis_filter_rest_user_responses( $response, $handler, $request ) { 2415 // Only process successful responses for user endpoints that could modify roles 2416 if ( is_wp_error( $response ) || $response->get_status() >= 400 ) { 2423 2424 if (is_wp_error( $response ) || 2425 (is_array( $response ) && !is_object( $response )) || 2426 (is_object( $response ) && method_exists( $response, 'get_status' ) && $response->get_status() >= 400)) { 2417 2427 return $response; 2418 2428 } -
iron-security/trunk/iron-security.php
r3261059 r3261550 17 17 * Plugin URI: https://wpiron.com 18 18 * Description: Iron Security is a powerful WordPress security plugin to protect your site from common threats. Lock down your site with login protection, file security, and HTTP headers — all in one lightweight plugin. 19 * Version: 2.2. 319 * Version: 2.2.4 20 20 * Author: wpiron 21 21 * Author URI: https://wpiron.com/ … … 31 31 } 32 32 33 define( 'IRON_SECURITY_VERSION', '2.2. 3' );33 define( 'IRON_SECURITY_VERSION', '2.2.4' ); 34 34 35 35 function wpiisec_activate_iron_security() {
Note: See TracChangeset
for help on using the changeset viewer.