Version Description
- Revert to 1.0.2, bugs introduced in 1.0.3
Download this release
Release Info
Developer | WPAllImport |
Plugin | Import Settings into WordPress SEO by Yoast |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- readme.txt +4 -1
- yoast-addon.php +11 -19
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License: GPLv2 or later
|
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: 4.1.0
|
7 |
Tested up to: 4.3.1
|
8 |
-
Stable tag: 1.0.
|
9 |
|
10 |
Easily import SEO settings from any XML or CSV file to Yoast WordPress SEO with the Yoast WordPress SEO Add-On for WP All Import.
|
11 |
|
@@ -66,6 +66,9 @@ The Yoast WordPress SEO Add-On will appear in the Step 3 of WP All Import.
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
69 |
= 1.0.3 =
|
70 |
* Add support for Yoast SEO Premium
|
71 |
* Add 'Auto Calculate SEO Score'
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: 4.1.0
|
7 |
Tested up to: 4.3.1
|
8 |
+
Stable tag: 1.0.4
|
9 |
|
10 |
Easily import SEO settings from any XML or CSV file to Yoast WordPress SEO with the Yoast WordPress SEO Add-On for WP All Import.
|
11 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 1.0.4 =
|
70 |
+
* Revert to 1.0.2, bugs introduced in 1.0.3
|
71 |
+
|
72 |
= 1.0.3 =
|
73 |
* Add support for Yoast SEO Premium
|
74 |
* Add 'Auto Calculate SEO Score'
|
yoast-addon.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: WP All Import - Yoast WordPress SEO Add-On
|
5 |
Plugin URI: http://www.wpallimport.com/
|
6 |
Description: Import data into Yoast WordPress SEO with WP All Import.
|
7 |
-
Version: 1.0.
|
8 |
Author: Soflyy
|
9 |
*/
|
10 |
|
@@ -99,19 +99,16 @@ $yoast_addon->add_options(
|
|
99 |
|
100 |
$yoast_addon->set_import_function( 'yoast_seo_addon_import' );
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
}
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
}
|
115 |
|
116 |
function yoast_seo_addon_import( $post_id, $data, $import_options ) {
|
117 |
|
@@ -168,10 +165,5 @@ function yoast_seo_addon_import( $post_id, $data, $import_options ) {
|
|
168 |
}
|
169 |
}
|
170 |
}
|
171 |
-
|
172 |
-
if (class_exists('WPSEO_Metabox'))
|
173 |
-
{
|
174 |
-
$seo = new WPSEO_Metabox();
|
175 |
-
$seo->calculate_results( get_post($post_id) );
|
176 |
-
}
|
177 |
}
|
4 |
Plugin Name: WP All Import - Yoast WordPress SEO Add-On
|
5 |
Plugin URI: http://www.wpallimport.com/
|
6 |
Description: Import data into Yoast WordPress SEO with WP All Import.
|
7 |
+
Version: 1.0.4
|
8 |
Author: Soflyy
|
9 |
*/
|
10 |
|
99 |
|
100 |
$yoast_addon->set_import_function( 'yoast_seo_addon_import' );
|
101 |
|
102 |
+
$yoast_addon->admin_notice(
|
103 |
+
'The Yoast WordPress SEO Add-On requires WP All Import <a href="http://www.wpallimport.com/order-now/?utm_source=free-plugin&utm_medium=dot-org&utm_campaign=yoast" target="_blank">Pro</a> or <a href="http://wordpress.org/plugins/wp-all-import" target="_blank">Free</a>, and the <a href="https://yoast.com/wordpress/plugins/seo/">Yoast WordPress SEO</a> plugin.',
|
104 |
+
array(
|
105 |
+
"plugins" => array( "wordpress-seo/wp-seo.php" )
|
106 |
+
) );
|
|
|
|
|
107 |
|
108 |
+
$yoast_addon->run(
|
109 |
+
array(
|
110 |
+
"plugins" => array( "wordpress-seo/wp-seo.php" )
|
111 |
+
) );
|
|
|
112 |
|
113 |
function yoast_seo_addon_import( $post_id, $data, $import_options ) {
|
114 |
|
165 |
}
|
166 |
}
|
167 |
}
|
168 |
+
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|