Changeset 3105595
- Timestamp:
- 06/21/2024 10:13:02 AM (21 months ago)
- Location:
- wp-admin-notification-center
- Files:
-
- 4 edited
- 21 copied
-
tags/3.2.0 (copied) (copied from wp-admin-notification-center/trunk)
-
tags/3.2.0/assets/css/global.css (copied) (copied from wp-admin-notification-center/trunk/assets/css/global.css)
-
tags/3.2.0/assets/css/notification_center.css (copied) (copied from wp-admin-notification-center/trunk/assets/css/notification_center.css)
-
tags/3.2.0/assets/images (copied) (copied from wp-admin-notification-center/trunk/assets/images)
-
tags/3.2.0/assets/js/notice.js (copied) (copied from wp-admin-notification-center/trunk/assets/js/notice.js)
-
tags/3.2.0/assets/js/notice_not_allowed.js (copied) (copied from wp-admin-notification-center/trunk/assets/js/notice_not_allowed.js)
-
tags/3.2.0/index.php (copied) (copied from wp-admin-notification-center/trunk/index.php) (1 diff)
-
tags/3.2.0/lib/Database.php (copied) (copied from wp-admin-notification-center/trunk/lib/Database.php)
-
tags/3.2.0/lib/Debug.php (copied) (copied from wp-admin-notification-center/trunk/lib/Debug.php)
-
tags/3.2.0/lib/Repository.php (copied) (copied from wp-admin-notification-center/trunk/lib/Repository.php)
-
tags/3.2.0/readme.txt (copied) (copied from wp-admin-notification-center/trunk/readme.txt) (1 diff)
-
tags/3.2.0/src/Controllers/Notices.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/Notices.php)
-
tags/3.2.0/src/Controllers/NotificationCenter.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/NotificationCenter.php)
-
tags/3.2.0/src/Controllers/Settings.php (copied) (copied from wp-admin-notification-center/trunk/src/Controllers/Settings.php)
-
tags/3.2.0/src/Entities (copied) (copied from wp-admin-notification-center/trunk/src/Entities)
-
tags/3.2.0/src/Init.php (copied) (copied from wp-admin-notification-center/trunk/src/Init.php) (1 diff)
-
tags/3.2.0/src/Repositories (copied) (copied from wp-admin-notification-center/trunk/src/Repositories)
-
tags/3.2.0/src/Services/NoticeListingService.php (copied) (copied from wp-admin-notification-center/trunk/src/Services/NoticeListingService.php)
-
tags/3.2.0/src/Services/UpdateService.php (copied) (copied from wp-admin-notification-center/trunk/src/Services/UpdateService.php) (2 diffs)
-
tags/3.2.0/src/Views/notice (copied) (copied from wp-admin-notification-center/trunk/src/Views/notice)
-
tags/3.2.0/src/Views/settings.php (copied) (copied from wp-admin-notification-center/trunk/src/Views/settings.php)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/Init.php (modified) (1 diff)
-
trunk/src/Services/UpdateService.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-notification-center/tags/3.2.0/index.php
r3036574 r3105595 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 3. 1.08 Version: 3.2.0 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/tags/3.2.0/readme.txt
r3036574 r3105595 3 3 Tags: notification, notice, notices, notifications, admin 4 4 Requires at least: 5.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 3. 1.07 Stable tag: 3.2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-admin-notification-center/tags/3.2.0/src/Init.php
r2994668 r3105595 16 16 { 17 17 if (is_admin()) { 18 (new UpdateService())->install(); 18 19 (new UpdateService())->update(); 19 20 } -
wp-admin-notification-center/tags/3.2.0/src/Services/UpdateService.php
r2994668 r3105595 6 6 use WANC\Debug; 7 7 use WANC\Repositories\NoticeRepository; 8 use WANC\Database; 8 9 9 10 class UpdateService … … 30 31 $wancSettings->updateOption('wanc_version', $currentVersion); 31 32 } 33 34 public function install() { 35 $tableWanc = Database::getVar('SHOW TABLES LIKE "%wanc%"'); 36 37 if(!empty($tableWanc)) { 38 return; 39 } 40 41 $noticeRepository = new NoticeRepository(); 42 $noticeRepository->createDatabaseTable(); 43 } 32 44 } -
wp-admin-notification-center/trunk/index.php
r3036574 r3105595 6 6 Author URI: https://github.com/roumilb 7 7 License: GPLv3 8 Version: 3. 1.08 Version: 3.2.0 9 9 Text Domain: wanc 10 10 Domain Path: /languages -
wp-admin-notification-center/trunk/readme.txt
r3036574 r3105595 3 3 Tags: notification, notice, notices, notifications, admin 4 4 Requires at least: 5.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 3. 1.07 Stable tag: 3.2.0 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/Init.php
r2994668 r3105595 16 16 { 17 17 if (is_admin()) { 18 (new UpdateService())->install(); 18 19 (new UpdateService())->update(); 19 20 } -
wp-admin-notification-center/trunk/src/Services/UpdateService.php
r2994668 r3105595 6 6 use WANC\Debug; 7 7 use WANC\Repositories\NoticeRepository; 8 use WANC\Database; 8 9 9 10 class UpdateService … … 30 31 $wancSettings->updateOption('wanc_version', $currentVersion); 31 32 } 33 34 public function install() { 35 $tableWanc = Database::getVar('SHOW TABLES LIKE "%wanc%"'); 36 37 if(!empty($tableWanc)) { 38 return; 39 } 40 41 $noticeRepository = new NoticeRepository(); 42 $noticeRepository->createDatabaseTable(); 43 } 32 44 }
Note: See TracChangeset
for help on using the changeset viewer.