Change minimum requirement message.

This commit is contained in:
Nathan Rice
2017-03-06 15:41:58 -05:00
parent 991b354175
commit f2280a3fae
+2 -2
View File
@@ -86,7 +86,7 @@ class Genesis_Simple_Sidebars {
/** /**
* Show admin notice if minimum requirements aren't met. * Show admin notice if minimum requirements aren't met.
* *
* @since 2.1.0 * @since 2.2.0
*/ */
public function requirements_notice() { public function requirements_notice() {
@@ -94,7 +94,7 @@ class Genesis_Simple_Sidebars {
$action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'genesis-simple-sidebars' ) : __( 'install and activate', 'genesis-simple-sidebars' ); $action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'genesis-simple-sidebars' ) : __( 'install and activate', 'genesis-simple-sidebars' );
$message = sprintf( __( 'Genesis Simple Sidebars requires WordPress %s and <a href="%s" target="_blank">Genesis %s</a>, or greater. Please %s the latest version of Genesis to use this plugin.', 'genesis-simple-sidebars' ), $this->min_wp_version, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa', $this->min_genesis_version, $action ); $message = sprintf( __( 'Genesis Simple Sidebars requires WordPress %s and Genesis %s, or greater. Please %s the latest version of <a href="%s" target="_blank">Genesis</a> to use this plugin.', 'genesis-simple-sidebars' ), $this->min_wp_version, $this->min_genesis_version, $action, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa' );
echo '<div class="notice notice-warning"><p>' . $message . '</p></div>'; echo '<div class="notice notice-warning"><p>' . $message . '</p></div>';
} }