Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 2.3.14.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.14 to 2.3.14.1
- admin/display/general-metaboxes.php +4 -2
- aioseop_class.php +20 -9
- all_in_one_seo_pack.php +8 -7
- inc/aioseop_updates_class.php +4 -3
- readme.txt +1 -1
admin/display/general-metaboxes.php
CHANGED
@@ -111,8 +111,8 @@ class aiosp_metaboxes {
|
|
111 |
<i><?php _e( 'Sign up today and receive a free copy of the e-book 5 SEO Tips for WordPress ($39 value).', 'all-in-one-seo-pack' ); ?></i>
|
112 |
</p>
|
113 |
<p><input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL"
|
114 |
-
placeholder="<?php
|
115 |
-
<input type="submit" value="<?php
|
116 |
class="btn"></p>
|
117 |
</form>
|
118 |
</div>
|
@@ -171,6 +171,8 @@ class aiosp_metaboxes {
|
|
171 |
|
172 |
echo '</ul>';
|
173 |
|
|
|
|
|
174 |
}
|
175 |
|
176 |
}
|
111 |
<i><?php _e( 'Sign up today and receive a free copy of the e-book 5 SEO Tips for WordPress ($39 value).', 'all-in-one-seo-pack' ); ?></i>
|
112 |
</p>
|
113 |
<p><input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL"
|
114 |
+
placeholder="<?php _e( 'Email Address', 'all-in-one-seo-pack' ); ?>">
|
115 |
+
<input type="submit" value="<?php _e( 'Subscribe', 'all-in-one-seo-pack' ); ?>" name="subscribe" id="mc-embedded-subscribe"
|
116 |
class="btn"></p>
|
117 |
</form>
|
118 |
</div>
|
171 |
|
172 |
echo '</ul>';
|
173 |
|
174 |
+
echo '<a href="https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/new" />Click here</a> to file a feature request/bug report.';
|
175 |
+
|
176 |
}
|
177 |
|
178 |
}
|
aioseop_class.php
CHANGED
@@ -2441,6 +2441,8 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
2441 |
}
|
2442 |
|
2443 |
/**
|
|
|
|
|
2444 |
* @param null $post
|
2445 |
*
|
2446 |
* @return mixed|string|void
|
@@ -2475,12 +2477,11 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
2475 |
}
|
2476 |
$description = $this->internationalize( $description );
|
2477 |
}
|
2478 |
-
$description = htmlspecialchars( wp_strip_all_tags( htmlspecialchars_decode( $description ) ) );
|
2479 |
if ( empty( $aioseop_options['aiosp_dont_truncate_descriptions'] ) ) {
|
2480 |
$description = $this->trim_excerpt_without_filters( $description );
|
2481 |
}
|
2482 |
|
2483 |
-
return $description;
|
2484 |
}
|
2485 |
|
2486 |
/**
|
@@ -2540,6 +2541,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
2540 |
* Auto-generates description if settings are ON.
|
2541 |
*
|
2542 |
* @since 2.3.13 #899 Fixes non breacking space, applies filter "aioseop_description".
|
|
|
2543 |
*
|
2544 |
* @param object $post Post object.
|
2545 |
*
|
@@ -2569,7 +2571,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
2569 |
}
|
2570 |
}
|
2571 |
|
2572 |
-
return
|
2573 |
}
|
2574 |
|
2575 |
/**
|
@@ -3727,6 +3729,9 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
3727 |
}
|
3728 |
}
|
3729 |
|
|
|
|
|
|
|
3730 |
function wp_head() {
|
3731 |
|
3732 |
// Check if we're in the main query to support bad themes and plugins.
|
@@ -3795,7 +3800,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
|
|
3795 |
}
|
3796 |
|
3797 |
$posts = $save_posts;
|
3798 |
-
$description =
|
3799 |
// Handle the description format.
|
3800 |
if ( isset( $description ) && ( $this->strlen( $description ) > $this->minimum_description_length ) && ! ( is_front_page() && is_paged() ) ) {
|
3801 |
$description = $this->trim_description( $description );
|
@@ -4871,7 +4876,9 @@ EOF;
|
|
4871 |
*
|
4872 |
* @return string
|
4873 |
*/
|
4874 |
-
public function filter_description( $value
|
|
|
|
|
4875 |
// Decode entities
|
4876 |
$value = $this->html_entity_decode( $value );
|
4877 |
$value = preg_replace(
|
@@ -4900,6 +4907,7 @@ EOF;
|
|
4900 |
* - Custom html_entity_decode supported on PHP 5.2
|
4901 |
*
|
4902 |
* @since 2.3.14
|
|
|
4903 |
*
|
4904 |
* @param string $value Value to decode.
|
4905 |
*
|
@@ -4910,10 +4918,12 @@ EOF;
|
|
4910 |
$value = preg_replace(
|
4911 |
array(
|
4912 |
'/\“|\”|&#[xX]00022;|"|&[lLrRbB](dquo|DQUO)(?:[rR])?;|&#[xX]0201[dDeE];'
|
4913 |
-
.'|&[OoCc](pen|lose)[Cc]urly[Dd]ouble[Qq]uote;|̶[012];|&#[xX]27
|
|
|
4914 |
),
|
4915 |
array(
|
4916 |
'"', // Double quotes
|
|
|
4917 |
),
|
4918 |
$value
|
4919 |
);
|
@@ -4924,6 +4934,7 @@ EOF;
|
|
4924 |
* Returns SEO ready string with encoded HTML entitites.
|
4925 |
*
|
4926 |
* @since 2.3.14
|
|
|
4927 |
*
|
4928 |
* @param string $value Value to encode.
|
4929 |
*
|
@@ -4933,13 +4944,13 @@ EOF;
|
|
4933 |
return preg_replace(
|
4934 |
array(
|
4935 |
'/\"|\“|\”|\„/', // Double quotes
|
4936 |
-
'/\'
|
4937 |
),
|
4938 |
array(
|
4939 |
'"', // Double quotes
|
4940 |
-
'
|
4941 |
),
|
4942 |
-
$value
|
4943 |
);
|
4944 |
}
|
4945 |
|
2441 |
}
|
2442 |
|
2443 |
/**
|
2444 |
+
* @since 2.3.14 #932 Adds filter "aioseop_description", removes extra filtering.
|
2445 |
+
*
|
2446 |
* @param null $post
|
2447 |
*
|
2448 |
* @return mixed|string|void
|
2477 |
}
|
2478 |
$description = $this->internationalize( $description );
|
2479 |
}
|
|
|
2480 |
if ( empty( $aioseop_options['aiosp_dont_truncate_descriptions'] ) ) {
|
2481 |
$description = $this->trim_excerpt_without_filters( $description );
|
2482 |
}
|
2483 |
|
2484 |
+
return apply_filters( 'aioseop_description', $description );
|
2485 |
}
|
2486 |
|
2487 |
/**
|
2541 |
* Auto-generates description if settings are ON.
|
2542 |
*
|
2543 |
* @since 2.3.13 #899 Fixes non breacking space, applies filter "aioseop_description".
|
2544 |
+
* @since 2.3.14 #932 Removes filter "aioseop_description".
|
2545 |
*
|
2546 |
* @param object $post Post object.
|
2547 |
*
|
2571 |
}
|
2572 |
}
|
2573 |
|
2574 |
+
return $description;
|
2575 |
}
|
2576 |
|
2577 |
/**
|
3729 |
}
|
3730 |
}
|
3731 |
|
3732 |
+
/**
|
3733 |
+
* @since 2.3.14 #932 Removes filter "aioseop_description".
|
3734 |
+
*/
|
3735 |
function wp_head() {
|
3736 |
|
3737 |
// Check if we're in the main query to support bad themes and plugins.
|
3800 |
}
|
3801 |
|
3802 |
$posts = $save_posts;
|
3803 |
+
$description = $this->get_main_description( $post ); // Get the description.
|
3804 |
// Handle the description format.
|
3805 |
if ( isset( $description ) && ( $this->strlen( $description ) > $this->minimum_description_length ) && ! ( is_front_page() && is_paged() ) ) {
|
3806 |
$description = $this->trim_description( $description );
|
4876 |
*
|
4877 |
* @return string
|
4878 |
*/
|
4879 |
+
public function filter_description( $value) {
|
4880 |
+
if ( preg_match( '/5.2[\s\S]+/', PHP_VERSION ) )
|
4881 |
+
$value = htmlspecialchars( wp_strip_all_tags( htmlspecialchars_decode( $value ) ) );
|
4882 |
// Decode entities
|
4883 |
$value = $this->html_entity_decode( $value );
|
4884 |
$value = preg_replace(
|
4907 |
* - Custom html_entity_decode supported on PHP 5.2
|
4908 |
*
|
4909 |
* @since 2.3.14
|
4910 |
+
* @since 2.3.14.1 Hot fix on apostrophes.
|
4911 |
*
|
4912 |
* @param string $value Value to decode.
|
4913 |
*
|
4918 |
$value = preg_replace(
|
4919 |
array(
|
4920 |
'/\“|\”|&#[xX]00022;|"|&[lLrRbB](dquo|DQUO)(?:[rR])?;|&#[xX]0201[dDeE];'
|
4921 |
+
.'|&[OoCc](pen|lose)[Cc]urly[Dd]ouble[Qq]uote;|̶[012];|&#[xX]27;/', // Double quotes
|
4922 |
+
'/–|'/', // Apostrophes
|
4923 |
),
|
4924 |
array(
|
4925 |
'"', // Double quotes
|
4926 |
+
'\'', // Apostrophes
|
4927 |
),
|
4928 |
$value
|
4929 |
);
|
4934 |
* Returns SEO ready string with encoded HTML entitites.
|
4935 |
*
|
4936 |
* @since 2.3.14
|
4937 |
+
* @since 2.3.14.1 Hot fix on apostrophes.
|
4938 |
*
|
4939 |
* @param string $value Value to encode.
|
4940 |
*
|
4944 |
return preg_replace(
|
4945 |
array(
|
4946 |
'/\"|\“|\”|\„/', // Double quotes
|
4947 |
+
'/\'|\’|\‘/', // Apostrophes
|
4948 |
),
|
4949 |
array(
|
4950 |
'"', // Double quotes
|
4951 |
+
''', // Apostrophes
|
4952 |
),
|
4953 |
+
esc_html( $value )
|
4954 |
);
|
4955 |
}
|
4956 |
|
all_in_one_seo_pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
5 |
Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 30 million downloads since 2007.
|
6 |
-
Version: 2.3.14
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
9 |
Text Domain: all-in-one-seo-pack
|
@@ -31,14 +31,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
31 |
* The original WordPress SEO plugin.
|
32 |
*
|
33 |
* @package All-in-One-SEO-Pack
|
34 |
-
* @version 2.3.14
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
38 |
define( 'AIOSEOPPRO', false );
|
39 |
}
|
40 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
41 |
-
define( 'AIOSEOP_VERSION', '2.3.14' );
|
42 |
}
|
43 |
global $aioseop_plugin_name;
|
44 |
$aioseop_plugin_name = 'All in One SEO Pack';
|
@@ -277,15 +277,16 @@ if ( ! function_exists( 'aiosp_plugin_row_meta' ) ) {
|
|
277 |
*/
|
278 |
function aiosp_plugin_row_meta( $actions, $plugin_file ) {
|
279 |
|
280 |
-
if ( ! AIOSEOPPRO ) {
|
281 |
|
282 |
$action_links = array(
|
283 |
|
|
|
|
|
|
|
|
|
284 |
);
|
285 |
|
286 |
-
|
287 |
-
$action_links = '';
|
288 |
-
}
|
289 |
|
290 |
return aiosp_action_links( $actions, $plugin_file, $action_links, 'after' );
|
291 |
}
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
5 |
Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 30 million downloads since 2007.
|
6 |
+
Version: 2.3.14.1
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
|
9 |
Text Domain: all-in-one-seo-pack
|
31 |
* The original WordPress SEO plugin.
|
32 |
*
|
33 |
* @package All-in-One-SEO-Pack
|
34 |
+
* @version 2.3.14.1
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
38 |
define( 'AIOSEOPPRO', false );
|
39 |
}
|
40 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
41 |
+
define( 'AIOSEOP_VERSION', '2.3.14.1' );
|
42 |
}
|
43 |
global $aioseop_plugin_name;
|
44 |
$aioseop_plugin_name = 'All in One SEO Pack';
|
277 |
*/
|
278 |
function aiosp_plugin_row_meta( $actions, $plugin_file ) {
|
279 |
|
|
|
280 |
|
281 |
$action_links = array(
|
282 |
|
283 |
+
'settings' => array(
|
284 |
+
'label' => __( 'Feature Request/Bug Report', 'all-in-one-seo-pack' ),
|
285 |
+
'url' => 'https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/new' )
|
286 |
+
|
287 |
);
|
288 |
|
289 |
+
|
|
|
|
|
290 |
|
291 |
return aiosp_action_links( $actions, $plugin_file, $action_links, 'after' );
|
292 |
}
|
inc/aioseop_updates_class.php
CHANGED
@@ -57,7 +57,8 @@ class AIOSEOP_Updates {
|
|
57 |
}
|
58 |
|
59 |
if( ! is_network_admin() || !isset( $_GET['activate-multi'] ) ) {
|
60 |
-
|
|
|
61 |
}
|
62 |
delete_transient( 'aioseop_feed' );
|
63 |
add_action( 'admin_init', array( $this, 'aioseop_welcome' ) );
|
@@ -74,8 +75,8 @@ class AIOSEOP_Updates {
|
|
74 |
function aioseop_welcome(){
|
75 |
if ( get_transient( '_aioseop_activation_redirect' ) ) {
|
76 |
delete_transient( '_aioseop_activation_redirect' );
|
77 |
-
|
78 |
-
|
79 |
}
|
80 |
|
81 |
}
|
57 |
}
|
58 |
|
59 |
if( ! is_network_admin() || !isset( $_GET['activate-multi'] ) ) {
|
60 |
+
// Replace this to reactivate update welcome screen.
|
61 |
+
//set_transient( '_aioseop_activation_redirect', true, 30 ); // Sets 30 second transient for welcome screen redirect on activation.
|
62 |
}
|
63 |
delete_transient( 'aioseop_feed' );
|
64 |
add_action( 'admin_init', array( $this, 'aioseop_welcome' ) );
|
75 |
function aioseop_welcome(){
|
76 |
if ( get_transient( '_aioseop_activation_redirect' ) ) {
|
77 |
delete_transient( '_aioseop_activation_redirect' );
|
78 |
+
//$aioseop_welcome = new aioseop_welcome();
|
79 |
+
//$aioseop_welcome->init( TRUE );
|
80 |
}
|
81 |
|
82 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtor
|
|
4 |
Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 2.3.14
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: seo, all in one seo, google, twitter, page, image seo, social, search engine optimization, sitemap, WordPress SEO, meta, meta description, xml sitemap, google sitemap, sitemaps, robots meta, yahoo, bing, news sitemaps, multisite, canonical, nofollow, noindex, keywords, description, webmaster tools, google webmaster tools, google analytics
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.3.14.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|