Skip to content

Commit

Permalink
Change minimum PHP version number to WP 4.9.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
justintadlock committed Sep 18, 2018
1 parent 4a4dc07 commit 3f07b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/bootstrap-compat.php
Expand Up @@ -31,12 +31,12 @@
*/
function mythic_compat_message() {

if ( version_compare( $GLOBALS['wp_version'], '4.9', '<' ) ) {
if ( version_compare( $GLOBALS['wp_version'], '4.9.6', '<' ) ) {

return sprintf(
// Translators: 1 is the required WordPress version and 2 is the user's current version.
__( 'Mythic requires at least WordPress version %1$s. You are running version %2$s. Please upgrade and try again.' ),
'4.9',
'4.9.6',
$GLOBALS['wp_version']
);

Expand Down
2 changes: 1 addition & 1 deletion functions.php
Expand Up @@ -19,7 +19,7 @@
# proceeding if this is a theme for public release. If building for a client
# that meets these requirements, this code is unnecessary.

if ( version_compare( $GLOBALS['wp_version'], '4.9', '<' ) || version_compare( PHP_VERSION, '5.6', '<' ) ) {
if ( version_compare( $GLOBALS['wp_version'], '4.9.6', '<' ) || version_compare( PHP_VERSION, '5.6', '<' ) ) {

require_once( get_parent_theme_file_path( 'app/bootstrap-compat.php' ) );
return;
Expand Down

0 comments on commit 3f07b39

Please sign in to comment.