Changeset 3397312
- Timestamp:
- 11/17/2025 02:39:06 PM (7 days ago)
- Location:
- no-page-comment
- Files:
-
- 38 added
- 5 edited
-
tags/1.3.1 (added)
-
tags/1.3.1/LICENSE (added)
-
tags/1.3.1/composer.json (added)
-
tags/1.3.1/inc (added)
-
tags/1.3.1/inc/class-notification.php (added)
-
tags/1.3.1/inc/class-plugin.php (added)
-
tags/1.3.1/inc/class-settings-view.php (added)
-
tags/1.3.1/inc/class-settings.php (added)
-
tags/1.3.1/lang (added)
-
tags/1.3.1/lang/no-page-comment-de_DE.MO (added)
-
tags/1.3.1/lang/no-page-comment-es_ES.mo (added)
-
tags/1.3.1/lang/no-page-comment-fr_FR.mo (added)
-
tags/1.3.1/lang/no-page-comment-fr_FR.po (added)
-
tags/1.3.1/lang/no-page-comment-it_IT.mo (added)
-
tags/1.3.1/lang/no-page-comment-nl_NL.mo (added)
-
tags/1.3.1/lang/no-page-comment-sr_RS.mo (added)
-
tags/1.3.1/lang/no-page-comment-sv_SE.mo (added)
-
tags/1.3.1/lang/no-page-comment-sv_SE.po (added)
-
tags/1.3.1/lang/no-page-comment.pot (added)
-
tags/1.3.1/no-page-comment.css (added)
-
tags/1.3.1/no-page-comment.js (added)
-
tags/1.3.1/no-page-comment.php (added)
-
tags/1.3.1/readme.txt (added)
-
tags/1.3.1/uninstall.php (added)
-
tags/1.3.1/vendor (added)
-
tags/1.3.1/vendor/autoload.php (added)
-
tags/1.3.1/vendor/composer (added)
-
tags/1.3.1/vendor/composer/ClassLoader.php (added)
-
tags/1.3.1/vendor/composer/InstalledVersions.php (added)
-
tags/1.3.1/vendor/composer/LICENSE (added)
-
tags/1.3.1/vendor/composer/autoload_classmap.php (added)
-
tags/1.3.1/vendor/composer/autoload_namespaces.php (added)
-
tags/1.3.1/vendor/composer/autoload_psr4.php (added)
-
tags/1.3.1/vendor/composer/autoload_real.php (added)
-
tags/1.3.1/vendor/composer/autoload_static.php (added)
-
tags/1.3.1/vendor/composer/installed.json (added)
-
tags/1.3.1/vendor/composer/installed.php (added)
-
tags/1.3.1/vendor/composer/platform_check.php (added)
-
trunk/inc/class-notification.php (modified) (2 diffs)
-
trunk/inc/class-plugin.php (modified) (1 diff)
-
trunk/lang/no-page-comment.pot (modified) (1 diff)
-
trunk/no-page-comment.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
no-page-comment/trunk/inc/class-notification.php
r3392279 r3397312 80 80 } 81 81 82 $notif_dismissed _time= get_option( 'sta_npc_ecc_notif', 0 );83 if ( $notif_dismissed _time && time() - (int) $notif_dismissed_time < ( 120 * DAY_IN_SECONDS )) {82 $notif_dismissed = get_option( 'sta_npc_ecc_notif', 0 ); 83 if ( $notif_dismissed ) { 84 84 return; 85 85 } … … 102 102 } 103 103 104 wp_enqueue_script( 'sta-npc -notice' );104 wp_enqueue_script( 'sta-npc' ); 105 105 $install_url = admin_url( 'plugin-install.php?s=criticalcss&tab=search&type=author' ); 106 106 $button_text = __( 'View', 'no-page-comment' ); -
no-page-comment/trunk/inc/class-plugin.php
r3392279 r3397312 38 38 public function ensure_version_consistency() { 39 39 $stored_plugin_version = get_option( 'sta_npc_version' ); 40 41 if ( $stored_plugin_version === '1.3.0' ) { 42 update_option( 'sta_npc_ecc_notif', time() ); 43 } 40 44 41 45 if ( $stored_plugin_version !== self::$plugin_version ) { -
no-page-comment/trunk/lang/no-page-comment.pot
r3392279 r3397312 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: No Page Comment 1.3. 0\n"5 "Project-Id-Version: No Page Comment 1.3.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/no-page-comment\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
no-page-comment/trunk/no-page-comment.php
r3392279 r3397312 3 3 * Plugin Name: No Page Comment 4 4 * Description: An admin interface to control the default comment and trackback settings on new posts, pages and custom post types. 5 * Version: 1.3. 05 * Version: 1.3.1 6 6 * Requires at least: 6.2 7 7 * Tested up to: 6.8.2 -
no-page-comment/trunk/readme.txt
r3392279 r3397312 77 77 == Changelog == 78 78 79 = 1.3.1 = 80 * FIX: Fix bug where notificaiton dismiss button wasn't working. 81 79 82 = 1.3.0 = 80 83 * OPTIMIZATION: Convert to class-based architecture and move code into namespaced classes. … … 138 141 == Upgrade Notice == 139 142 143 = 1.3.1 = 144 This update contains a bug fix. 145 140 146 = 1.3.0 = 141 147 Refactor to class-based architecture, security hardening, code style and standards improvements, and uninstall cleanup. No user-visible settings were removed; existing settings are preserved during upgrade.
Note: See TracChangeset
for help on using the changeset viewer.