Skip to content

Commit 191be35

Browse files
committed
Updated since version from comments in Astra Notices
1 parent 242456a commit 191be35

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

lib/notices/class-astra-notices.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* It close the notice for 30 days.
1313
*
1414
* @package Astra Sites
15-
* @since 1.2.2
15+
* @since 1.0.17
1616
*/
1717

1818
if ( ! defined( 'ABSPATH' ) ) {
@@ -24,7 +24,7 @@
2424
/**
2525
* Astra_Notices
2626
*
27-
* @since 1.2.2
27+
* @since 1.0.17
2828
*/
2929
class Astra_Notices {
3030

@@ -33,7 +33,7 @@ class Astra_Notices {
3333
*
3434
* @access private
3535
* @var array Notices.
36-
* @since 1.2.2
36+
* @since 1.0.17
3737
*/
3838
private static $version = '1.1.5';
3939

@@ -42,7 +42,7 @@ class Astra_Notices {
4242
*
4343
* @access private
4444
* @var array Notices.
45-
* @since 1.2.2
45+
* @since 1.0.17
4646
*/
4747
private static $notices = array();
4848

@@ -51,14 +51,14 @@ class Astra_Notices {
5151
*
5252
* @access private
5353
* @var object Class object.
54-
* @since 1.2.2
54+
* @since 1.0.17
5555
*/
5656
private static $instance;
5757

5858
/**
5959
* Initiator
6060
*
61-
* @since 1.2.2
61+
* @since 1.0.17
6262
* @return object initialized object of class.
6363
*/
6464
public static function get_instance() {
@@ -71,7 +71,7 @@ public static function get_instance() {
7171
/**
7272
* Constructor
7373
*
74-
* @since 1.2.2
74+
* @since 1.0.17
7575
*/
7676
public function __construct() {
7777
add_action( 'admin_notices', array( $this, 'show_notices' ), 30 );
@@ -85,7 +85,7 @@ public function __construct() {
8585
*
8686
* @param Array $allowedposttags Array of allowed tags.
8787
* @param String $context Context type (explicit).
88-
* @since 1.2.2
88+
* @since 1.0.17
8989
* @return Array
9090
*/
9191
public function add_data_attributes( $allowedposttags, $context ) {
@@ -97,7 +97,7 @@ public function add_data_attributes( $allowedposttags, $context ) {
9797
/**
9898
* Add Notice.
9999
*
100-
* @since 1.2.2
100+
* @since 1.0.17
101101
* @param array $args Notice arguments.
102102
* @return void
103103
*/
@@ -108,7 +108,7 @@ public static function add_notice( $args = array() ) {
108108
/**
109109
* Dismiss Notice.
110110
*
111-
* @since 1.2.2
111+
* @since 1.0.17
112112
* @return void
113113
*/
114114
public function dismiss_notice() {
@@ -143,7 +143,7 @@ public function dismiss_notice() {
143143
/**
144144
* Enqueue Scripts.
145145
*
146-
* @since 1.2.2
146+
* @since 1.0.17
147147
* @return void
148148
*/
149149
public function enqueue_scripts() {
@@ -179,7 +179,7 @@ public function sort_notices( $array1, $array2 ) {
179179
/**
180180
* Notice Types
181181
*
182-
* @since 1.2.2
182+
* @since 1.0.17
183183
* @return void
184184
*/
185185
public function show_notices() {
@@ -232,7 +232,7 @@ public function show_notices() {
232232
/**
233233
* Markup Notice.
234234
*
235-
* @since 1.2.2
235+
* @since 1.0.17
236236
* @param array $notice Notice markup.
237237
* @return void
238238
*/
@@ -262,7 +262,7 @@ public static function markup( $notice = array() ) {
262262
/**
263263
* Notice classes.
264264
*
265-
* @since 1.2.2
265+
* @since 1.0.17
266266
*
267267
* @param array $notice Notice arguments.
268268
* @return array Notice wrapper classes.
@@ -285,7 +285,7 @@ private static function get_wrap_classes( $notice ) {
285285
/**
286286
* Get Notice ID.
287287
*
288-
* @since 1.2.2
288+
* @since 1.0.17
289289
*
290290
* @param array $notice Notice arguments.
291291
* @param int $key Notice array index.
@@ -302,7 +302,7 @@ private static function get_notice_id( $notice, $key ) {
302302
/**
303303
* Is notice expired?
304304
*
305-
* @since 1.2.2
305+
* @since 1.0.17
306306
*
307307
* @param array $notice Notice arguments.
308308
* @return boolean

lib/notices/notices.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
/**
1010
* Helper class for the main Customizer interface.
1111
*
12-
* @since 1.2.2
12+
* @since 1.0.17
1313
* @class ASTCustomizer
1414
*/
1515
AstraNotices = {
1616

1717
/**
1818
* Initializes our custom logic for the Customizer.
1919
*
20-
* @since 1.2.2
20+
* @since 1.0.17
2121
* @method init
2222
*/
2323
init: function()
@@ -28,7 +28,7 @@
2828
/**
2929
* Binds events for the Astra Portfolio.
3030
*
31-
* @since 1.2.2
31+
* @since 1.0.17
3232
* @access private
3333
* @method _bind
3434
*/

0 commit comments

Comments
 (0)