All in One SEO Pack - Version 1.6.11.1

Version Description

Download this release

Release Info

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

Code changes from version 1.6.11 to 1.6.11.1

Files changed (3) hide show
  1. aioseop.class.php +83 -79
  2. all_in_one_seo_pack.php +11 -11
  3. readme.txt +1 -1
aioseop.class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
- var $version = "1.6.11";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
@@ -1296,7 +1296,7 @@ if (function_exists('load_plugin_textdomain')) {
1296
  $file = 'all-in-one-seo-pack/all_in_one_seo_pack.php';
1297
  }
1298
  //add_management_page(__('All in One SEO Title', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 10, $file, array($this, 'management_panel'));
1299
- add_submenu_page('options-general.php', __('All in One SEO', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 10, $file, array($this, 'options_panel'));
1300
  }
1301
 
1302
  function management_panel() {
@@ -1334,87 +1334,91 @@ if (function_exists('load_plugin_textdomain')) {
1334
  $aioseop_options['aiosp_cap_cats'] = '1';
1335
  }
1336
 
1337
- if ($_POST['action'] && $_POST['action'] == 'aiosp_update' && $_POST['Submit_Default']!='') {
1338
- $nonce = $_POST['nonce-aioseop'];
1339
- if (!wp_verify_nonce($nonce, 'aioseop-nonce')) die ( 'Security Check - If you receive this in error, log out and back in to WordPress');
1340
- $message = __("All in One SEO Options Reset.", 'all_in_one_seo_pack');
1341
- delete_option('aioseop_options');
1342
- $res_aioseop_options = array(
1343
- "aiosp_can"=>1,
1344
- "aiosp_donate"=>0,
1345
- "aiosp_home_title"=>null,
1346
- "aiosp_home_description"=>'',
1347
- "aiosp_home_keywords"=>null,
1348
- "aiosp_max_words_excerpt"=>'something',
1349
- "aiosp_rewrite_titles"=>1,
1350
- "aiosp_post_title_format"=>'%post_title% | %blog_title%',
1351
- "aiosp_page_title_format"=>'%page_title% | %blog_title%',
1352
- "aiosp_category_title_format"=>'%category_title% | %blog_title%',
1353
- "aiosp_archive_title_format"=>'%date% | %blog_title%',
1354
- "aiosp_tag_title_format"=>'%tag% | %blog_title%',
1355
- "aiosp_search_title_format"=>'%search% | %blog_title%',
1356
- "aiosp_description_format"=>'%description%',
1357
- "aiosp_404_title_format"=>'Nothing found for %request_words%',
1358
- "aiosp_paged_format"=>' - Part %page%',
1359
- "aiosp_use_categories"=>0,
1360
- "aiosp_dynamic_postspage_keywords"=>1,
1361
- "aiosp_category_noindex"=>1,
1362
- "aiosp_archive_noindex"=>1,
1363
- "aiosp_tags_noindex"=>0,
1364
- "aiosp_cap_cats"=>1,
1365
- "aiosp_generate_descriptions"=>1,
1366
- "aiosp_debug_info"=>null,
1367
- "aiosp_post_meta_tags"=>'',
1368
- "aiosp_page_meta_tags"=>'',
1369
- "aiosp_home_meta_tags"=>'',
1370
- "aiosp_enabled" =>0,
1371
- "aiosp_use_tags_as_keywords" =>1,
1372
- "aiosp_do_log"=>null);
1373
- update_option('aioseop_options', $res_aioseop_options);
1374
- }
 
 
1375
 
1376
  // update options
1377
- if ($_POST['action'] && $_POST['action'] == 'aiosp_update' && $_POST['Submit']!='') {
1378
- $nonce = $_POST['nonce-aioseop'];
1379
- if (!wp_verify_nonce($nonce, 'aioseop-nonce')) die ( 'Security Check - If you receive this in error, log out and back in to WordPress');
1380
- $message = __("All in One SEO Options Updated.", 'all_in_one_seo_pack');
1381
- $aioseop_options['aiosp_can'] = $_POST['aiosp_can'];
1382
- $aioseop_options['aiosp_donate'] = $_POST['aiosp_donate'];
1383
- $aioseop_options['aiosp_home_title'] = $_POST['aiosp_home_title'];
1384
- $aioseop_options['aiosp_home_description'] = $_POST['aiosp_home_description'];
1385
- $aioseop_options['aiosp_home_keywords'] = $_POST['aiosp_home_keywords'];
1386
- $aioseop_options['aiosp_max_words_excerpt'] = $_POST['aiosp_max_words_excerpt'];
1387
- $aioseop_options['aiosp_rewrite_titles'] = $_POST['aiosp_rewrite_titles'];
1388
- $aioseop_options['aiosp_post_title_format'] = $_POST['aiosp_post_title_format'];
1389
- $aioseop_options['aiosp_page_title_format'] = $_POST['aiosp_page_title_format'];
1390
- $aioseop_options['aiosp_category_title_format'] = $_POST['aiosp_category_title_format'];
1391
- $aioseop_options['aiosp_archive_title_format'] = $_POST['aiosp_archive_title_format'];
1392
- $aioseop_options['aiosp_tag_title_format'] = $_POST['aiosp_tag_title_format'];
1393
- $aioseop_options['aiosp_search_title_format'] = $_POST['aiosp_search_title_format'];
1394
- $aioseop_options['aiosp_description_format'] = $_POST['aiosp_description_format'];
1395
- $aioseop_options['aiosp_404_title_format'] = $_POST['aiosp_404_title_format'];
1396
- $aioseop_options['aiosp_paged_format'] = $_POST['aiosp_paged_format'];
1397
- $aioseop_options['aiosp_use_categories'] = $_POST['aiosp_use_categories'];
1398
- $aioseop_options['aiosp_dynamic_postspage_keywords'] = $_POST['aiosp_dynamic_postspage_keywords'];
1399
- $aioseop_options['aiosp_category_noindex'] = $_POST['aiosp_category_noindex'];
1400
- $aioseop_options['aiosp_archive_noindex'] = $_POST['aiosp_archive_noindex'];
1401
- $aioseop_options['aiosp_tags_noindex'] = $_POST['aiosp_tags_noindex'];
1402
- $aioseop_options['aiosp_generate_descriptions'] = $_POST['aiosp_generate_descriptions'];
1403
- $aioseop_options['aiosp_cap_cats'] = $_POST['aiosp_cap_cats'];
1404
- $aioseop_options['aiosp_debug_info'] = $_POST['aiosp_debug_info'];
1405
- $aioseop_options['aiosp_post_meta_tags'] = $_POST['aiosp_post_meta_tags'];
1406
- $aioseop_options['aiosp_page_meta_tags'] = $_POST['aiosp_page_meta_tags'];
1407
- $aioseop_options['aiosp_home_meta_tags'] = $_POST['aiosp_home_meta_tags'];
1408
- $aioseop_options['aiosp_ex_pages'] = $_POST['aiosp_ex_pages'];
1409
- $aioseop_options['aiosp_do_log'] = $_POST['aiosp_do_log'];
1410
- $aioseop_options['aiosp_enabled'] = $_POST['aiosp_enabled'];
1411
- $aioseop_options['aiosp_use_tags_as_keywords'] = $_POST['aiosp_use_tags_as_keywords'];
 
1412
 
1413
- update_option('aioseop_options', $aioseop_options);
1414
 
1415
- if (function_exists('wp_cache_flush')) {
1416
- wp_cache_flush();
1417
- }
 
1418
  } /*elseif ($_POST['aiosp_upgrade']) {
1419
  $message = __("Upgraded to newest version. Please revisit the options page to make sure you see the newest version.", 'all_in_one_seo_pack');
1420
  $success = $this->install_newest_version();
2
 
3
  class All_in_One_SEO_Pack {
4
 
5
+ var $version = "1.6.11.1";
6
 
7
  /** Max numbers of chars in auto-generated description */
8
  var $maximum_description_length = 160;
1296
  $file = 'all-in-one-seo-pack/all_in_one_seo_pack.php';
1297
  }
1298
  //add_management_page(__('All in One SEO Title', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 10, $file, array($this, 'management_panel'));
1299
+ add_submenu_page('options-general.php', __('All in One SEO', 'all_in_one_seo_pack'), __('All in One SEO', 'all_in_one_seo_pack'), 'manage_options', $file, array($this, 'options_panel'));
1300
  }
1301
 
1302
  function management_panel() {
1334
  $aioseop_options['aiosp_cap_cats'] = '1';
1335
  }
1336
 
1337
+
1338
+ if (isset($_POST['action']) && $_POST['action'] == 'aiosp_update' && isset($_POST['Submit_Default'])) {
1339
+ $nonce = $_POST['nonce-aioseop'];
1340
+ if (!wp_verify_nonce($nonce, 'aioseop-nonce')) die ( 'Security Check - If you receive this in error, log out and back in to WordPress');
1341
+ $message = __("All in One SEO Options Reset.", 'all_in_one_seo_pack');
1342
+ delete_option('aioseop_options');
1343
+ $res_aioseop_options = array(
1344
+ "aiosp_can"=>1,
1345
+ "aiosp_donate"=>0,
1346
+ "aiosp_home_title"=>null,
1347
+ "aiosp_home_description"=>'',
1348
+ "aiosp_home_keywords"=>null,
1349
+ "aiosp_max_words_excerpt"=>'something',
1350
+ "aiosp_rewrite_titles"=>1,
1351
+ "aiosp_post_title_format"=>'%post_title% | %blog_title%',
1352
+ "aiosp_page_title_format"=>'%page_title% | %blog_title%',
1353
+ "aiosp_category_title_format"=>'%category_title% | %blog_title%',
1354
+ "aiosp_archive_title_format"=>'%date% | %blog_title%',
1355
+ "aiosp_tag_title_format"=>'%tag% | %blog_title%',
1356
+ "aiosp_search_title_format"=>'%search% | %blog_title%',
1357
+ "aiosp_description_format"=>'%description%',
1358
+ "aiosp_404_title_format"=>'Nothing found for %request_words%',
1359
+ "aiosp_paged_format"=>' - Part %page%',
1360
+ "aiosp_use_categories"=>0,
1361
+ "aiosp_dynamic_postspage_keywords"=>1,
1362
+ "aiosp_category_noindex"=>1,
1363
+ "aiosp_archive_noindex"=>1,
1364
+ "aiosp_tags_noindex"=>0,
1365
+ "aiosp_cap_cats"=>1,
1366
+ "aiosp_generate_descriptions"=>1,
1367
+ "aiosp_debug_info"=>null,
1368
+ "aiosp_post_meta_tags"=>'',
1369
+ "aiosp_page_meta_tags"=>'',
1370
+ "aiosp_home_meta_tags"=>'',
1371
+ "aiosp_enabled" =>0,
1372
+ "aiosp_use_tags_as_keywords" =>1,
1373
+ "aiosp_do_log"=>null);
1374
+ update_option('aioseop_options', $res_aioseop_options);
1375
+ }
1376
+
1377
 
1378
  // update options
1379
+ if(isset($_POST['action'])){
1380
+ if ($_POST['action'] && $_POST['action'] == 'aiosp_update' && $_POST['Submit']!='') {
1381
+ $nonce = $_POST['nonce-aioseop'];
1382
+ if (!wp_verify_nonce($nonce, 'aioseop-nonce')) die ( 'Security Check - If you receive this in error, log out and back in to WordPress');
1383
+ $message = __("All in One SEO Options Updated.", 'all_in_one_seo_pack');
1384
+ $aioseop_options['aiosp_can'] = $_POST['aiosp_can'];
1385
+ $aioseop_options['aiosp_donate'] = $_POST['aiosp_donate'];
1386
+ $aioseop_options['aiosp_home_title'] = $_POST['aiosp_home_title'];
1387
+ $aioseop_options['aiosp_home_description'] = $_POST['aiosp_home_description'];
1388
+ $aioseop_options['aiosp_home_keywords'] = $_POST['aiosp_home_keywords'];
1389
+ $aioseop_options['aiosp_max_words_excerpt'] = $_POST['aiosp_max_words_excerpt'];
1390
+ $aioseop_options['aiosp_rewrite_titles'] = $_POST['aiosp_rewrite_titles'];
1391
+ $aioseop_options['aiosp_post_title_format'] = $_POST['aiosp_post_title_format'];
1392
+ $aioseop_options['aiosp_page_title_format'] = $_POST['aiosp_page_title_format'];
1393
+ $aioseop_options['aiosp_category_title_format'] = $_POST['aiosp_category_title_format'];
1394
+ $aioseop_options['aiosp_archive_title_format'] = $_POST['aiosp_archive_title_format'];
1395
+ $aioseop_options['aiosp_tag_title_format'] = $_POST['aiosp_tag_title_format'];
1396
+ $aioseop_options['aiosp_search_title_format'] = $_POST['aiosp_search_title_format'];
1397
+ $aioseop_options['aiosp_description_format'] = $_POST['aiosp_description_format'];
1398
+ $aioseop_options['aiosp_404_title_format'] = $_POST['aiosp_404_title_format'];
1399
+ $aioseop_options['aiosp_paged_format'] = $_POST['aiosp_paged_format'];
1400
+ $aioseop_options['aiosp_use_categories'] = $_POST['aiosp_use_categories'];
1401
+ $aioseop_options['aiosp_dynamic_postspage_keywords'] = $_POST['aiosp_dynamic_postspage_keywords'];
1402
+ $aioseop_options['aiosp_category_noindex'] = $_POST['aiosp_category_noindex'];
1403
+ $aioseop_options['aiosp_archive_noindex'] = $_POST['aiosp_archive_noindex'];
1404
+ $aioseop_options['aiosp_tags_noindex'] = $_POST['aiosp_tags_noindex'];
1405
+ $aioseop_options['aiosp_generate_descriptions'] = $_POST['aiosp_generate_descriptions'];
1406
+ $aioseop_options['aiosp_cap_cats'] = $_POST['aiosp_cap_cats'];
1407
+ $aioseop_options['aiosp_debug_info'] = $_POST['aiosp_debug_info'];
1408
+ $aioseop_options['aiosp_post_meta_tags'] = $_POST['aiosp_post_meta_tags'];
1409
+ $aioseop_options['aiosp_page_meta_tags'] = $_POST['aiosp_page_meta_tags'];
1410
+ $aioseop_options['aiosp_home_meta_tags'] = $_POST['aiosp_home_meta_tags'];
1411
+ $aioseop_options['aiosp_ex_pages'] = $_POST['aiosp_ex_pages'];
1412
+ $aioseop_options['aiosp_do_log'] = $_POST['aiosp_do_log'];
1413
+ $aioseop_options['aiosp_enabled'] = $_POST['aiosp_enabled'];
1414
+ $aioseop_options['aiosp_use_tags_as_keywords'] = $_POST['aiosp_use_tags_as_keywords'];
1415
 
1416
+ update_option('aioseop_options', $aioseop_options);
1417
 
1418
+ if (function_exists('wp_cache_flush')) {
1419
+ wp_cache_flush();
1420
+ }
1421
+ }
1422
  } /*elseif ($_POST['aiosp_upgrade']) {
1423
  $message = __("Upgraded to newest version. Please revisit the options page to make sure you see the newest version.", 'all_in_one_seo_pack');
1424
  $success = $this->install_newest_version();
all_in_one_seo_pack.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin Name: All in One SEO Pack
6
  Plugin URI: http://semperfiwebdesign.com
7
  Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
8
- Version: 1.6.11
9
  Author: Michael Torbert
10
  Author URI: http://michaeltorbert.com
11
  */
@@ -534,8 +534,8 @@ if(!get_option('aioseop_options')){
534
  }
535
  */
536
 
537
- if($_POST['aioseop_migrate']) aioseop_mrt_fix_meta();
538
- if($_POST['aioseop_migrate_options']) aioseop_mrt_mkarry();
539
  if(!get_option('aiosp_post_title_format') && !get_option('aioseop_options')) aioseop_mrt_mkarry();
540
 
541
  //}end _post('turn_on')
@@ -640,7 +640,7 @@ function aioseop_activate_pl(){
640
  }
641
 
642
  function aioseop_get_version(){
643
- return '1.6.11';
644
  }
645
 
646
  function add_plugin_row($links, $file) {
@@ -667,8 +667,8 @@ add_action('admin_menu', 'aioseop_mrt_nap');
667
  function aioseop_mrt_nap(){
668
  // add_object_page('All in One SEO Pack','All in One SEO Pack','administrator','aioseop','sometop2');
669
  // add_object_page('All in One SEO Pack', 'SEO', 8, "__FILE__", 'aioseop_mrt_nap_menu2a','http://65.190.51.165/aioseo/wp-content/plugins/all-in-one-seo-pack/images/globe.png');
670
- add_submenu_page("__FILE__", 'Settings', 'Settings', 8, '__FILE__', 'aioseop_mrt_nap_menu2a');
671
- add_submenu_page("__FILE__", 'Tools', 'Tools', 8, 'subpageb', 'aioseop_mrt_nap_menu2b');
672
  }
673
 
674
  function aioseop_mrt_nap_menu(){
@@ -684,11 +684,11 @@ function aioseop_mrt_nap_menu2b(){
684
  echo "here2";
685
  }
686
 
687
-
688
- if( ($_POST['aiosp_enabled'] == null && $aioseop_options['aiosp_enabled']!='1') || $_POST['aiosp_enabled']=='0'){
689
- add_action( 'admin_notices', 'aioseop_activation_notice');
690
- }
691
-
692
 
693
  // The following two functions are GPLed from Sarah G's Page Menu Editor, http://wordpress.org/extend/plugins/page-menu-editor/.
694
  function aioseop_list_pages($content){
5
  Plugin Name: All in One SEO Pack
6
  Plugin URI: http://semperfiwebdesign.com
7
  Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="http://wpplugins.com/plugin/50/all-in-one-seo-pack-pro-version">Upgrade to Pro Version</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
8
+ Version: 1.6.11.1
9
  Author: Michael Torbert
10
  Author URI: http://michaeltorbert.com
11
  */
534
  }
535
  */
536
 
537
+ if(isset($_POST['aioseop_migrate'])) aioseop_mrt_fix_meta();
538
+ if(isset($_POST['aioseop_migrate_options'])) aioseop_mrt_mkarry();
539
  if(!get_option('aiosp_post_title_format') && !get_option('aioseop_options')) aioseop_mrt_mkarry();
540
 
541
  //}end _post('turn_on')
640
  }
641
 
642
  function aioseop_get_version(){
643
+ return '1.6.11.1';
644
  }
645
 
646
  function add_plugin_row($links, $file) {
667
  function aioseop_mrt_nap(){
668
  // add_object_page('All in One SEO Pack','All in One SEO Pack','administrator','aioseop','sometop2');
669
  // add_object_page('All in One SEO Pack', 'SEO', 8, "__FILE__", 'aioseop_mrt_nap_menu2a','http://65.190.51.165/aioseo/wp-content/plugins/all-in-one-seo-pack/images/globe.png');
670
+ add_submenu_page("__FILE__", 'Settings', 'Settings', 'manage_options', '__FILE__', 'aioseop_mrt_nap_menu2a');
671
+ add_submenu_page("__FILE__", 'Tools', 'Tools', 'manage_options', 'subpageb', 'aioseop_mrt_nap_menu2b');
672
  }
673
 
674
  function aioseop_mrt_nap_menu(){
684
  echo "here2";
685
  }
686
 
687
+ if(isset($_POST['aiosp_enabled'])){
688
+ if( ($_POST['aiosp_enabled'] == null && $aioseop_options['aiosp_enabled']!='1') || $_POST['aiosp_enabled']=='0'){
689
+ add_action( 'admin_notices', 'aioseop_activation_notice');
690
+ }
691
+ }
692
 
693
  // The following two functions are GPLed from Sarah G's Page Menu Editor, http://wordpress.org/extend/plugins/page-menu-editor/.
694
  function aioseop_list_pages($content){
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: hallsofmontezuma
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: post,google,seo,meta,meta keywords,meta description,title,posts,plugin, search engine optimization
5
  Requires at least: 1.5
6
- Tested up to: 3.0 RC1
7
  Stable tag: trunk
8
 
9
  Automatically optimizes your Wordpress blog for Search Engines (Search Engine Optimization).
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
4
  Tags: post,google,seo,meta,meta keywords,meta description,title,posts,plugin, search engine optimization
5
  Requires at least: 1.5
6
+ Tested up to: 3.0
7
  Stable tag: trunk
8
 
9
  Automatically optimizes your Wordpress blog for Search Engines (Search Engine Optimization).