Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 2.3.11.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.11.3 to 2.3.11.4
- all_in_one_seo_pack.php +3 -3
- inc/aioseop_updates_class.php +0 -51
- js/modules/aioseop_module.js +5 -1
- modules/aioseop_opengraph.php +19 -0
- readme.txt +1 -1
all_in_one_seo_pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperfiwebdesign.com
|
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. Almost 30 million downloads since 2007.
|
6 |
-
Version: 2.3.11.
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://michaeltorbert.com
|
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.11.
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
38 |
define( 'AIOSEOPPRO', false );
|
39 |
}
|
40 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
41 |
-
define( 'AIOSEOP_VERSION', '2.3.11.
|
42 |
}
|
43 |
global $aioseop_plugin_name;
|
44 |
$aioseop_plugin_name = 'All in One SEO Pack';
|
3 |
Plugin Name: All In One SEO Pack
|
4 |
Plugin URI: https://semperfiwebdesign.com
|
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. Almost 30 million downloads since 2007.
|
6 |
+
Version: 2.3.11.4
|
7 |
Author: Michael Torbert
|
8 |
Author URI: https://michaeltorbert.com
|
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.11.4
|
35 |
*/
|
36 |
|
37 |
if ( ! defined( 'AIOSEOPPRO' ) ) {
|
38 |
define( 'AIOSEOPPRO', false );
|
39 |
}
|
40 |
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
|
41 |
+
define( 'AIOSEOP_VERSION', '2.3.11.4' );
|
42 |
}
|
43 |
global $aioseop_plugin_name;
|
44 |
$aioseop_plugin_name = 'All in One SEO Pack';
|
inc/aioseop_updates_class.php
CHANGED
@@ -135,27 +135,6 @@ class AIOSEOP_Updates {
|
|
135 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
136 |
update_option( 'aioseop_options', $aioseop_options );
|
137 |
$aiosp->update_class_option( $aioseop_options );
|
138 |
-
if ( isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] )
|
139 |
-
&& 'on' === $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules']
|
140 |
-
) {
|
141 |
-
if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
|
142 |
-
require_once(
|
143 |
-
AIOSEOP_PLUGIN_DIR .
|
144 |
-
'admin/aioseop_module_class.php'
|
145 |
-
);
|
146 |
-
require_once(
|
147 |
-
AIOSEOP_PLUGIN_DIR .
|
148 |
-
'modules/aioseop_bad_robots.php'
|
149 |
-
);
|
150 |
-
}
|
151 |
-
$aiosp_reset_htaccess = new All_in_One_SEO_Pack_Bad_Robots;
|
152 |
-
$aiosp_reset_htaccess->generate_htaccess_blocklist();
|
153 |
-
}
|
154 |
-
if ( ! isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] )
|
155 |
-
&& extract_from_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker' )
|
156 |
-
) {
|
157 |
-
insert_with_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker', '' );
|
158 |
-
}
|
159 |
}
|
160 |
}
|
161 |
|
@@ -182,21 +161,6 @@ class AIOSEOP_Updates {
|
|
182 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
183 |
update_option( 'aioseop_options', $aioseop_options );
|
184 |
$aiosp->update_class_option( $aioseop_options );
|
185 |
-
|
186 |
-
if ( isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) && 'on' === $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) {
|
187 |
-
|
188 |
-
if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
|
189 |
-
require_once( AIOSEOP_PLUGIN_DIR . 'admin/aioseop_module_class.php' );
|
190 |
-
require_once( AIOSEOP_PLUGIN_DIR . 'modules/aioseop_bad_robots.php' );
|
191 |
-
}
|
192 |
-
|
193 |
-
$aiosp_reset_htaccess = new All_in_One_SEO_Pack_Bad_Robots;
|
194 |
-
$aiosp_reset_htaccess->generate_htaccess_blocklist();
|
195 |
-
}
|
196 |
-
|
197 |
-
if ( ! isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) && extract_from_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker' ) ) {
|
198 |
-
insert_with_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker', '' );
|
199 |
-
}
|
200 |
}
|
201 |
}
|
202 |
|
@@ -219,21 +183,6 @@ class AIOSEOP_Updates {
|
|
219 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
220 |
update_option( 'aioseop_options', $aioseop_options );
|
221 |
$aiosp->update_class_option( $aioseop_options );
|
222 |
-
|
223 |
-
if ( isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) && 'on' === $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) {
|
224 |
-
|
225 |
-
if ( ! class_exists( 'All_in_One_SEO_Pack_Bad_Robots' ) ) {
|
226 |
-
require_once( AIOSEOP_PLUGIN_DIR . 'admin/aioseop_module_class.php' );
|
227 |
-
require_once( AIOSEOP_PLUGIN_DIR . 'modules/aioseop_bad_robots.php' );
|
228 |
-
}
|
229 |
-
|
230 |
-
$aiosp_reset_htaccess = new All_in_One_SEO_Pack_Bad_Robots;
|
231 |
-
$aiosp_reset_htaccess->generate_htaccess_blocklist();
|
232 |
-
}
|
233 |
-
|
234 |
-
if ( ! isset( $aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_htaccess_rules'] ) && extract_from_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker' ) ) {
|
235 |
-
insert_with_markers( get_home_path() . '.htaccess', 'Bad Bot Blocker', '' );
|
236 |
-
}
|
237 |
}
|
238 |
}
|
239 |
|
135 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
136 |
update_option( 'aioseop_options', $aioseop_options );
|
137 |
$aiosp->update_class_option( $aioseop_options );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
}
|
139 |
}
|
140 |
|
161 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
162 |
update_option( 'aioseop_options', $aioseop_options );
|
163 |
$aiosp->update_class_option( $aioseop_options );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
}
|
165 |
}
|
166 |
|
183 |
$aioseop_options['modules']['aiosp_bad_robots_options']['aiosp_bad_robots_blocklist'] = $list;
|
184 |
update_option( 'aioseop_options', $aioseop_options );
|
185 |
$aiosp->update_class_option( $aioseop_options );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
}
|
187 |
}
|
188 |
|
js/modules/aioseop_module.js
CHANGED
@@ -245,7 +245,11 @@ jQuery( document ).ready(function() {
|
|
245 |
});
|
246 |
|
247 |
/**
|
248 |
-
* @
|
|
|
|
|
|
|
|
|
249 |
*
|
250 |
*/
|
251 |
jQuery(document).ready(function($){
|
245 |
});
|
246 |
|
247 |
/**
|
248 |
+
* @summary Javascript for using WP media uploader
|
249 |
+
*
|
250 |
+
* @see http://www.webmaster-source.com/2013/02/06/using-the-wordpress-3-5-media-uploader-in-your-plugin-or-theme/
|
251 |
+
* @since ?
|
252 |
+
* @since 2.3.11.2 Use WP 3.5 new media uploader
|
253 |
*
|
254 |
*/
|
255 |
jQuery(document).ready(function($){
|
modules/aioseop_opengraph.php
CHANGED
@@ -11,6 +11,8 @@ if ( ! class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
|
|
11 |
var $type;
|
12 |
|
13 |
function __construct() {
|
|
|
|
|
14 |
$this->name = __( 'Social Meta', 'all-in-one-seo-pack' ); // Human-readable name of the plugin
|
15 |
$this->prefix = 'aiosp_opengraph_'; // option prefix
|
16 |
$this->file = __FILE__; // the current file
|
@@ -1424,5 +1426,22 @@ END;
|
|
1424 |
function settings_update() {
|
1425 |
|
1426 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1427 |
}
|
1428 |
}
|
11 |
var $type;
|
12 |
|
13 |
function __construct() {
|
14 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'og_admin_enqueue_scripts' ) );
|
15 |
+
|
16 |
$this->name = __( 'Social Meta', 'all-in-one-seo-pack' ); // Human-readable name of the plugin
|
17 |
$this->prefix = 'aiosp_opengraph_'; // option prefix
|
18 |
$this->file = __FILE__; // the current file
|
1426 |
function settings_update() {
|
1427 |
|
1428 |
}
|
1429 |
+
|
1430 |
+
/**
|
1431 |
+
* Enqueue our file upload scripts and styles.
|
1432 |
+
* @param $hook
|
1433 |
+
*/
|
1434 |
+
function og_admin_enqueue_scripts($hook){
|
1435 |
+
|
1436 |
+
if ( 'all-in-one-seo_page_aiosp_opengraph' != $hook ) {
|
1437 |
+
// Only enqueue if we're on the social module settings page.
|
1438 |
+
return;
|
1439 |
+
}
|
1440 |
+
|
1441 |
+
wp_enqueue_script('media-upload');
|
1442 |
+
wp_enqueue_script('thickbox');
|
1443 |
+
wp_enqueue_style('thickbox');
|
1444 |
+
wp_enqueue_media();
|
1445 |
+
}
|
1446 |
}
|
1447 |
}
|
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.7
|
7 |
-
Stable tag: 2.3.11.
|
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.7
|
7 |
+
Stable tag: 2.3.11.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|