ACF Content Analysis for Yoast SEO - Version 1.1.1

Version Description

  • Bugfix for undefined index
Download this release

Release Info

Developer marol87
Plugin Icon 128x128 ACF Content Analysis for Yoast SEO
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

Files changed (3) hide show
  1. README.md +4 -4
  2. readme.txt +8 -5
  3. yoast-seo-acf-content-analysis.php +4 -4
README.md CHANGED
@@ -1,11 +1,11 @@
1
- # Yoast SEO - ACF Content Analysis
2
  This plugin ensures that Yoast SEO analysize all ACF content including FlexiContent and Repeaters
3
 
4
  ## Filters
5
- `ysacf_exclude_fields`: exceclude acf fields from Yoast scoring.
6
-
7
 
8
- Example: exceclude text-color field from Yoast scoring.
 
9
 
10
  ```
11
  add_filter('ysacf_exclude_fields', function(){
1
+ # ACF-Content Analysis for Yoast SEO
2
  This plugin ensures that Yoast SEO analysize all ACF content including FlexiContent and Repeaters
3
 
4
  ## Filters
5
+ `ysacf_exclude_fields`: exclude acf fields from Yoast scoring.
 
6
 
7
+
8
+ Example: exclude text-color field from Yoast scoring.
9
 
10
  ```
11
  add_filter('ysacf_exclude_fields', function(){
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
- === Yoast SEO - ACF Content Analysis ===
2
  Contributors: viktorfroberg, marol87, pekz0r, angrycreative
3
  Tags: Angry Creative, Yoast SEO, Yoast, SEO, ACF, Advanced Custom Fields
4
  Requires at least: 4.0
5
  Tested up to: 4.4.1
6
- Stable tag: 1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- This plugin ensures that Yoast SEO analysize all ACF content including FlexiContent and Repeaters.
11
  Requires version 3.0 or later of Yoast SEO plugin.
12
 
13
  == Description ==
@@ -16,9 +16,9 @@ This plugin ensures that Yoast SEO analysize all ACF content including FlexiCont
16
  Requires version 3.0 or later of Yoast SEO plugin.
17
 
18
  = Filters =
19
- `ysacf_exclude_fields`: exceclude acf fields from Yoast scoring. Should return array of field names.
20
 
21
- Example: exceclude text-color field from Yoast scoring.
22
 
23
  `
24
  add_filter('ysacf_exclude_fields', function(){
@@ -36,6 +36,9 @@ add_filter('ysacf_exclude_fields', function(){
36
 
37
  == Changelog ==
38
 
 
 
 
39
  = 1.1.0 =
40
  * Add support for taxonomies
41
  * Bug fixes and stability improvements
1
+ === ACF-Content Analysis for Yoast SEO ===
2
  Contributors: viktorfroberg, marol87, pekz0r, angrycreative
3
  Tags: Angry Creative, Yoast SEO, Yoast, SEO, ACF, Advanced Custom Fields
4
  Requires at least: 4.0
5
  Tested up to: 4.4.1
6
+ Stable tag: 1.1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ This plugin ensures that Yoast SEO analysize all ACF content including Flexible Content and Repeaters.
11
  Requires version 3.0 or later of Yoast SEO plugin.
12
 
13
  == Description ==
16
  Requires version 3.0 or later of Yoast SEO plugin.
17
 
18
  = Filters =
19
+ `ysacf_exclude_fields`: exclude acf fields from Yoast scoring. Should return array of field names.
20
 
21
+ Example: exclude text-color field from Yoast scoring.
22
 
23
  `
24
  add_filter('ysacf_exclude_fields', function(){
36
 
37
  == Changelog ==
38
 
39
+ = 1.1.1 =
40
+ * Bugfix for undefined index
41
+
42
  = 1.1.0 =
43
  * Add support for taxonomies
44
  * Bug fixes and stability improvements
yoast-seo-acf-content-analysis.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
- Plugin Name: Yoast SEO - ACF Content Analysis
4
  Plugin URI: http://angrycreative.se
5
- Description: This plugin ensures that Yoast SEO analysize all ACF content including FlexiContent and Repeaters
6
- Version: 1.1
7
  Author: ViktorFroberg, marol87, pekz0r, angrycreative
8
  Author URI: http://angrycreative.se
9
  License: GPL
@@ -98,7 +98,7 @@ class AC_Yoast_SEO_ACF_Content_Analysis
98
 
99
  break;
100
  case 'array':
101
- if($key === 'sizes') {
102
  // put all images in img tags for scoring.
103
  $data = $data.' <img src="'.$item['sizes']['thumbnail'];
104
  } else {
1
  <?php
2
  /*
3
+ Plugin Name: ACF-Content Analysis for Yoast SEO
4
  Plugin URI: http://angrycreative.se
5
+ Description: This plugin ensures that Yoast SEO analysize all ACF content including Flexible Content and Repeaters
6
+ Version: 1.1.1
7
  Author: ViktorFroberg, marol87, pekz0r, angrycreative
8
  Author URI: http://angrycreative.se
9
  License: GPL
98
 
99
  break;
100
  case 'array':
101
+ if($key === 'sizes' && isset($item['sizes']['thumbnail'])) {
102
  // put all images in img tags for scoring.
103
  $data = $data.' <img src="'.$item['sizes']['thumbnail'];
104
  } else {