Changeset 3434869
- Timestamp:
- 01/08/2026 05:49:49 AM (4 days ago)
- Location:
- adminify
- Files:
-
- 8 edited
- 1 copied
-
tags/4.0.7.2 (copied) (copied from adminify/trunk)
-
tags/4.0.7.2/Inc/Classes/Notifications/Latest_Updates.php (modified) (2 diffs)
-
tags/4.0.7.2/adminify.php (modified) (1 diff)
-
tags/4.0.7.2/changelog.txt (modified) (1 diff)
-
tags/4.0.7.2/readme.txt (modified) (2 diffs)
-
trunk/Inc/Classes/Notifications/Latest_Updates.php (modified) (2 diffs)
-
trunk/adminify.php (modified) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adminify/tags/4.0.7.2/Inc/Classes/Notifications/Latest_Updates.php
r3434268 r3434869 25 25 parent::__construct(); 26 26 if(is_admin()){ 27 add_action( 'admin_footer', array( $this, 'jltwp_handle_plugin_update_notice_dismiss' ),99999 );27 add_action( 'admin_footer', array( $this, 'jltwp_handle_plugin_update_notice_dismiss' ),99999 ); 28 28 add_action( 'wp_ajax_jltwp_plugin_update_info', array( $this, 'jltwp_plugin_update_info' ) ); 29 }29 } 30 30 } 31 31 32 /**33 * Handles the AJAX request for the plugin update info notice dismissal.34 *35 * Triggered when the user clicks the Dismiss button in the notice.36 *37 * @since 1.038 *39 * @return void40 */32 /** 33 * Handles the AJAX request for the plugin update info notice dismissal. 34 * 35 * Triggered when the user clicks the Dismiss button in the notice. 36 * 37 * @since 1.0 38 * 39 * @return void 40 */ 41 41 public function jltwp_plugin_update_info() { 42 42 if (!current_user_can('install_plugins')) { 43 return;44 }43 return; 44 } 45 45 46 // Verify nonce for security.47 check_ajax_referer( 'dismiss_notice_nonce', 'nonce' );48 wp_send_json_success( array( 'message' => 'Notice dismissed.', 'data' => update_option('_wpadminify_plugin_update_info_notice', "dismissed" ) ) );46 // Verify nonce for security. 47 check_ajax_referer( 'dismiss_notice_nonce', 'nonce' ); 48 wp_send_json_success( array( 'message' => 'Notice dismissed.', 'data' => update_option('_wpadminify_plugin_update_info_notice', "dismissed" ) ) ); 49 49 } 50 50 … … 67 67 68 68 '<h3 class="adminify-update-head">' . WP_ADMINIFY . ' <span><small><em>v' . esc_html(WP_ADMINIFY_VER) . '</em></small>' . __(' has some updates..', 'adminify') . '</span></h3><br>', // %3$s 69 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> <strong> Added:</strong> Patchstack Vulnerability FAQ added. </span><br>', 'adminify')69 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> <strong>Fixed:</strong> Admin pages notice hidden issue fixed. </span><br>', 'adminify') 70 70 ); 71 71 printf(wp_kses_post($jltwp_adminify_changelog_message)); -
adminify/tags/4.0.7.2/adminify.php
r3434268 r3434869 6 6 * Plugin URI: https://wpadminify.com 7 7 * Author: Jewel Theme 8 * Version: 4.0.7. 18 * Version: 4.0.7.2 9 9 * Author URI: https://wpadminify.com 10 10 * License: GPLv3 or later -
adminify/tags/4.0.7.2/changelog.txt
r3434268 r3434869 1 1 == Changelog == 2 = 4.0.7.2 (08-01-2026) = 3 * Fixed: Admin pages notice hidden issue fixed. 4 2 5 = 4.0.7.1 (07-01-2026) = 3 6 * Added: Patchstack Vulnerability FAQ added. -
adminify/tags/4.0.7.2/readme.txt
r3434268 r3434869 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 4.0.7. 17 Stable tag: 4.0.7.2 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 150 150 151 151 == Changelog == 152 = 4.0.7.2 (08-01-2026) = 153 * Fixed: Admin pages notice hidden issue fixed. 154 152 155 = 4.0.7.1 (07-01-2026) = 153 156 * Added: Patchstack Vulnerability FAQ added. -
adminify/trunk/Inc/Classes/Notifications/Latest_Updates.php
r3434268 r3434869 25 25 parent::__construct(); 26 26 if(is_admin()){ 27 add_action( 'admin_footer', array( $this, 'jltwp_handle_plugin_update_notice_dismiss' ),99999 );27 add_action( 'admin_footer', array( $this, 'jltwp_handle_plugin_update_notice_dismiss' ),99999 ); 28 28 add_action( 'wp_ajax_jltwp_plugin_update_info', array( $this, 'jltwp_plugin_update_info' ) ); 29 }29 } 30 30 } 31 31 32 /**33 * Handles the AJAX request for the plugin update info notice dismissal.34 *35 * Triggered when the user clicks the Dismiss button in the notice.36 *37 * @since 1.038 *39 * @return void40 */32 /** 33 * Handles the AJAX request for the plugin update info notice dismissal. 34 * 35 * Triggered when the user clicks the Dismiss button in the notice. 36 * 37 * @since 1.0 38 * 39 * @return void 40 */ 41 41 public function jltwp_plugin_update_info() { 42 42 if (!current_user_can('install_plugins')) { 43 return;44 }43 return; 44 } 45 45 46 // Verify nonce for security.47 check_ajax_referer( 'dismiss_notice_nonce', 'nonce' );48 wp_send_json_success( array( 'message' => 'Notice dismissed.', 'data' => update_option('_wpadminify_plugin_update_info_notice', "dismissed" ) ) );46 // Verify nonce for security. 47 check_ajax_referer( 'dismiss_notice_nonce', 'nonce' ); 48 wp_send_json_success( array( 'message' => 'Notice dismissed.', 'data' => update_option('_wpadminify_plugin_update_info_notice', "dismissed" ) ) ); 49 49 } 50 50 … … 67 67 68 68 '<h3 class="adminify-update-head">' . WP_ADMINIFY . ' <span><small><em>v' . esc_html(WP_ADMINIFY_VER) . '</em></small>' . __(' has some updates..', 'adminify') . '</span></h3><br>', // %3$s 69 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> <strong> Added:</strong> Patchstack Vulnerability FAQ added. </span><br>', 'adminify')69 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> <strong>Fixed:</strong> Admin pages notice hidden issue fixed. </span><br>', 'adminify') 70 70 ); 71 71 printf(wp_kses_post($jltwp_adminify_changelog_message)); -
adminify/trunk/adminify.php
r3434268 r3434869 6 6 * Plugin URI: https://wpadminify.com 7 7 * Author: Jewel Theme 8 * Version: 4.0.7. 18 * Version: 4.0.7.2 9 9 * Author URI: https://wpadminify.com 10 10 * License: GPLv3 or later -
adminify/trunk/changelog.txt
r3434268 r3434869 1 1 == Changelog == 2 = 4.0.7.2 (08-01-2026) = 3 * Fixed: Admin pages notice hidden issue fixed. 4 2 5 = 4.0.7.1 (07-01-2026) = 3 6 * Added: Patchstack Vulnerability FAQ added. -
adminify/trunk/readme.txt
r3434268 r3434869 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 4.0.7. 17 Stable tag: 4.0.7.2 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 150 150 151 151 == Changelog == 152 = 4.0.7.2 (08-01-2026) = 153 * Fixed: Admin pages notice hidden issue fixed. 154 152 155 = 4.0.7.1 (07-01-2026) = 153 156 * Added: Patchstack Vulnerability FAQ added.
Note: See TracChangeset
for help on using the changeset viewer.