All in One SEO Pack - Version 2.2.7.6.1

Version Description

Download this release

Release Info

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

Code changes from version 2.2.7.5 to 2.2.7.6.1

Files changed (76) hide show
  1. aioseop_class.php +46 -8
  2. aioseop_functions.php +11 -2
  3. aioseop_opengraph.php +12 -6
  4. all-in-one-seo-pack-cs_CZ.mo +0 -0
  5. all-in-one-seo-pack-de_DE.mo +0 -0
  6. all-in-one-seo-pack-es_ES.mo +0 -0
  7. all-in-one-seo-pack-fr_FR.mo +0 -0
  8. all-in-one-seo-pack-he_IL.mo +0 -0
  9. all-in-one-seo-pack-hi_IN.mo +0 -0
  10. all-in-one-seo-pack-it_IT.mo +0 -0
  11. all-in-one-seo-pack-nl_NL.mo +0 -0
  12. all-in-one-seo-pack-pt_BR.mo +0 -0
  13. all-in-one-seo-pack-ro_RO.mo +0 -0
  14. all-in-one-seo-pack-ru_RU.mo +0 -0
  15. all-in-one-seo-pack-zh_CN.mo +0 -0
  16. all-in-one-seo-pack-zh_TW.mo +0 -0
  17. all_in_one_seo_pack.php +7 -6
  18. all-in-one-seo-pack-ar.mo → languages/all-in-one-seo-pack-ar.mo +0 -0
  19. languages/all-in-one-seo-pack-arq.mo +0 -0
  20. languages/all-in-one-seo-pack-az.mo +0 -0
  21. languages/all-in-one-seo-pack-az_TR.mo +0 -0
  22. all-in-one-seo-pack-bg_BG.mo → languages/all-in-one-seo-pack-bg_BG.mo +0 -0
  23. all-in-one-seo-pack-bg_NO.mo → languages/all-in-one-seo-pack-bg_NO.mo +0 -0
  24. languages/all-in-one-seo-pack-ceb.mo +0 -0
  25. languages/all-in-one-seo-pack-cs_CZ.mo +0 -0
  26. all-in-one-seo-pack-da_DK.mo → languages/all-in-one-seo-pack-da_DK.mo +0 -0
  27. languages/all-in-one-seo-pack-de_DE.mo +0 -0
  28. languages/all-in-one-seo-pack-el.mo +0 -0
  29. languages/all-in-one-seo-pack-en_AU.mo +0 -0
  30. languages/all-in-one-seo-pack-en_CA.mo +0 -0
  31. languages/all-in-one-seo-pack-en_GB.mo +0 -0
  32. languages/all-in-one-seo-pack-en_ZA.mo +0 -0
  33. languages/all-in-one-seo-pack-eo.mo +0 -0
  34. languages/all-in-one-seo-pack-es_AR.mo +0 -0
  35. languages/all-in-one-seo-pack-es_CL.mo +0 -0
  36. languages/all-in-one-seo-pack-es_CO.mo +0 -0
  37. languages/all-in-one-seo-pack-es_ES.mo +0 -0
  38. languages/all-in-one-seo-pack-es_MX.mo +0 -0
  39. languages/all-in-one-seo-pack-es_PE.mo +0 -0
  40. languages/all-in-one-seo-pack-es_PR.mo +0 -0
  41. languages/all-in-one-seo-pack-es_VE.mo +0 -0
  42. all-in-one-seo-pack-fa_IR.mo → languages/all-in-one-seo-pack-fa_IR.mo +0 -0
  43. languages/all-in-one-seo-pack-fr_BE.mo +0 -0
  44. languages/all-in-one-seo-pack-fr_CA.mo +0 -0
  45. languages/all-in-one-seo-pack-fr_FR.mo +0 -0
  46. languages/all-in-one-seo-pack-he_IL.mo +0 -0
  47. languages/all-in-one-seo-pack-hi_IN.mo +0 -0
  48. languages/all-in-one-seo-pack-hr.mo +0 -0
  49. all-in-one-seo-pack-hu_HU.mo → languages/all-in-one-seo-pack-hu_HU.mo +0 -0
  50. languages/all-in-one-seo-pack-id_ID.mo +0 -0
  51. languages/all-in-one-seo-pack-it_IT.mo +0 -0
  52. all-in-one-seo-pack-ja.mo → languages/all-in-one-seo-pack-ja.mo +0 -0
  53. all-in-one-seo-pack-ko_KR.mo → languages/all-in-one-seo-pack-ko_KR.mo +0 -0
  54. languages/all-in-one-seo-pack-nb_NO.mo +0 -0
  55. languages/all-in-one-seo-pack-nl_BE.mo +0 -0
  56. languages/all-in-one-seo-pack-nl_NL.mo +0 -0
  57. languages/all-in-one-seo-pack-nn_NO.mo +0 -0
  58. languages/all-in-one-seo-pack-oci.mo +0 -0
  59. languages/all-in-one-seo-pack-pa_IN.mo +0 -0
  60. all-in-one-seo-pack-pl_PL.mo → languages/all-in-one-seo-pack-pl_PL.mo +0 -0
  61. languages/all-in-one-seo-pack-pt_BR.mo +0 -0
  62. languages/all-in-one-seo-pack-pt_PT.mo +0 -0
  63. languages/all-in-one-seo-pack-ro_RO.mo +0 -0
  64. languages/all-in-one-seo-pack-ru_RU.mo +0 -0
  65. languages/all-in-one-seo-pack-ru_UA.mo +0 -0
  66. all-in-one-seo-pack-sk_SK.mo → languages/all-in-one-seo-pack-sk_SK.mo +0 -0
  67. languages/all-in-one-seo-pack-sq.mo +0 -0
  68. languages/all-in-one-seo-pack-sr_RS.mo +0 -0
  69. languages/all-in-one-seo-pack-sv_SE.mo +0 -0
  70. all-in-one-seo-pack-tr_TR.mo → languages/all-in-one-seo-pack-tr_TR.mo +0 -0
  71. all-in-one-seo-pack-uk.mo → languages/all-in-one-seo-pack-uk.mo +0 -0
  72. languages/all-in-one-seo-pack-vi.mo +0 -0
  73. languages/all-in-one-seo-pack-zh_CN.mo +0 -0
  74. languages/all-in-one-seo-pack-zh_TW.mo +0 -0
  75. quickedit_functions.js +12 -0
  76. readme.txt +6 -3
aioseop_class.php CHANGED
@@ -464,22 +464,18 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
464
  "cpostnoindex" => Array(
465
  'name' => __( 'Default to NOINDEX:', 'all-in-one-seo-pack' ),
466
  'type' => 'multicheckbox', 'default' => array(),
467
- 'condshow' => Array( 'aiosp_enablecpost' => 'on' )
468
  ),
469
  "cpostnofollow" => Array(
470
  'name' => __( 'Default to NOFOLLOW:', 'all-in-one-seo-pack' ),
471
  'type' => 'multicheckbox', 'default' => array(),
472
- 'condshow' => Array( 'aiosp_enablecpost' => 'on' )
473
  ),
474
  "cpostnoodp"=> Array(
475
  'name' => __( 'Default to NOODP:', 'all-in-one-seo-pack' ),
476
  'type' => 'multicheckbox', 'default' => array(),
477
- 'condshow' => Array( 'aiosp_enablecpost' => 'on' )
478
  ),
479
  "cpostnoydir"=> Array(
480
  'name' => __( 'Default to NOYDIR:', 'all-in-one-seo-pack' ),
481
  'type' => 'multicheckbox', 'default' => array(),
482
- 'condshow' => Array( 'aiosp_enablecpost' => 'on' )
483
  ),
484
  "cposttitles" => Array(
485
  'name' => __( 'Custom titles:', 'all-in-one-seo-pack' ),
@@ -796,6 +792,7 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
796
  add_action( "aioseop_global_settings_header", Array( $this, 'display_right_sidebar' ) );
797
  add_action( "aioseop_global_settings_footer", Array( $this, 'display_settings_footer' ) );
798
  add_action( "output_option", Array( $this, 'custom_output_option' ), 10, 2 );
 
799
  }
800
  }
801
 
@@ -1634,6 +1631,29 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1634
  return Array( 'publisher' => $publisher, 'author' => $author );
1635
  }
1636
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1637
  function get_robots_meta() {
1638
  global $aioseop_options;
1639
  $opts = $this->meta_opts;
@@ -1691,11 +1711,11 @@ class All_in_One_SEO_Pack extends All_in_One_SEO_Pack_Module {
1691
  $description = '';
1692
  if ( is_author() && $this->show_page_description() ) {
1693
  $description = $this->internationalize( get_the_author_meta( 'description' ) );
1694
- } else if ( is_front_page() ) {
1695
- $description = $this->get_aioseop_description( $post );
1696
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
1697
  $description = $this->get_post_description( $post );
1698
  $description = $this->apply_cf_fields( $description );
 
 
1699
  } else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
1700
  $description = $this->get_aioseop_description( $post );
1701
  } else if ( ( is_category() || is_tag() || is_tax() ) && $this->show_page_description() ) {
@@ -2829,7 +2849,23 @@ EOF;
2829
  }
2830
  if (empty( $title ) )
2831
  $title = $this->internationalize( get_option( 'blogname' ) ) . ' | ' . $this->internationalize( get_bloginfo( 'description' ) );
2832
- return $this->paged_title( $title );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2833
  } else if ( is_attachment() ) {
2834
  if ( $post === null ) return false;
2835
  $title = get_post_meta( $post->ID, "_aioseop_title", true );
@@ -2871,6 +2907,7 @@ EOF;
2871
  return $title;
2872
  }
2873
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
 
2874
  $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
2875
  if ( !$title ) $title = $this->internationalize( $post->post_title );
2876
  if ( !$title ) $title = $this->internationalize( $this->get_original_title( '', false ) );
@@ -3382,7 +3419,8 @@ EOF;
3382
 
3383
  add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 );
3384
  do_action( 'aioseop_modules_add_menus', $file );
3385
-
 
3386
  $metaboxes = apply_filters( 'aioseop_add_post_metabox', Array() );
3387
  if ( !empty( $metaboxes ) ) {
3388
  if ( $this->tabbed_metaboxes ) {
464
  "cpostnoindex" => Array(
465
  'name' => __( 'Default to NOINDEX:', 'all-in-one-seo-pack' ),
466
  'type' => 'multicheckbox', 'default' => array(),
 
467
  ),
468
  "cpostnofollow" => Array(
469
  'name' => __( 'Default to NOFOLLOW:', 'all-in-one-seo-pack' ),
470
  'type' => 'multicheckbox', 'default' => array(),
 
471
  ),
472
  "cpostnoodp"=> Array(
473
  'name' => __( 'Default to NOODP:', 'all-in-one-seo-pack' ),
474
  'type' => 'multicheckbox', 'default' => array(),
 
475
  ),
476
  "cpostnoydir"=> Array(
477
  'name' => __( 'Default to NOYDIR:', 'all-in-one-seo-pack' ),
478
  'type' => 'multicheckbox', 'default' => array(),
 
479
  ),
480
  "cposttitles" => Array(
481
  'name' => __( 'Custom titles:', 'all-in-one-seo-pack' ),
792
  add_action( "aioseop_global_settings_header", Array( $this, 'display_right_sidebar' ) );
793
  add_action( "aioseop_global_settings_footer", Array( $this, 'display_settings_footer' ) );
794
  add_action( "output_option", Array( $this, 'custom_output_option' ), 10, 2 );
795
+ add_action('all_admin_notices', array( $this, 'visibility_warning'));
796
  }
797
  }
798
 
1631
  return Array( 'publisher' => $publisher, 'author' => $author );
1632
  }
1633
 
1634
+ function visibility_warning() {
1635
+
1636
+ $aioseop_visibility_notice_dismissed = get_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed', true );
1637
+
1638
+ if ( '0' == get_option('blog_public') && empty( $aioseop_visibility_notice_dismissed ) ) {
1639
+
1640
+ printf( '
1641
+ <div id="message" class="error notice is-dismissible aioseop-notice">
1642
+ <p>
1643
+ <strong>%1$s</strong>
1644
+ %2$s
1645
+
1646
+ </p>
1647
+ </div>',
1648
+ __( 'Warning: You\'re blocking access to search engines.', 'all-in-one-seo-pack' ),
1649
+ sprintf( __( 'You can %s click here%s to go to your reading settings and toggle your blog visibility.', 'all-in-one-seo-pack' ), sprintf( '<a href="%s">', esc_url( admin_url( 'options-reading.php' ) ) ), '</a>' ));
1650
+
1651
+ }elseif( '1' == get_option('blog_public') && !empty( $aioseop_visibility_notice_dismissed ) ){
1652
+ delete_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed' );
1653
+ }
1654
+ }
1655
+
1656
+
1657
  function get_robots_meta() {
1658
  global $aioseop_options;
1659
  $opts = $this->meta_opts;
1711
  $description = '';
1712
  if ( is_author() && $this->show_page_description() ) {
1713
  $description = $this->internationalize( get_the_author_meta( 'description' ) );
 
 
1714
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
1715
  $description = $this->get_post_description( $post );
1716
  $description = $this->apply_cf_fields( $description );
1717
+ } else if ( is_front_page() ) {
1718
+ $description = $this->get_aioseop_description( $post );
1719
  } else if ( is_single() || is_page() || is_attachment() || is_home() || $this->is_static_posts_page() ) {
1720
  $description = $this->get_aioseop_description( $post );
1721
  } else if ( ( is_category() || is_tag() || is_tax() ) && $this->show_page_description() ) {
2849
  }
2850
  if (empty( $title ) )
2851
  $title = $this->internationalize( get_option( 'blogname' ) ) . ' | ' . $this->internationalize( get_bloginfo( 'description' ) );
2852
+ global $post;
2853
+ $post_id = $post->ID;
2854
+ if ( is_post_type_archive() && is_post_type_archive( 'product' ) && $post_id = woocommerce_get_page_id( 'shop' ) && $post = get_post( $post_id ) ){
2855
+ $frontpage_id = get_option('page_on_front');
2856
+ $title = $this->internationalize( get_post_meta( $frontpage_id, "_aioseop_title", true ) );
2857
+ if ( !$title ) $title = $this->internationalize( $post->post_title );
2858
+ if ( !$title ) $title = $this->internationalize( $this->get_original_title( '', false ) );
2859
+ $title = $this->apply_page_title_format( $title, $post );
2860
+ $title = $this->paged_title( $title );
2861
+ $title = apply_filters( 'aioseop_title_page', $title );
2862
+ return $title;
2863
+
2864
+ }
2865
+
2866
+
2867
+
2868
+ return $this->paged_title( $title ); //this is returned for woo
2869
  } else if ( is_attachment() ) {
2870
  if ( $post === null ) return false;
2871
  $title = get_post_meta( $post->ID, "_aioseop_title", true );
2907
  return $title;
2908
  }
2909
  } else if ( function_exists( 'woocommerce_get_page_id' ) && is_post_type_archive( 'product' ) && ( $post_id = woocommerce_get_page_id( 'shop' ) ) && ( $post = get_post( $post_id ) ) ) {
2910
+ //too far down? -mrt
2911
  $title = $this->internationalize( get_post_meta( $post->ID, "_aioseop_title", true ) );
2912
  if ( !$title ) $title = $this->internationalize( $post->post_title );
2913
  if ( !$title ) $title = $this->internationalize( $this->get_original_title( '', false ) );
3419
 
3420
  add_action( 'aioseop_modules_add_menus', Array( $this, 'add_menu' ), 5 );
3421
  do_action( 'aioseop_modules_add_menus', $file );
3422
+
3423
+
3424
  $metaboxes = apply_filters( 'aioseop_add_post_metabox', Array() );
3425
  if ( !empty( $metaboxes ) ) {
3426
  if ( $this->tabbed_metaboxes ) {
aioseop_functions.php CHANGED
@@ -215,9 +215,11 @@ if ( !function_exists( 'aioseop_admin_head' ) ) {
215
 
216
  if ( !function_exists( 'aioseop_handle_ignore_notice' ) ) {
217
  function aioseop_handle_ignore_notice() {
 
218
  if ( !empty( $_GET ) ) {
219
  global $current_user;
220
- $user_id = $current_user->ID;
 
221
  if ( !empty( $_GET["aioseop_reset_notices"] ) ) {
222
  delete_user_meta( $user_id, 'aioseop_ignore_notice' );
223
  }
@@ -710,6 +712,8 @@ if ( !function_exists( 'aioseop_load_json_services' ) ) {
710
  }
711
  }
712
 
 
 
713
  if ( !function_exists( 'json_encode' ) ) {
714
  function json_encode( $arg ) {
715
  $services_json = aioseop_load_json_services();
@@ -755,4 +759,9 @@ if ( !function_exists( 'parse_ini_string' ) ) {
755
  parse_ini_filter::$buf = $string;
756
  return parse_ini_file( "php://filter/read=parse_ini/resource=php://memory", $process_sections );
757
  }
758
- }
 
 
 
 
 
215
 
216
  if ( !function_exists( 'aioseop_handle_ignore_notice' ) ) {
217
  function aioseop_handle_ignore_notice() {
218
+
219
  if ( !empty( $_GET ) ) {
220
  global $current_user;
221
+ $user_id = $current_user->ID;
222
+
223
  if ( !empty( $_GET["aioseop_reset_notices"] ) ) {
224
  delete_user_meta( $user_id, 'aioseop_ignore_notice' );
225
  }
712
  }
713
  }
714
 
715
+
716
+
717
  if ( !function_exists( 'json_encode' ) ) {
718
  function json_encode( $arg ) {
719
  $services_json = aioseop_load_json_services();
759
  parse_ini_filter::$buf = $string;
760
  return parse_ini_file( "php://filter/read=parse_ini/resource=php://memory", $process_sections );
761
  }
762
+ }
763
+
764
+ function aioseop_update_user_visibilitynotice(){
765
+
766
+ update_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed', true );
767
+ }
aioseop_opengraph.php CHANGED
@@ -77,7 +77,8 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
77
 
78
  $this->help_text = Array(
79
  "setmeta" => __( "Checking this box will use the Home Title and Home Description set in All in One SEO Pack, General Settings as the Open Graph title and description for your home page.", 'all-in-one-seo-pack' ),
80
- "key" => __( "Your Profile Admin ID is your Facebook profile ID. You can find out your Facebook ID using the lookup tool here: https://graph.facebook.com/yourusername", 'all-in-one-seo-pack' ),
 
81
  "title_shortcodes" => __( "Run shortcodes that appear in social title meta tags.", 'all-in-one-seo-pack' ),
82
  "description_shortcodes"=> __( "Run shortcodes that appear in social description meta tags.", 'all-in-one-seo-pack' ),
83
  "sitename" => __( "The Site Name is the name that is used to identify your website.", 'all-in-one-seo-pack' ),
@@ -134,7 +135,8 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
134
  'fallback' => '#use-default-if-no-image-found',
135
  'dimg' => '#default-og-image',
136
  'meta_key' => '#use-custom-field-for-image',
137
- 'key' => '#profile-admins-id',
 
138
  'categories' => '#facebook-object-type',
139
  'facebook_publisher' => '#show-facebook-publisher-on-articles',
140
  'facebook_author' => '#show-facebook-author-on-articles',
@@ -149,9 +151,10 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
149
 
150
  $count_desc = __( " characters. Open Graph allows up to a maximum of %s chars for the %s.", 'all-in-one-seo-pack' );
151
  $this->default_options = array(
152
- 'scan_header'=> Array( 'name' => __( 'Scan Header', 'all-in-one-seo-pack' ), 'type' => 'custom', 'save' => true ),
153
  'setmeta' => Array( 'name' => __( 'Use AIOSEO Title and Description', 'all-in-one-seo-pack'), 'type' => 'checkbox' ),
154
- 'key' => Array( 'name' => __( 'Profile Admins ID', 'all-in-one-seo-pack'), 'default' => '', 'type' => 'text' ),
 
155
  'title_shortcodes' => Array('name' => __( 'Run Shortcodes In Title', 'all-in-one-seo-pack' ) ),
156
  'description_shortcodes' => Array('name' => __( 'Run Shortcodes In Description', 'all-in-one-seo-pack' ) ),
157
  'sitename' => Array( 'name' => __( 'Site Name', 'all-in-one-seo-pack' ), 'default' => get_bloginfo('name'), 'type' => 'text' ),
@@ -249,7 +252,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
249
 
250
  $this->locations = array(
251
  'opengraph' => Array( 'name' => $this->name, 'prefix' => 'aiosp_', 'type' => 'settings',
252
- 'options' => Array('scan_header', 'setmeta', 'key', 'sitename', 'title_shortcodes', 'description_shortcodes', 'hometitle', 'description', 'homeimage', 'hometag', 'generate_descriptions', 'defimg',
253
  'fallback', 'dimg', 'dimgwidth', 'dimgheight', 'meta_key', 'categories', 'defcard', 'profile_links', 'person_or_org', 'social_name', 'twitter_site', 'twitter_creator', 'twitter_domain', 'gen_tags', 'gen_keywords', 'gen_categories',
254
  'gen_post_tags', 'types', 'facebook_publisher', 'facebook_author' ) ),
255
  'settings' => Array( 'name' => __('Social Settings', 'all-in-one-seo-pack'),
@@ -283,7 +286,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
283
  'facebook' => Array(
284
  'name' => __( 'Facebook Settings', 'all-in-one-seo-pack' ),
285
  'help_link' => 'http://semperplugins.com/documentation/social-meta-module/',
286
- 'options' => Array( 'key', 'types', 'gen_tags', 'gen_keywords', 'gen_categories', 'gen_post_tags', 'categories', 'facebook_publisher', 'facebook_author' )
287
  ),
288
  'twitter' => Array(
289
  'name' => __( 'Twitter Settings', 'all-in-one-seo-pack' ),
@@ -480,6 +483,8 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
480
  $type = $this->type;
481
  $sitename = $this->options['aiosp_opengraph_sitename'];
482
 
 
 
483
  if ( !empty( $aioseop_options['aiosp_hide_paginated_descriptions'] ) ) {
484
  $first_page = false;
485
  if ( $aiosp->get_page_number() < 2 ) $first_page = true;
@@ -720,6 +725,7 @@ if ( !class_exists( 'All_in_One_SEO_Pack_Opengraph' ) ) {
720
  'videoheight' => 'og:video:height',
721
  'sitename' => 'og:site_name',
722
  'key' => 'fb:admins',
 
723
  'description' => 'og:description',
724
  'section' => 'article:section',
725
  'tag' => 'article:tag',
77
 
78
  $this->help_text = Array(
79
  "setmeta" => __( "Checking this box will use the Home Title and Home Description set in All in One SEO Pack, General Settings as the Open Graph title and description for your home page.", 'all-in-one-seo-pack' ),
80
+ "key" => __( "Enter your Facebook Admin ID here. Information about how to get your Facebook Admin ID can be found at https://developers.facebook.com/docs/platforminsights/domains", 'all-in-one-seo-pack' ),
81
+ "appid" => __( "Enter your Facebook App ID here. Information about how to get your Facebook App ID can be found at https://developers.facebook.com/docs/platforminsights/domains", 'all-in-one-seo-pack'),
82
  "title_shortcodes" => __( "Run shortcodes that appear in social title meta tags.", 'all-in-one-seo-pack' ),
83
  "description_shortcodes"=> __( "Run shortcodes that appear in social description meta tags.", 'all-in-one-seo-pack' ),
84
  "sitename" => __( "The Site Name is the name that is used to identify your website.", 'all-in-one-seo-pack' ),
135
  'fallback' => '#use-default-if-no-image-found',
136
  'dimg' => '#default-og-image',
137
  'meta_key' => '#use-custom-field-for-image',
138
+ 'key' => '#facebook-admin-id',
139
+ 'appid' => '#facebook-app-id',
140
  'categories' => '#facebook-object-type',
141
  'facebook_publisher' => '#show-facebook-publisher-on-articles',
142
  'facebook_author' => '#show-facebook-author-on-articles',
151
 
152
  $count_desc = __( " characters. Open Graph allows up to a maximum of %s chars for the %s.", 'all-in-one-seo-pack' );
153
  $this->default_options = array(
154
+ 'scan_header' => Array( 'name' => __( 'Scan Header', 'all-in-one-seo-pack' ), 'type' => 'custom', 'save' => true ),
155
  'setmeta' => Array( 'name' => __( 'Use AIOSEO Title and Description', 'all-in-one-seo-pack'), 'type' => 'checkbox' ),
156
+ 'key' => Array( 'name' => __( 'Facebook Admin ID', 'all-in-one-seo-pack'), 'default' => '', 'type' => 'text' ),
157
+ 'appid' => Array( 'name' => __( 'Facebook App ID', 'all-in-one-seo-pack'), 'default' => '', 'type' => 'text'),
158
  'title_shortcodes' => Array('name' => __( 'Run Shortcodes In Title', 'all-in-one-seo-pack' ) ),
159
  'description_shortcodes' => Array('name' => __( 'Run Shortcodes In Description', 'all-in-one-seo-pack' ) ),
160
  'sitename' => Array( 'name' => __( 'Site Name', 'all-in-one-seo-pack' ), 'default' => get_bloginfo('name'), 'type' => 'text' ),
252
 
253
  $this->locations = array(
254
  'opengraph' => Array( 'name' => $this->name, 'prefix' => 'aiosp_', 'type' => 'settings',
255
+ 'options' => Array('scan_header', 'setmeta', 'key', 'appid', 'sitename', 'title_shortcodes', 'description_shortcodes', 'hometitle', 'description', 'homeimage', 'hometag', 'generate_descriptions', 'defimg',
256
  'fallback', 'dimg', 'dimgwidth', 'dimgheight', 'meta_key', 'categories', 'defcard', 'profile_links', 'person_or_org', 'social_name', 'twitter_site', 'twitter_creator', 'twitter_domain', 'gen_tags', 'gen_keywords', 'gen_categories',
257
  'gen_post_tags', 'types', 'facebook_publisher', 'facebook_author' ) ),
258
  'settings' => Array( 'name' => __('Social Settings', 'all-in-one-seo-pack'),
286
  'facebook' => Array(
287
  'name' => __( 'Facebook Settings', 'all-in-one-seo-pack' ),
288
  'help_link' => 'http://semperplugins.com/documentation/social-meta-module/',
289
+ 'options' => Array( 'key', 'appid', 'types', 'gen_tags', 'gen_keywords', 'gen_categories', 'gen_post_tags', 'categories', 'facebook_publisher', 'facebook_author' )
290
  ),
291
  'twitter' => Array(
292
  'name' => __( 'Twitter Settings', 'all-in-one-seo-pack' ),
483
  $type = $this->type;
484
  $sitename = $this->options['aiosp_opengraph_sitename'];
485
 
486
+ $appid = $this->options['aiosp_opengraph_appid'];
487
+
488
  if ( !empty( $aioseop_options['aiosp_hide_paginated_descriptions'] ) ) {
489
  $first_page = false;
490
  if ( $aiosp->get_page_number() < 2 ) $first_page = true;
725
  'videoheight' => 'og:video:height',
726
  'sitename' => 'og:site_name',
727
  'key' => 'fb:admins',
728
+ 'appid' => 'fb:app_id',
729
  'description' => 'og:description',
730
  'section' => 'article:section',
731
  'tag' => 'article:tag',
all-in-one-seo-pack-cs_CZ.mo DELETED
Binary file
all-in-one-seo-pack-de_DE.mo DELETED
Binary file
all-in-one-seo-pack-es_ES.mo DELETED
Binary file
all-in-one-seo-pack-fr_FR.mo DELETED
Binary file
all-in-one-seo-pack-he_IL.mo DELETED
Binary file
all-in-one-seo-pack-hi_IN.mo DELETED
Binary file
all-in-one-seo-pack-it_IT.mo DELETED
Binary file
all-in-one-seo-pack-nl_NL.mo DELETED
Binary file
all-in-one-seo-pack-pt_BR.mo DELETED
Binary file
all-in-one-seo-pack-ro_RO.mo DELETED
Binary file
all-in-one-seo-pack-ru_RU.mo DELETED
Binary file
all-in-one-seo-pack-zh_CN.mo DELETED
Binary file
all-in-one-seo-pack-zh_TW.mo DELETED
Binary file
all_in_one_seo_pack.php CHANGED
@@ -2,16 +2,16 @@
2
  /*
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: http://semperfiwebdesign.com
5
- Description: Out-of-the-box SEO for your WordPress blog. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">Options configuration panel</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">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://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
- Version: 2.2.7.5
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
 
10
  */
11
 
12
  /*
13
- Copyright (C) 2008-2015 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)
14
- Original code by uberdose of uberdose.com
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31
 
32
  /**
33
  * @package All-in-One-SEO-Pack
34
- * @version 2.2.7.5
35
  */
36
 
37
  if ( ! defined( 'ABSPATH' ) ) return;
@@ -42,7 +42,7 @@ if ( ! defined( 'AIOSEOP_PLUGIN_NAME' ) )
42
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
43
 
44
  if ( ! defined( 'AIOSEOP_VERSION' ) )
45
- define( 'AIOSEOP_VERSION', '2.2.7.5' );
46
 
47
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
48
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
@@ -185,6 +185,7 @@ if ( is_admin() ) {
185
  add_action( 'wp_ajax_aioseop_ajax_scan_header', 'aioseop_ajax_scan_header' );
186
  add_action( 'wp_ajax_aioseop_ajax_save_settings', 'aioseop_ajax_save_settings');
187
  add_action( 'wp_ajax_aioseop_ajax_get_menu_links', 'aioseop_ajax_get_menu_links');
 
188
  }
189
 
190
  if ( !function_exists( 'aioseop_scan_post_header' ) ) {
2
  /*
3
  Plugin Name: All In One SEO Pack
4
  Plugin URI: http://semperfiwebdesign.com
5
+ Description: Out-of-the-box SEO for your WordPress blog. <a href="admin.php?page=all-in-one-seo-pack/aioseop_class.php">SEO Settings</a> | <a href="http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/?loc=plugins" target="_blank">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://semperplugins.com/support/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
6
+ Version: 2.2.7.6.1
7
  Author: Michael Torbert
8
  Author URI: http://michaeltorbert.com
9
  Text Domain: all-in-one-seo-pack
10
+ Domain Path: /languages/
11
  */
12
 
13
  /*
14
+ Copyright (C) 2007-2015 Michael Torbert, semperfiwebdesign.com (michael AT semperfiwebdesign DOT com)
 
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License as published by
31
 
32
  /**
33
  * @package All-in-One-SEO-Pack
34
+ * @version 2.2.7.6.1
35
  */
36
 
37
  if ( ! defined( 'ABSPATH' ) ) return;
42
  define( 'AIOSEOP_PLUGIN_NAME', $aioseop_plugin_name );
43
 
44
  if ( ! defined( 'AIOSEOP_VERSION' ) )
45
+ define( 'AIOSEOP_VERSION', '2.2.7.6.1' );
46
 
47
  if ( ! defined( 'AIOSEOP_PLUGIN_DIR' ) ) {
48
  define( 'AIOSEOP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
185
  add_action( 'wp_ajax_aioseop_ajax_scan_header', 'aioseop_ajax_scan_header' );
186
  add_action( 'wp_ajax_aioseop_ajax_save_settings', 'aioseop_ajax_save_settings');
187
  add_action( 'wp_ajax_aioseop_ajax_get_menu_links', 'aioseop_ajax_get_menu_links');
188
+ add_action( 'wp_ajax_aioseo_dismiss_visibility_notice' , 'aioseop_update_user_visibilitynotice') ;
189
  }
190
 
191
  if ( !function_exists( 'aioseop_scan_post_header' ) ) {
all-in-one-seo-pack-ar.mo → languages/all-in-one-seo-pack-ar.mo RENAMED
File without changes
languages/all-in-one-seo-pack-arq.mo ADDED
Binary file
languages/all-in-one-seo-pack-az.mo ADDED
Binary file
languages/all-in-one-seo-pack-az_TR.mo ADDED
Binary file
all-in-one-seo-pack-bg_BG.mo → languages/all-in-one-seo-pack-bg_BG.mo RENAMED
File without changes
all-in-one-seo-pack-bg_NO.mo → languages/all-in-one-seo-pack-bg_NO.mo RENAMED
File without changes
languages/all-in-one-seo-pack-ceb.mo ADDED
Binary file
languages/all-in-one-seo-pack-cs_CZ.mo ADDED
Binary file
all-in-one-seo-pack-da_DK.mo → languages/all-in-one-seo-pack-da_DK.mo RENAMED
File without changes
languages/all-in-one-seo-pack-de_DE.mo ADDED
Binary file
languages/all-in-one-seo-pack-el.mo ADDED
Binary file
languages/all-in-one-seo-pack-en_AU.mo ADDED
Binary file
languages/all-in-one-seo-pack-en_CA.mo ADDED
Binary file
languages/all-in-one-seo-pack-en_GB.mo ADDED
Binary file
languages/all-in-one-seo-pack-en_ZA.mo ADDED
Binary file
languages/all-in-one-seo-pack-eo.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_AR.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_CL.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_CO.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_ES.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_MX.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_PE.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_PR.mo ADDED
Binary file
languages/all-in-one-seo-pack-es_VE.mo ADDED
Binary file
all-in-one-seo-pack-fa_IR.mo → languages/all-in-one-seo-pack-fa_IR.mo RENAMED
File without changes
languages/all-in-one-seo-pack-fr_BE.mo ADDED
Binary file
languages/all-in-one-seo-pack-fr_CA.mo ADDED
Binary file
languages/all-in-one-seo-pack-fr_FR.mo ADDED
Binary file
languages/all-in-one-seo-pack-he_IL.mo ADDED
Binary file
languages/all-in-one-seo-pack-hi_IN.mo ADDED
Binary file
languages/all-in-one-seo-pack-hr.mo ADDED
Binary file
all-in-one-seo-pack-hu_HU.mo → languages/all-in-one-seo-pack-hu_HU.mo RENAMED
File without changes
languages/all-in-one-seo-pack-id_ID.mo ADDED
Binary file
languages/all-in-one-seo-pack-it_IT.mo ADDED
Binary file
all-in-one-seo-pack-ja.mo → languages/all-in-one-seo-pack-ja.mo RENAMED
File without changes
all-in-one-seo-pack-ko_KR.mo → languages/all-in-one-seo-pack-ko_KR.mo RENAMED
File without changes
languages/all-in-one-seo-pack-nb_NO.mo ADDED
Binary file
languages/all-in-one-seo-pack-nl_BE.mo ADDED
Binary file
languages/all-in-one-seo-pack-nl_NL.mo ADDED
Binary file
languages/all-in-one-seo-pack-nn_NO.mo ADDED
Binary file
languages/all-in-one-seo-pack-oci.mo ADDED
Binary file
languages/all-in-one-seo-pack-pa_IN.mo ADDED
Binary file
all-in-one-seo-pack-pl_PL.mo → languages/all-in-one-seo-pack-pl_PL.mo RENAMED
File without changes
languages/all-in-one-seo-pack-pt_BR.mo ADDED
Binary file
languages/all-in-one-seo-pack-pt_PT.mo ADDED
Binary file
languages/all-in-one-seo-pack-ro_RO.mo ADDED
Binary file
languages/all-in-one-seo-pack-ru_RU.mo ADDED
Binary file
languages/all-in-one-seo-pack-ru_UA.mo ADDED
Binary file
all-in-one-seo-pack-sk_SK.mo → languages/all-in-one-seo-pack-sk_SK.mo RENAMED
File without changes
languages/all-in-one-seo-pack-sq.mo ADDED
Binary file
languages/all-in-one-seo-pack-sr_RS.mo ADDED
Binary file
languages/all-in-one-seo-pack-sv_SE.mo ADDED
Binary file
all-in-one-seo-pack-tr_TR.mo → languages/all-in-one-seo-pack-tr_TR.mo RENAMED
File without changes
all-in-one-seo-pack-uk.mo → languages/all-in-one-seo-pack-uk.mo RENAMED
File without changes
languages/all-in-one-seo-pack-vi.mo ADDED
Binary file
languages/all-in-one-seo-pack-zh_CN.mo ADDED
Binary file
languages/all-in-one-seo-pack-zh_TW.mo ADDED
Binary file
quickedit_functions.js CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  function aioseop_ajax_edit_meta_form( post_id, meta, nonce ) {
2
  var uform = jQuery('#aioseop_'+meta+'_' + post_id);
3
  var post_title = jQuery('#aioseop_label_' + meta + '_' + post_id).text();
1
+ jQuery(document).on( 'click', '.aioseop-notice .notice-dismiss', function() {
2
+
3
+ jQuery.ajax({
4
+ url: ajaxurl,
5
+ data: {
6
+ action: 'aioseo_dismiss_visibility_notice'
7
+ }
8
+ })
9
+
10
+ })
11
+
12
+
13
  function aioseop_ajax_edit_meta_form( post_id, meta, nonce ) {
14
  var uform = jQuery('#aioseop_'+meta+'_' + post_id);
15
  var post_title = jQuery('#aioseop_label_' + meta + '_' + post_id).text();
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === All in One SEO Pack ===
2
  Contributors: hallsofmontezuma, wpsmort
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: seo, all in one seo pack, search engine optimization, google
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
- Stable tag: 2.2.7.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -18,13 +18,15 @@ All in One SEO Pack **Optimizes** your WordPress blog for SEO (**Search Engine O
18
 
19
  [Premium Support](http://semperplugins.com/support/)
20
 
 
 
21
  * XML Sitemap support - submit your sitemap to Google and Bing and improve your SEO
22
  * Google Analytics support
23
  * Support for SEO on Custom Post Types
24
  * Advanced Canonical URLs
25
  * Fine tune Page Navigational Links
26
  * Built-in API so other plugins/themes can access and extend functionality
27
- * ONLY plugin to provide SEO Integration for WP e-Commerce sites
28
  * Nonce Security built into All in One SEO Pack
29
  * Support for CMS-style WordPress installations
30
  * Automatically optimizes your **titles** for Google and other search engines
@@ -34,6 +36,7 @@ All in One SEO Pack **Optimizes** your WordPress blog for SEO (**Search Engine O
34
  * For advanced users, you can fine-tune everything to optimize your SEO
35
  * You can override any title and set any META description and any META keywords you want.
36
  * Compatibility with many other plugins
 
37
 
38
 
39
  Follow me on Twitter to keep up with the latest updates [Michael
1
  === All in One SEO Pack ===
2
  Contributors: hallsofmontezuma, wpsmort
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: seo, all in one seo, search engine optimization, google, sitemap
5
  Requires at least: 3.3
6
  Tested up to: 4.4
7
+ Stable tag: 2.2.7.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
18
 
19
  [Premium Support](http://semperplugins.com/support/)
20
 
21
+ First created in 2007, see why AIOSEO is the most downloaded plugin for WordPress.
22
+
23
  * XML Sitemap support - submit your sitemap to Google and Bing and improve your SEO
24
  * Google Analytics support
25
  * Support for SEO on Custom Post Types
26
  * Advanced Canonical URLs
27
  * Fine tune Page Navigational Links
28
  * Built-in API so other plugins/themes can access and extend functionality
29
+ * ONLY free plugin to provide SEO Integration for e-Commerce sites, including WooCommerce
30
  * Nonce Security built into All in One SEO Pack
31
  * Support for CMS-style WordPress installations
32
  * Automatically optimizes your **titles** for Google and other search engines
36
  * For advanced users, you can fine-tune everything to optimize your SEO
37
  * You can override any title and set any META description and any META keywords you want.
38
  * Compatibility with many other plugins
39
+ * Translated into 57 languages
40
 
41
 
42
  Follow me on Twitter to keep up with the latest updates [Michael