Skip to content

Commit 510022b

Browse files
committed
Fix @since comments
1 parent 76f5a61 commit 510022b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+185
-192
lines changed

CdnEngine_Mirror_BunnyCdn.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* File: CdnEngine_Mirror_BunnyCdn.php
44
*
5-
* @since X.X.X
5+
* @since 2.6.0
66
* @package W3TC
77
*/
88

@@ -11,7 +11,7 @@
1111
/**
1212
* Class: CdnEngine_Mirror_BunnyCdn
1313
*
14-
* @since X.X.X
14+
* @since 2.6.0
1515
*
1616
* @extends CdnEngine_Mirror
1717
*/
@@ -47,7 +47,7 @@ public function __construct( array $config = array() ) {
4747
/**
4848
* Purge remote files.
4949
*
50-
* @since X.X.X
50+
* @since 2.6.0
5151
*
5252
* @param array $files Local and remote file paths.
5353
* @param array $results Results.
@@ -95,7 +95,7 @@ public function purge( $files, &$results ) {
9595
/**
9696
* Purge CDN completely.
9797
*
98-
* @since X.X.X
98+
* @since 2.6.0
9999
*
100100
* @param array $results Results.
101101
* @return bool
@@ -148,7 +148,7 @@ public function purge_all( &$results ) {
148148
*
149149
* If set to "auto", then add URLs for both "http" and "https".
150150
*
151-
* @since X.X.X
151+
* @since 2.6.0
152152
*
153153
* @return array
154154
*/

Cdn_AdminActions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ function w3tc_cdn_create_container() {
503503
/**
504504
* Redirect to the Bunny CDN signup page.
505505
*
506-
* @since X.X.X
506+
* @since 2.6.0
507507
*
508508
* @return void
509509
*/

Cdn_BunnyCdn_Api.php

+25-25
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* File: Cdn_BunnyCdn_Api.php
44
*
5-
* @since X.X.X
5+
* @since 2.6.0
66
* @package W3TC
77
*/
88

@@ -11,13 +11,13 @@
1111
/**
1212
* Class: Cdn_BunnyCdn_Api
1313
*
14-
* @since X.X.X
14+
* @since 2.6.0
1515
*/
1616
class Cdn_BunnyCdn_Api {
1717
/**
1818
* Account API Key.
1919
*
20-
* @since X.X.X
20+
* @since 2.6.0
2121
* @access private
2222
*
2323
* @var string
@@ -27,7 +27,7 @@ class Cdn_BunnyCdn_Api {
2727
/**
2828
* Storage API Key.
2929
*
30-
* @since X.X.X
30+
* @since 2.6.0
3131
* @access private
3232
*
3333
* @var string
@@ -37,7 +37,7 @@ class Cdn_BunnyCdn_Api {
3737
/**
3838
* Stream API Key.
3939
*
40-
* @since X.X.X
40+
* @since 2.6.0
4141
* @access private
4242
*
4343
* @var string
@@ -49,7 +49,7 @@ class Cdn_BunnyCdn_Api {
4949
*
5050
* One of: "account", "storage", "stream".
5151
*
52-
* @since X.X.X
52+
* @since 2.6.0
5353
* @access private
5454
*
5555
* @var string
@@ -59,7 +59,7 @@ class Cdn_BunnyCdn_Api {
5959
/**
6060
* Pull zone id.
6161
*
62-
* @since X.X.X
62+
* @since 2.6.0
6363
* @access private
6464
*
6565
* @var int
@@ -69,7 +69,7 @@ class Cdn_BunnyCdn_Api {
6969
/**
7070
* Default Edge Rules.
7171
*
72-
* @since X.X.X
72+
* @since 2.6.0
7373
* @access private
7474
* @static
7575
*
@@ -148,7 +148,7 @@ class Cdn_BunnyCdn_Api {
148148
/**
149149
* Constructor.
150150
*
151-
* @since X.X.X
151+
* @since 2.6.0
152152
*
153153
* @param array $config Configuration.
154154
*/
@@ -162,7 +162,7 @@ public function __construct( array $config ) {
162162
/**
163163
* Increase http request timeout to 60 seconds.
164164
*
165-
* @since X.X.X
165+
* @since 2.6.0
166166
*
167167
* @param int $time Timeout in seconds.
168168
*/
@@ -173,7 +173,7 @@ public function filter_timeout_time( $time ) {
173173
/**
174174
* Don't check certificate, some users have limited CA list
175175
*
176-
* @since X.X.X
176+
* @since 2.6.0
177177
*
178178
* @param bool $verify Always false.
179179
*/
@@ -184,7 +184,7 @@ public function https_ssl_verify( $verify = false ) {
184184
/**
185185
* List pull zones.
186186
*
187-
* @since X.X.X
187+
* @since 2.6.0
188188
*
189189
* @link https://docs.bunny.net/reference/pullzonepublic_index
190190
*
@@ -199,7 +199,7 @@ public function list_pull_zones() {
199199
/**
200200
* Get pull zone details by pull zone id.
201201
*
202-
* @since X.X.X
202+
* @since 2.6.0
203203
*
204204
* @link https://docs.bunny.net/reference/pullzonepublic_index2
205205
*
@@ -217,7 +217,7 @@ public function get_pull_zone( $id ) {
217217
/**
218218
* Add a pull zone.
219219
*
220-
* @since X.X.X
220+
* @since 2.6.0
221221
*
222222
* @link https://docs.bunny.net/reference/pullzonepublic_add
223223
*
@@ -253,7 +253,7 @@ public function add_pull_zone( array $data ) {
253253
/**
254254
* Update a pull zone.
255255
*
256-
* @since X.X.X
256+
* @since 2.6.0
257257
*
258258
* @link https://docs.bunny.net/reference/pullzonepublic_updatepullzone
259259
*
@@ -279,7 +279,7 @@ public function update_pull_zone( $id, array $data ) {
279279
/**
280280
* Delete a pull zone.
281281
*
282-
* @since X.X.X
282+
* @since 2.6.0
283283
*
284284
* @link https://docs.bunny.net/reference/pullzonepublic_delete
285285
*
@@ -305,7 +305,7 @@ public function delete_pull_zone( $id ) {
305305
/**
306306
* Add a custom hostname to a pull zone.
307307
*
308-
* @since X.X.X
308+
* @since 2.6.0
309309
*
310310
* @link https://docs.bunny.net/reference/pullzonepublic_addhostname
311311
*
@@ -335,7 +335,7 @@ public function add_custom_hostname( $hostname, $pull_zone_id = null ) {
335335
/**
336336
* Get the default edge rules.
337337
*
338-
* @since X.X.X
338+
* @since 2.6.0
339339
* @static
340340
*
341341
* @return array
@@ -347,7 +347,7 @@ public static function get_default_edge_rules() {
347347
/**
348348
* Add/Update Edge Rule.
349349
*
350-
* @since X.X.X
350+
* @since 2.6.0
351351
*
352352
* @param array $data Data.
353353
* @param int $pull_zone_id Optional pull zone ID. Can be specified in the constructor configuration array parameter.
@@ -387,7 +387,7 @@ public function add_edge_rule( array $data, $pull_zone_id = null ) {
387387
/**
388388
* Purge.
389389
*
390-
* @since X.X.X
390+
* @since 2.6.0
391391
*
392392
* @param array $data Data for the POST request.
393393
* @return array
@@ -404,7 +404,7 @@ public function purge( array $data ) {
404404
/**
405405
* Purge an entire pull zone.
406406
*
407-
* @since X.X.X
407+
* @since 2.6.0
408408
*
409409
* @param int $pull_zone_id Optional pull zone ID. Can be specified in the constructor configuration array parameter.
410410
* @return void
@@ -426,7 +426,7 @@ public function purge_pull_zone( $pull_zone_id = null ) {
426426
*
427427
* API type can be passed or the class property will be used.
428428
*
429-
* @since X.X.X
429+
* @since 2.6.0
430430
*
431431
* @param string $type API type: One of "account", "storage", "stream" (optional).
432432
* @return string|null
@@ -451,7 +451,7 @@ private function get_api_key( $type = null ) {
451451
/**
452452
* Decode response from a wp_remote_* call.
453453
*
454-
* @since X.X.X
454+
* @since 2.6.0
455455
*
456456
* @param array|WP_Error $result Result.
457457
* @return array
@@ -479,7 +479,7 @@ private function decode_response( $result ) {
479479
/**
480480
* Remote GET request.
481481
*
482-
* @since X.X.X
482+
* @since 2.6.0
483483
*
484484
* @link https://developer.wordpress.org/reference/functions/wp_remote_get/
485485
* @link https://developer.wordpress.org/reference/classes/wp_http/request/
@@ -513,7 +513,7 @@ private function wp_remote_get( $url, array $data = array() ) {
513513
/**
514514
* Remote POST request.
515515
*
516-
* @since X.X.X
516+
* @since 2.6.0
517517
*
518518
* @link https://developer.wordpress.org/reference/functions/wp_remote_post/
519519
* @link https://developer.wordpress.org/reference/classes/wp_http/request/

Cdn_BunnyCdn_Page.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* File: Cdn_BunnyCdn_Page.php
44
*
5-
* @since X.X.X
5+
* @since 2.6.0
66
* @package W3TC
77
*/
88

@@ -11,13 +11,13 @@
1111
/**
1212
* Class: Cdn_BunnyCdn_Page
1313
*
14-
* @since X.X.X
14+
* @since 2.6.0
1515
*/
1616
class Cdn_BunnyCdn_Page {
1717
/**
1818
* W3TC AJAX.
1919
*
20-
* @since X.X.X
20+
* @since 2.6.0
2121
* @static
2222
*
2323
* @return void
@@ -34,7 +34,7 @@ public static function w3tc_ajax() {
3434
/**
3535
* Determine if CDN or CDNFSD is active.
3636
*
37-
* @since X.X.X
37+
* @since 2.6.0
3838
* @static
3939
*
4040
* @return bool
@@ -60,7 +60,7 @@ public static function is_active() {
6060
/**
6161
* Add Dashboard actions.
6262
*
63-
* @since X.X.X
63+
* @since 2.6.0
6464
* @static
6565
*
6666
* @see self::in_active()
@@ -91,7 +91,7 @@ public static function w3tc_dashboard_actions( array $actions ) {
9191
*
9292
* Called from plugin-admin.
9393
*
94-
* @since X.X.X
94+
* @since 2.6.0
9595
* @static
9696
*
9797
* @return void
@@ -128,7 +128,7 @@ public static function admin_print_scripts_w3tc_cdn() {
128128
/**
129129
* CDN settings.
130130
*
131-
* @since X.X.X
131+
* @since 2.6.0
132132
* @static
133133
*
134134
* @return void
@@ -142,7 +142,7 @@ public static function w3tc_settings_cdn_boxarea_configuration() {
142142
/**
143143
* Display purge URLs page.
144144
*
145-
* @since X.X.X
145+
* @since 2.6.0
146146
* @static
147147
*/
148148
public static function w3tc_purge_urls_box() {
@@ -159,7 +159,7 @@ public static function w3tc_purge_urls_box() {
159159
* You can also purge folders or wildcard files using * inside of the URL path.
160160
* Wildcard values are not supported if using Perma-Cache.
161161
*
162-
* @since X.X.X
162+
* @since 2.6.0
163163
*/
164164
public function w3tc_ajax_cdn_bunnycdn_purge_url() {
165165
$url = Util_Request::get_string( 'url' );
@@ -195,7 +195,7 @@ public function w3tc_ajax_cdn_bunnycdn_purge_url() {
195195
/**
196196
* Flush all caches except Bunny CDN.
197197
*
198-
* @since X.X.X
198+
* @since 2.6.0
199199
*/
200200
public function w3tc_bunnycdn_flush_all_except_bunnycdn() {
201201
Dispatcher::component( 'CacheFlush' )->flush_all( array( 'bunnycdn' => 'skip' ) );

Cdn_BunnyCdn_Page_View.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* File: Cdn_BunnyCdn_Page_View.js
33
*
4-
* @since X.X.X
4+
* @since 2.6.0
55
* @package W3TC
66
*
77
* @global W3TC_Bunnycdn Localization array for info and language.

Cdn_BunnyCdn_Page_View.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Bunny CDN settings page section view.
66
*
7-
* @since X.X.X
7+
* @since 2.6.0
88
* @package W3TC
99
*
1010
* @param array $config W3TC configuration.

Cdn_BunnyCdn_Page_View_Purge_Urls.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Bunny CDN settings purge URLs view.
66
*
7-
* @since X.X.X
7+
* @since 2.6.0
88
* @package W3TC
99
*
1010
* @param array $config W3TC configuration.

0 commit comments

Comments
 (0)