Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 3.0.3 |
Comparing to | |
See all releases |
Code changes from version 3.0.2 to 3.0.3
admin/class-aioseop-notices.php
CHANGED
@@ -730,6 +730,11 @@ if ( ! class_exists( 'AIOSEOP_Notices' ) ) {
|
|
730 |
$current_screen = get_current_screen();
|
731 |
$current_user_id = get_current_user_id();
|
732 |
foreach ( $this->active_notices as $a_notice_slug => $a_notice_time_display ) {
|
|
|
|
|
|
|
|
|
|
|
733 |
$notice_show = true;
|
734 |
$notice = $this->get_notice( $a_notice_slug );
|
735 |
|
730 |
$current_screen = get_current_screen();
|
731 |
$current_user_id = get_current_user_id();
|
732 |
foreach ( $this->active_notices as $a_notice_slug => $a_notice_time_display ) {
|
733 |
+
// vvv TEMP Avoid review notice.
|
734 |
+
if ( 'review_plugin' === $a_notice_slug ) {
|
735 |
+
continue;
|
736 |
+
}
|
737 |
+
// ^^^ TEMP Avoid review notice.
|
738 |
$notice_show = true;
|
739 |
$notice = $this->get_notice( $a_notice_slug );
|
740 |
|
admin/display/notices/review-plugin-notice.php
CHANGED
@@ -45,4 +45,5 @@ function aioseop_notice_review_plugin() {
|
|
45 |
),
|
46 |
);
|
47 |
}
|
48 |
-
add_filter( 'aioseop_admin_notice-review_plugin', 'aioseop_notice_review_plugin' );
|
|
45 |
),
|
46 |
);
|
47 |
}
|
48 |
+
// add_filter( 'aioseop_admin_notice-review_plugin', 'aioseop_notice_review_plugin' );
|
49 |
+
|
admin/display/notices/wc-detected-notice.php
CHANGED
@@ -23,7 +23,7 @@ function aioseop_notice_pro_promo_woocommerce() {
|
|
23 |
|
24 |
'class' => 'notice-info',
|
25 |
'target' => 'site',
|
26 |
-
'screens' => array(),
|
27 |
'action_options' => array(
|
28 |
array(
|
29 |
'time' => 0,
|
23 |
|
24 |
'class' => 'notice-info',
|
25 |
'target' => 'site',
|
26 |
+
'screens' => array( 'aioseop' ),
|
27 |
'action_options' => array(
|
28 |
array(
|
29 |
'time' => 0,
|
all_in_one_seo_pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: All In One SEO Pack
|
5 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
6 |
Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
|
7 |
-
Version: 3.0.
|
8 |
Author: Michael Torbert
|
9 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
10 |
Text Domain: all-in-one-seo-pack
|
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
32 |
* The original WordPress SEO plugin.
|
33 |
*
|
34 |
* @package All-in-One-SEO-Pack
|
35 |
-
* @version 3.0.
|
36 |
*/
|
37 |
|
38 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
@@ -42,7 +42,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) ) {
|
|
42 |
define( 'AIOSEOP_PLUGIN_NAME', 'All in One SEO Pack' );
|
43 |
}
|
44 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
45 |
-
define( 'AIOSEOP_VERSION', '3.0.
|
46 |
}
|
47 |
|
48 |
/*
|
@@ -265,8 +265,7 @@ if ( ! function_exists( 'aioseop_activate' ) ) {
|
|
265 |
|
266 |
require_once AIOSEOP_PLUGIN_DIR . 'admin/class-aioseop-notices.php';
|
267 |
global $aioseop_notices;
|
268 |
-
$aioseop_notices->reset_notice( 'review_plugin' );
|
269 |
-
|
270 |
// These checks might be duplicated in the function being called.
|
271 |
if ( ! is_network_admin() || ! isset( $_GET['activate-multi'] ) ) {
|
272 |
set_transient( '_aioseop_activation_redirect', true, 30 ); // Sets 30 second transient for welcome screen redirect on activation.
|
@@ -442,8 +441,7 @@ if ( ! function_exists( 'aioseop_init_class' ) ) {
|
|
442 |
add_action( 'init', array( $aiosp, 'add_hooks' ) );
|
443 |
add_action( 'admin_init', array( $aioseop_updates, 'version_updates' ), 11 );
|
444 |
|
445 |
-
add_action( 'admin_init', 'aioseop_review_plugin_notice' );
|
446 |
-
|
447 |
if ( defined( 'DOING_AJAX' ) && ! empty( $_POST ) && ! empty( $_POST['action'] ) && 'aioseop_ajax_scan_header' === $_POST['action'] ) {
|
448 |
remove_action( 'init', array( $aiosp, 'add_hooks' ) );
|
449 |
add_action( 'admin_init', 'aioseop_scan_post_header' );
|
@@ -469,7 +467,7 @@ if ( ! function_exists( 'aioseop_review_plugin_notice' ) ) {
|
|
469 |
*/
|
470 |
function aioseop_review_plugin_notice() {
|
471 |
global $aioseop_notices;
|
472 |
-
$aioseop_notices->activate_notice( 'review_plugin' );
|
473 |
}
|
474 |
}
|
475 |
|
4 |
Plugin Name: All In One SEO Pack
|
5 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
6 |
Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
|
7 |
+
Version: 3.0.3
|
8 |
Author: Michael Torbert
|
9 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
10 |
Text Domain: all-in-one-seo-pack
|
32 |
* The original WordPress SEO plugin.
|
33 |
*
|
34 |
* @package All-in-One-SEO-Pack
|
35 |
+
* @version 3.0.3
|
36 |
*/
|
37 |
|
38 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
42 |
define( 'AIOSEOP_PLUGIN_NAME', 'All in One SEO Pack' );
|
43 |
}
|
44 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
45 |
+
define( 'AIOSEOP_VERSION', '3.0.3' );
|
46 |
}
|
47 |
|
48 |
/*
|
265 |
|
266 |
require_once AIOSEOP_PLUGIN_DIR . 'admin/class-aioseop-notices.php';
|
267 |
global $aioseop_notices;
|
268 |
+
// $aioseop_notices->reset_notice( 'review_plugin' );
|
|
|
269 |
// These checks might be duplicated in the function being called.
|
270 |
if ( ! is_network_admin() || ! isset( $_GET['activate-multi'] ) ) {
|
271 |
set_transient( '_aioseop_activation_redirect', true, 30 ); // Sets 30 second transient for welcome screen redirect on activation.
|
441 |
add_action( 'init', array( $aiosp, 'add_hooks' ) );
|
442 |
add_action( 'admin_init', array( $aioseop_updates, 'version_updates' ), 11 );
|
443 |
|
444 |
+
// add_action( 'admin_init', 'aioseop_review_plugin_notice' );
|
|
|
445 |
if ( defined( 'DOING_AJAX' ) && ! empty( $_POST ) && ! empty( $_POST['action'] ) && 'aioseop_ajax_scan_header' === $_POST['action'] ) {
|
446 |
remove_action( 'init', array( $aiosp, 'add_hooks' ) );
|
447 |
add_action( 'admin_init', 'aioseop_scan_post_header' );
|
467 |
*/
|
468 |
function aioseop_review_plugin_notice() {
|
469 |
global $aioseop_notices;
|
470 |
+
// $aioseop_notices->activate_notice( 'review_plugin' );
|
471 |
}
|
472 |
}
|
473 |
|
inc/aioseop_updates_class.php
CHANGED
@@ -127,6 +127,12 @@ class AIOSEOP_Updates {
|
|
127 |
$this->bad_bots_remove_exabot_201902();
|
128 |
$this->sitemap_excl_terms_201905();
|
129 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
/**
|
@@ -307,4 +313,16 @@ class AIOSEOP_Updates {
|
|
307 |
);
|
308 |
}
|
309 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
}
|
127 |
$this->bad_bots_remove_exabot_201902();
|
128 |
$this->sitemap_excl_terms_201905();
|
129 |
}
|
130 |
+
|
131 |
+
if (
|
132 |
+
version_compare( $old_version, '3.0.3', '<' )
|
133 |
+
) {
|
134 |
+
$this->reset_review_notice_201906();
|
135 |
+
}
|
136 |
}
|
137 |
|
138 |
/**
|
313 |
);
|
314 |
}
|
315 |
}
|
316 |
+
|
317 |
+
/**
|
318 |
+
* Removes Review Plugin Notice
|
319 |
+
*
|
320 |
+
* @since 3.0.3
|
321 |
+
*/
|
322 |
+
public function reset_review_notice_201906() {
|
323 |
+
global $aioseop_notices;
|
324 |
+
|
325 |
+
$aioseop_notices->reset_notice( 'review_plugin' );
|
326 |
+
$aioseop_notices->remove_notice( 'review_plugin' );
|
327 |
+
}
|
328 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hallsofmontezuma, semperplugins, wpsmort, arnaudbroes
|
|
3 |
Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.2.4
|
9 |
|
3 |
Tags: SEO, Google Search Console, XML Sitemap, meta description, meta title, noindex
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 3.0.3
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.2.4
|
9 |
|