Plugin Directory

Changeset 3397312


Ignore:
Timestamp:
11/17/2025 02:39:06 PM (7 days ago)
Author:
sethta
Message:

Update to version 1.3.1

Location:
no-page-comment
Files:
38 added
5 edited

Legend:

Unmodified
Added
Removed
  • no-page-comment/trunk/inc/class-notification.php

    r3392279 r3397312  
    8080        }
    8181
    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 ) {
    8484            return;
    8585        }
     
    102102        }
    103103
    104         wp_enqueue_script( 'sta-npc-notice' );
     104        wp_enqueue_script( 'sta-npc' );
    105105        $install_url = admin_url( 'plugin-install.php?s=criticalcss&tab=search&type=author' );
    106106        $button_text = __( 'View', 'no-page-comment' );
  • no-page-comment/trunk/inc/class-plugin.php

    r3392279 r3397312  
    3838    public function ensure_version_consistency() {
    3939        $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        }
    4044
    4145        if ( $stored_plugin_version !== self::$plugin_version ) {
  • no-page-comment/trunk/lang/no-page-comment.pot

    r3392279 r3397312  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: No Page Comment 1.3.0\n"
     5"Project-Id-Version: No Page Comment 1.3.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/no-page-comment\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • no-page-comment/trunk/no-page-comment.php

    r3392279 r3397312  
    33 * Plugin Name:       No Page Comment
    44 * Description:       An admin interface to control the default comment and trackback settings on new posts, pages and custom post types.
    5  * Version:           1.3.0
     5 * Version:           1.3.1
    66 * Requires at least: 6.2
    77 * Tested up to:      6.8.2
  • no-page-comment/trunk/readme.txt

    r3392279 r3397312  
    7777== Changelog ==
    7878
     79= 1.3.1 =
     80* FIX: Fix bug where notificaiton dismiss button wasn't working.
     81
    7982= 1.3.0 =
    8083* OPTIMIZATION: Convert to class-based architecture and move code into namespaced classes.
     
    138141== Upgrade Notice ==
    139142
     143= 1.3.1 =
     144This update contains a bug fix.
     145
    140146= 1.3.0 =
    141147Refactor 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.