All in One SEO Pack - Version 4.2.6.1

Version Description

This update adds major improvements and bugfixes.

Download this release

Release Info

Developer benjaminprojas
Plugin Icon 128x128 All in One SEO Pack
Version 4.2.6.1
Comparing to
See all releases

Code changes from version 4.2.6 to 4.2.6.1

all_in_one_seo_pack.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs, business sites, ecommerce sites, and much more. More than 80 million downloads since 2007.
6
  * Author: All in One SEO Team
7
  * Author URI: https://aioseo.com/
8
- * Version: 4.2.6
9
  * Text Domain: all-in-one-seo-pack
10
  * Domain Path: /languages
11
  *
5
  * Description: SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs, business sites, ecommerce sites, and much more. More than 80 million downloads since 2007.
6
  * Author: All in One SEO Team
7
  * Author URI: https://aioseo.com/
8
+ * Version: 4.2.6.1
9
  * Text Domain: all-in-one-seo-pack
10
  * Domain Path: /languages
11
  *
app/Common/Utils/Filesystem.php CHANGED
@@ -46,23 +46,25 @@ class Filesystem {
46
  */
47
  public function init( $args = [] ) {
48
  require_once( ABSPATH . 'wp-admin/includes/file.php' );
49
- require_once( ABSPATH . 'wp-includes/pluggable.php' );
50
-
51
- // Prepare variables.
52
- $url = esc_url_raw(
53
- add_query_arg(
54
- [
55
- 'page' => 'aioseo-settings',
56
- ],
57
- admin_url( 'admin.php' )
58
- )
59
- );
60
-
61
- if ( empty( $args ) ) {
62
- // Using output buffering to prevent the FTP form from being displayed in the screen.
63
- ob_start();
64
- $args = request_filesystem_credentials( $url, '', false, false, null );
65
- ob_end_clean();
 
 
66
  }
67
 
68
  WP_Filesystem( $args );
46
  */
47
  public function init( $args = [] ) {
48
  require_once( ABSPATH . 'wp-admin/includes/file.php' );
49
+ if ( defined( 'WP_CLI' ) && WP_CLI ) {
50
+ require_once( ABSPATH . 'wp-includes/pluggable.php' );
51
+
52
+ // Prepare variables.
53
+ $url = esc_url_raw(
54
+ add_query_arg(
55
+ [
56
+ 'page' => 'aioseo-settings',
57
+ ],
58
+ admin_url( 'admin.php' )
59
+ )
60
+ );
61
+
62
+ if ( empty( $args ) ) {
63
+ // Using output buffering to prevent the FTP form from being displayed in the screen.
64
+ ob_start();
65
+ $args = request_filesystem_credentials( $url, '', false, false, null );
66
+ ob_end_clean();
67
+ }
68
  }
69
 
70
  WP_Filesystem( $args );
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: aioseo, smub, benjaminprojas
3
  Tags: SEO, Google Search Console, XML Sitemap, meta description, schema, meta title, rich snippets, woocommerce seo, local seo, open graph, google news sitemap, video sitemap, robots.txt, seo audit, content analysis, seo plugin, redirection
4
  Requires at least: 4.9
5
- Tested up to: 6.0.2
6
- Stable tag: 4.2.6
7
  License: GPLv2 or later
8
  Requires PHP: 5.6
9
 
@@ -224,6 +224,10 @@ Visit <a href="http://www.wpbeginner.com/" rel="friend" title="WPBeginner">WPBeg
224
 
225
  == Changelog ==
226
 
 
 
 
 
227
  **New in Version 4.2.6**
228
 
229
  * New: 🎉 Emoji Picker - Choose from a multitude of curated emojis to add to the title, meta description and other fields! 🎉
@@ -1119,6 +1123,6 @@ As part of your SEO strategy, an XML sitemap can help you to improve your domain
1119
 
1120
  == Upgrade Notice ==
1121
 
1122
- = 4.2.6 =
1123
 
1124
- This update adds major improvements and bugfixes.
2
  Contributors: aioseo, smub, benjaminprojas
3
  Tags: SEO, Google Search Console, XML Sitemap, meta description, schema, meta title, rich snippets, woocommerce seo, local seo, open graph, google news sitemap, video sitemap, robots.txt, seo audit, content analysis, seo plugin, redirection
4
  Requires at least: 4.9
5
+ Tested up to: 6.1
6
+ Stable tag: 4.2.6.1
7
  License: GPLv2 or later
8
  Requires PHP: 5.6
9
 
224
 
225
  == Changelog ==
226
 
227
+ **New in Version 4.2.6.1**
228
+
229
+ * Fixed: PHP error sometimes thrown when accessing admin in multisite installations.
230
+
231
  **New in Version 4.2.6**
232
 
233
  * New: 🎉 Emoji Picker - Choose from a multitude of curated emojis to add to the title, meta description and other fields! 🎉
1123
 
1124
  == Upgrade Notice ==
1125
 
1126
+ = 4.2.6.1 =
1127
 
1128
+ This update adds major improvements and bugfixes.