Bug – twentythirteen never used due to typo
-
There’s a typo in
loader/safe-mode-loader.php
, lines 47 & 48:if(array_key_exists('twentytthirteen', $themes)) return 'twentytthirteen';
This should be:
if(array_key_exists('twentythirteen', $themes)) return 'twentythirteen';
Also, as I like to recommend this plugin in the WordPress forums, it would nice if you could fix the warnings that displayed when WordPress is in DEBUG mode. Specifically, line 38 in
loader/safe-mode-loader.php
:if(defined(WP_DEFAULT_THEME))
should be
if(defined('WP_DEFAULT_THEME'))
And the if statement on line 22, change:
if($_GET['safe_mode'] == '1')
to
if(isset($_GET['safe_mode']) && $_GET['safe_mode'] == '1')
Thank you – this would make this awesome plugin even more awesome!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug – twentythirteen never used due to typo’ is closed to new replies.