Plugin Directory

Changeset 2681970


Ignore:
Timestamp:
02/20/2022 11:20:13 AM (4 years ago)
Author:
roumi
Message:

Release 2.1

Location:
wp-admin-notification-center
Files:
1 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-admin-notification-center/tags/2.1/assets/js/notice.js

    r2513197 r2681970  
    1818
    1919        //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');
    2121
    2222        //We get the notification button
     
    5555    },
    5656    moveNotifications: function () {
     57        document.getElementById('wanc_pre_notice_style-css').remove();
    5758        //If there is no notification to display => out
    5859        if (this.adminNotifications.length < 1) return true;
  • wp-admin-notification-center/tags/2.1/index.php

    r2513197 r2681970  
    66Author URI: https://github.com/roumilb
    77License: GPLv3
    8 Version: 2.0
     8Version: 2.1
    99Text Domain: wanc
    1010Domain Path: /languages
  • wp-admin-notification-center/tags/2.1/readme.txt

    r2513197 r2681970  
    55Tested up to: 5.7
    66Requires PHP: 7.0
    7 Stable tag: 2.0
     7Stable tag: 2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wp-admin-notification-center/tags/2.1/src/wanc_NotificationCenter.php

    r2513197 r2681970  
    4848        }
    4949        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()));
    5051    }
    5152}
  • wp-admin-notification-center/trunk/assets/js/notice.js

    r2513197 r2681970  
    1818
    1919        //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');
    2121
    2222        //We get the notification button
     
    5555    },
    5656    moveNotifications: function () {
     57        document.getElementById('wanc_pre_notice_style-css').remove();
    5758        //If there is no notification to display => out
    5859        if (this.adminNotifications.length < 1) return true;
  • wp-admin-notification-center/trunk/index.php

    r2513197 r2681970  
    66Author URI: https://github.com/roumilb
    77License: GPLv3
    8 Version: 2.0
     8Version: 2.1
    99Text Domain: wanc
    1010Domain Path: /languages
  • wp-admin-notification-center/trunk/readme.txt

    r2513197 r2681970  
    55Tested up to: 5.7
    66Requires PHP: 7.0
    7 Stable tag: 2.0
     7Stable tag: 2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wp-admin-notification-center/trunk/src/wanc_NotificationCenter.php

    r2513197 r2681970  
    4848        }
    4949        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()));
    5051    }
    5152}
Note: See TracChangeset for help on using the changeset viewer.