diff --git a/changelog.txt b/changelog.txt index 030e93f..8ebe869 100644 --- a/changelog.txt +++ b/changelog.txt @@ -118,3 +118,6 @@ Miscellaneous bug fixes. = 1.4.17 = Back out a miscellaneous bug fix from the previous version. It was an attempt to avoid a warning from Query Monitor's hooks display. + += 1.4.18 = +Security update. \ No newline at end of file diff --git a/code/admin.php b/code/admin.php index bacd2ca..7f2ab8b 100644 --- a/code/admin.php +++ b/code/admin.php @@ -124,7 +124,8 @@ private function getMonitorName() { */ private function insertHelpTab( $monitor, $sHTML ) { $tabSlug = $monitor ? 'monitor' : $this->oProp->getCurrentTabSlug(); - $helpUrl = index_wp_mysql_for_speed_help_site . $tabSlug; + $tabSlug = ctype_alnum ( $tabSlug ) ? $tabSlug : 'about'; + $helpUrl = index_wp_mysql_for_speed_help_site . $tabSlug; $help = __( 'Help', 'index-wp-mysql-for-speed' ); /** @noinspection HtmlUnknownTarget */ $helpTag = '%s'; diff --git a/code/assets/mu/index-wp-mysql-for-speed-update-filter.php b/code/assets/mu/index-wp-mysql-for-speed-update-filter.php index 22c1b62..9b4e32f 100644 --- a/code/assets/mu/index-wp-mysql-for-speed-update-filter.php +++ b/code/assets/mu/index-wp-mysql-for-speed-update-filter.php @@ -1,7 +1,7 @@