We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85880fd commit b0d5e5fCopy full SHA for b0d5e5f
wpengine-phpcompat.php
@@ -212,8 +212,13 @@ function create_menu() {
212
* @return null
213
*/
214
function settings_page() {
215
+ // Discovers last options used.
216
$test_version = get_option( 'wpephpcompat.test_version' );
217
$only_active = get_option( 'wpephpcompat.only_active' );
218
+
219
+ // Assigns defaults for the scan if none are found in the database.
220
+ $test_version = ( false !== $test_version ) ? $test_version : '7.0';
221
+ $only_active = ( false !== $only_active ) ? $only_active : 'yes';
222
?>
223
<div class="wrap">
224
<div style="float: left;">
0 commit comments