Skip to content

Commit

Permalink
Bump to 4.1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbroes committed May 24, 2021
1 parent f796c7e commit 56c7b9f
Show file tree
Hide file tree
Showing 27 changed files with 8,398 additions and 8,338 deletions.
2 changes: 1 addition & 1 deletion all_in_one_seo_pack.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 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 75 million downloads since 2007.
* Author: All in One SEO Team
* Author URI: https://aioseo.com/
* Version: 4.1.1
* Version: 4.1.1.1
* Text Domain: all-in-one-seo-pack
* Domain Path: /i18n/
*
Expand Down
7 changes: 7 additions & 0 deletions app/Common/Admin/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,13 @@ public function addMenu() {
remove_submenu_page( 'aioseo', 'aioseo' );
}
}

global $submenu;
$submenu['tools.php'][] = [
esc_html__( 'Redirection Manager', 'all-in-one-seo-pack' ),
apply_filters( 'aioseo_redirects_settings', 'aioseo_redirects_settings' ),
admin_url( '/admin.php?page=aioseo-redirects' )
];
}

/**
Expand Down
8 changes: 4 additions & 4 deletions app/Common/Utils/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,10 @@ protected function getDefaultSearchAppearanceOptions() {
*/
protected function setDynamicSearchApperanceOptions( $objectType, $objectName, $defaultOptions ) {
// Check if dynamic backup needs to be reset.
if ( isset( $this->options['internal']['searchAppearanceDynamicBackup'][ $objectType ]['value'][ $objectName ] ) ) {
if ( ! empty( $this->options['internal']['searchAppearanceDynamicBackup'][ $objectType ]['value'][ $objectName ] ) ) {
$this->needsUpdate = true;

$defaultOptions = array_replace_recursive( $defaultOptions, (array) $this->options['internal']['searchAppearanceDynamicBackup'][ $objectType ]['value'][ $objectName ] );
$defaultOptions = array_replace_recursive( $defaultOptions, $this->options['internal']['searchAppearanceDynamicBackup'][ $objectType ]['value'][ $objectName ] );
unset( $this->options['internal']['searchAppearanceDynamicBackup'][ $objectType ]['value'][ $objectName ] );
}

Expand All @@ -764,10 +764,10 @@ protected function setDynamicSocialOptions( $objectType, $objectName ) {
];

// Check if dynamic backup needs to be reset.
if ( isset( $this->options['internal']['socialFacebookDynamicBackup'][ $objectType ]['value'][ $objectName ] ) ) {
if ( ! empty( $this->options['internal']['socialFacebookDynamicBackup'][ $objectType ]['value'][ $objectName ] ) ) {
$this->needsUpdate = true;

$defaultOptions = array_replace_recursive( $defaultOptions, (array) $this->options['internal']['socialFacebookDynamicBackup'][ $objectType ]['value'][ $objectName ] );
$defaultOptions = array_replace_recursive( $defaultOptions, $this->options['internal']['socialFacebookDynamicBackup'][ $objectType ]['value'][ $objectName ] );
unset( $this->options['internal']['socialFacebookDynamicBackup'][ $objectType ]['value'][ $objectName ] );
}

Expand Down
4 changes: 3 additions & 1 deletion app/Lite/Utils/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ public function update( $options = null ) {

update_option( $this->optionsName . '_lite', wp_json_encode( $refactored ) );

$this->init();
if ( ! $this->needsUpdate ) {
$this->init();
}
}
}
2 changes: 1 addition & 1 deletion dist/Lite/assets/css/aioseo-admin-bar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/Lite/assets/css/aioseo-admin-bar.css.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/Lite/assets/css/chunk-common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Lite/assets/css/chunk-common.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Lite/assets/css/post-settings.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Lite/assets/css/post-settings.rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Lite/assets/js/aioseo-admin-bar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/Lite/assets/js/aioseo-admin-bar.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/Lite/assets/js/chunk-common.js

Large diffs are not rendered by default.

Loading

0 comments on commit 56c7b9f

Please sign in to comment.