File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1515 *
1616 * @var string
1717 */
18- $ this_sdk_version = '2.13.0.1 ' ;
18+ $ this_sdk_version = '2.13.0.2 ' ;
1919
2020 #region SDK Selection Logic --------------------------------------------------------------------
2121
Original file line number Diff line number Diff line change @@ -257,6 +257,10 @@ function stopCountdownManually() {
257257 'key ' => 'WP_FS__DIR ' ,
258258 'val ' => WP_FS__DIR ,
259259 ),
260+ array (
261+ 'key ' => 'DISABLE_WP_CRON ' ,
262+ 'val ' => defined ( 'DISABLE_WP_CRON ' ) ? ( DISABLE_WP_CRON ? 'true ' : 'false ' ) : 'Not defined ' ,
263+ ),
260264 array (
261265 'key ' => 'wp_using_ext_object_cache() ' ,
262266 'val ' => wp_using_ext_object_cache () ? 'true ' : 'false ' ,
@@ -282,7 +286,11 @@ function stopCountdownManually() {
282286 echo ' class="alternate" ' ;
283287 } ?> >
284288 <td><?php echo $ p ['key ' ] ?> </td>
285- <td><?php echo $ p ['val ' ] ?> </td>
289+ <td><?php echo $ p ['val ' ] ?> <?php
290+ if ( 'DISABLE_WP_CRON ' === $ p ['key ' ] && 'true ' === $ p ['val ' ] ) {
291+ echo '<p><small><strong>Freemius SDK’s sync cron jobs will not run unless an alternative server-side cron is set up.</strong></small></p> ' ;
292+ }
293+ ?> </td>
286294 </tr>
287295 <?php $ alternate = ! $ alternate ?>
288296 <?php endforeach ?>
You can’t perform that action at this time.
0 commit comments