Skip to content

Commit 40a4de6

Browse files
committed
👌 IMPROVE: Remove helper call for timeouts
1 parent f3761f1 commit 40a4de6

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

‎functions/helpers.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,10 @@ function codeable_ssl_warning() {
119119
}
120120

121121
/**
122+
* @return bool
123+
* @deprecated
122124
* Check if an PHP Timout warning should be displayed.
123125
*
124-
* @return bool
125126
*/
126127
function codeable_timeout_warning() {
127128
$timeout = ini_get( 'max_execution_time' );
@@ -173,14 +174,6 @@ function codeable_admin_notices() {
173174
</div>
174175
<?php
175176
endif;
176-
177-
if ( codeable_timeout_warning() ) :
178-
?>
179-
<div class="update-nag notice">
180-
<p><?php _e( 'Be sure that you set PHP timeout to 120 or more on your first fetch or if you have deleted the cached data', 'wpcable' ); ?></p>
181-
</div>
182-
<?php
183-
endif;
184177
}
185178

186179
/**
@@ -193,7 +186,7 @@ function codeable_page_requires_login( $page_title ) {
193186

194187
?>
195188
<div class="wrap">
196-
<h1><?php echo $pag_titlee; ?></h1>
189+
<h1><?php echo $page_title; ?></h1>
197190

198191
<div class="notice error">
199192
<p>

0 commit comments

Comments
 (0)