Skip to content

Commit 4f804be

Browse files
authored
Fix PHP 7.2 errors (#1097)
1 parent 4960c7b commit 4f804be

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Cdn_ConfigLabels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function config_labels( $config_labels ) {
6161
'w3-total-cache'
6262
),
6363
'<acronym title="' . __( 'Content Delivery Network', 'w3-total-cache' ) . '">' . __( 'CDN', 'w3-total-cache' ) . '</acronym>',
64-
'<acronym title="' . __( 'Secure Sockets Layer', 'w3-total-cache' ) . '">' . __( 'SSL', 'w3-total-cache' ) . '</acronym>',
64+
'<acronym title="' . __( 'Secure Sockets Layer', 'w3-total-cache' ) . '">' . __( 'SSL', 'w3-total-cache' ) . '</acronym>'
6565
),
6666
array(
6767
'acronym' => array(

Extension_CloudFlare_Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function w3tc_flush_execute_delayed_operations( $actions_made ) {
149149
'key' => $c->get_string( array( 'cloudflare', 'key' ) ),
150150
'zone_id' => $c->get_string( array( 'cloudflare', 'zone_id' ) ),
151151
'timelimit_api_request' => $c->get_integer(
152-
array( 'cloudflare', 'timelimit.api_request' ),
152+
array( 'cloudflare', 'timelimit.api_request' )
153153
),
154154
)
155155
);
@@ -200,7 +200,7 @@ public function set_comment_status( $id, $status ) {
200200
'key' => $c->get_string( array( 'cloudflare', 'key' ) ),
201201
'zone_id' => $c->get_string( array( 'cloudflare', 'zone_id' ) ),
202202
'timelimit_api_request' => $c->get_integer(
203-
array( 'cloudflare', 'timelimit.api_request' ),
203+
array( 'cloudflare', 'timelimit.api_request' )
204204
),
205205
)
206206
);

Extension_CloudFlare_SettingsForUi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static function api() {
2424
'key' => $c->get_string( array( 'cloudflare', 'key' ) ),
2525
'zone_id' => $c->get_string( array( 'cloudflare', 'zone_id' ) ),
2626
'timelimit_api_request' => $c->get_integer(
27-
array( 'cloudflare', 'timelimit.api_request' ),
27+
array( 'cloudflare', 'timelimit.api_request' )
2828
),
2929
)
3030
);

Extension_FragmentCache_Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function cron_schedules( $schedules ) {
177177
'interval' => $gc_interval,
178178
'display' => sprintf( '[W3TC] Fragment Cache file GC (every %d seconds)', $gc_interval ),
179179
),
180-
),
180+
)
181181
);
182182
}
183183

Generic_Plugin_AdminNotices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private function get_custom_notices(): array {
418418
__( 'settings', 'w3-total-cache' ) . '</a>',
419419
'<a target="_blank" href="' . \esc_url( 'https://www.boldgrid.com/object-caching-changes-in-2-8-6/', null, 'link' ) .
420420
'" title="' . \esc_attr__( 'Disabling Object Cache using Disk', 'w3-total-cache' ) . '">' .
421-
\esc_html__( 'Learn more', 'w3-total-cache' ) . ' <span class="dashicons dashicons-external"></span></a>',
421+
\esc_html__( 'Learn more', 'w3-total-cache' ) . ' <span class="dashicons dashicons-external"></span></a>'
422422
) . '</p></div>',
423423
'is_global' => true,
424424
);

0 commit comments

Comments
 (0)