Changeset 3105667
- Timestamp:
- 06/21/2024 12:51:49 PM (20 months ago)
- Location:
- wp-admin-notification-center
- Files:
-
- 4 edited
- 21 copied
-
tags/3.2.1 (copied) (copied from wp-admin-notification-center/trunk)
-
tags/3.2.1/assets/css/global.css (copied) (copied from wp-admin-notification-center/trunk/assets/css/global.css)
-
tags/3.2.1/assets/css/notification_center.css (copied) (copied from wp-admin-notification-center/trunk/assets/css/notification_center.css)
-
tags/3.2.1/assets/images (copied) (copied from wp-admin-notification-center/trunk/assets/images)
-
tags/3.2.1/assets/js/notice.js (copied) (copied from wp-admin-notification-center/trunk/assets/js/notice.js) (2 diffs)
-
tags/3.2.1/assets/js/notice_not_allowed.js (copied) (copied from wp-admin-notification-center/trunk/assets/js/notice_not_allowed.js)
-
tags/3.2.1/index.php (copied) (copied from wp-admin-notification-center/trunk/index.php) (1 diff)
-
tags/3.2.1/lib/Database.php (copied) (copied from wp-admin-notification-center/trunk/lib/Database.php)
-
tags/3.2.1/lib/Debug.php (copied) (copied from wp-admin-notification-center/trunk/lib/Debug.php)
-
tags/3.2.1/lib/Repository.php (copied) (copied from wp-admin-notification-center/trunk/lib/Repository.php)
-
tags/3.2.1/readme.txt (copied) (copied from wp-admin-notification-center/trunk/readme.txt) (2 diffs)
-
tags/3.2.1/src/Controllers/Notices.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/Notices.php)
-
tags/3.2.1/src/Controllers/NotificationCenter.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/NotificationCenter.php)
-
tags/3.2.1/src/Controllers/Settings.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/Settings.php)
-
tags/3.2.1/src/Entities (copied) (copied from wp-admin-notification-center/trunk/src/Entities)
-
tags/3.2.1/src/Init.php (copied) (copied from wp-admin-notification-center/trunk/src/Init.php) (1 diff)
-
tags/3.2.1/src/Repositories (copied) (copied from wp-admin-notification-center/trunk/src/Repositories)
-
tags/3.2.1/src/Services/NoticeListingService.php (copied) (copied from wp-admin-notification-center/trunk/src/Services/NoticeListingService.php)
-
tags/3.2.1/src/Services/UpdateService.php (copied) (copied from wp-admin-notification-center/trunk/src/Services/UpdateService.php)
-
tags/3.2.1/src/Views/notice (copied) (copied from wp-admin-notification-center/trunk/src/Views/notice)
-
tags/3.2.1/src/Views/settings.php (copied) (copied from wp-admin-notification-center/trunk/src/Views/settings.php)
-
trunk/assets/js/notice.js (modified) (2 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Init.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-notification-center/tags/3.2.1/assets/js/notice.js
r3105595 r3105667 43 43 setTimeout(() => { 44 44 this.moveNotifications(); 45 this.saveNotices();46 45 }, 500); 47 46 }, … … 157 156 } 158 157 }, 159 saveNotices: function () {160 const formData = new FormData();161 162 formData.set('action', 'save_notices');163 this.notificationsDisplayed.forEach((notice, index) => {164 formData.set(`notices[${index}]`, JSON.stringify(notice.outerHTML));165 });166 167 fetch(ajaxurl, {method: 'POST', body: formData}).then(response => {168 return response.text();169 });170 }171 158 }; 172 159 -
wp-admin-notification-center/tags/3.2.1/index.php
r3105595 r3105667 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 3.2. 08 Version: 3.2.1 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/tags/3.2.1/readme.txt
r3105595 r3105667 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 3.2. 07 Stable tag: 3.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 3. 1.0 =37 = 3.2.0 = 38 38 * Fix notification number showing 0 39 39 -
wp-admin-notification-center/tags/3.2.1/src/Init.php
r3105595 r3105667 15 15 public function __construct() 16 16 { 17 if (is_admin()) {18 (new UpdateService())->install();19 (new UpdateService())->update();20 }21 22 17 add_action('admin_menu', [$this, 'registerWancOptionsPage']); 23 18 add_action('admin_enqueue_scripts', [$this, 'addScript']); -
wp-admin-notification-center/trunk/assets/js/notice.js
r3105595 r3105667 43 43 setTimeout(() => { 44 44 this.moveNotifications(); 45 this.saveNotices();46 45 }, 500); 47 46 }, … … 157 156 } 158 157 }, 159 saveNotices: function () {160 const formData = new FormData();161 162 formData.set('action', 'save_notices');163 this.notificationsDisplayed.forEach((notice, index) => {164 formData.set(`notices[${index}]`, JSON.stringify(notice.outerHTML));165 });166 167 fetch(ajaxurl, {method: 'POST', body: formData}).then(response => {168 return response.text();169 });170 }171 158 }; 172 159 -
wp-admin-notification-center/trunk/index.php
r3105595 r3105667 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 3.2. 08 Version: 3.2.1 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/trunk/readme.txt
r3105595 r3105667 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 3.2. 07 Stable tag: 3.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 3. 1.0 =37 = 3.2.0 = 38 38 * Fix notification number showing 0 39 39 -
wp-admin-notification-center/trunk/src/Init.php
r3105595 r3105667 15 15 public function __construct() 16 16 { 17 if (is_admin()) {18 (new UpdateService())->install();19 (new UpdateService())->update();20 }21 22 17 add_action('admin_menu', [$this, 'registerWancOptionsPage']); 23 18 add_action('admin_enqueue_scripts', [$this, 'addScript']);
Note: See TracChangeset
for help on using the changeset viewer.