Changeset 2681970
- Timestamp:
- 02/20/2022 11:20:13 AM (4 years ago)
- Location:
- wp-admin-notification-center
- Files:
-
- 1 added
- 8 edited
- 1 copied
-
tags/2.1 (copied) (copied from wp-admin-notification-center/trunk)
-
tags/2.1/assets/js/notice.js (modified) (2 diffs)
-
tags/2.1/index.php (modified) (1 diff)
-
tags/2.1/readme.txt (modified) (1 diff)
-
tags/2.1/src/wanc_NotificationCenter.php (modified) (1 diff)
-
trunk/assets/css/pre_notification_center.css (added)
-
trunk/assets/js/notice.js (modified) (2 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/wanc_NotificationCenter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-notification-center/tags/2.1/assets/js/notice.js
r2513197 r2681970 18 18 19 19 //We get all the notifications to display in the modal 20 this.preAdminNotifications = document.querySelectorAll('.notice, #message ');20 this.preAdminNotifications = document.querySelectorAll('.notice, #message, .fs-notice'); 21 21 22 22 //We get the notification button … … 55 55 }, 56 56 moveNotifications: function () { 57 document.getElementById('wanc_pre_notice_style-css').remove(); 57 58 //If there is no notification to display => out 58 59 if (this.adminNotifications.length < 1) return true; -
wp-admin-notification-center/tags/2.1/index.php
r2513197 r2681970 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 2. 08 Version: 2.1 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/tags/2.1/readme.txt
r2513197 r2681970 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.0 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-admin-notification-center/tags/2.1/src/wanc_NotificationCenter.php
r2513197 r2681970 48 48 } 49 49 wp_enqueue_style('wanc_notice_style', plugins_url('wp-admin-notification-center/assets/css/notification_center.css?time='.time())); 50 wp_enqueue_style('wanc_pre_notice_style', plugins_url('wp-admin-notification-center/assets/css/pre_notification_center.css?time='.time())); 50 51 } 51 52 } -
wp-admin-notification-center/trunk/assets/js/notice.js
r2513197 r2681970 18 18 19 19 //We get all the notifications to display in the modal 20 this.preAdminNotifications = document.querySelectorAll('.notice, #message ');20 this.preAdminNotifications = document.querySelectorAll('.notice, #message, .fs-notice'); 21 21 22 22 //We get the notification button … … 55 55 }, 56 56 moveNotifications: function () { 57 document.getElementById('wanc_pre_notice_style-css').remove(); 57 58 //If there is no notification to display => out 58 59 if (this.adminNotifications.length < 1) return true; -
wp-admin-notification-center/trunk/index.php
r2513197 r2681970 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 2. 08 Version: 2.1 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/trunk/readme.txt
r2513197 r2681970 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.0 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-admin-notification-center/trunk/src/wanc_NotificationCenter.php
r2513197 r2681970 48 48 } 49 49 wp_enqueue_style('wanc_notice_style', plugins_url('wp-admin-notification-center/assets/css/notification_center.css?time='.time())); 50 wp_enqueue_style('wanc_pre_notice_style', plugins_url('wp-admin-notification-center/assets/css/pre_notification_center.css?time='.time())); 50 51 } 51 52 }
Note: See TracChangeset
for help on using the changeset viewer.