update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
Copyright 2015-2023 John Havlik (email : john.havlik@mtekk.us)
|
||||
Copyright 2015-2025 John Havlik (email : john.havlik@mtekk.us)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -23,7 +23,8 @@ if(version_compare(phpversion(), '5.3.0', '<'))
|
||||
//Only purpose of this function is to echo out the PHP version error
|
||||
function bcn_phpold()
|
||||
{
|
||||
printf('<div class="notice notice-error"><p>' . __('Your PHP version is too old, please upgrade to a newer version. Your version is %1$s, Breadcrumb NavXT requires %2$s', 'breadcrumb-navxt') . '</p></div>', phpversion(), '5.3.0');
|
||||
/* translators: %1$s: User's version of PHP, %2$s: Breadcrmb NavXT minimuum PHP version */
|
||||
printf('<div class="notice notice-error"><p>' . esc_html__('Your PHP version is too old, please upgrade to a newer version. Your version is %1$s, Breadcrumb NavXT requires %2$s', 'breadcrumb-navxt') . '</p></div>', esc_html(phpversion()), '7.0.0');
|
||||
}
|
||||
//If we are in the admin, let's print a warning then return
|
||||
if(is_admin())
|
||||
|
||||
Reference in New Issue
Block a user