ACF Content Analysis for Yoast SEO - Version 2.7

Version Description

Download this release

Release Info

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

Code changes from version 2.6 to 2.7

inc/dependencies/dependency-yoast-seo.php CHANGED
@@ -10,7 +10,7 @@
10
  */
11
  final class Yoast_ACF_Analysis_Dependency_Yoast_SEO implements Yoast_ACF_Analysis_Dependency {
12
 
13
- const MINIMAL_REQUIRED_VERSION = 14.6;
14
 
15
  /**
16
  * Checks if this dependency is met.
10
  */
11
  final class Yoast_ACF_Analysis_Dependency_Yoast_SEO implements Yoast_ACF_Analysis_Dependency {
12
 
13
+ const MINIMAL_REQUIRED_VERSION = 14.9;
14
 
15
  /**
16
  * Checks if this dependency is met.
js/src/main.js CHANGED
@@ -1,12 +1,10 @@
1
- /* global jQuery, YoastSEO, YoastACFAnalysis: true */
2
  /* exported YoastACFAnalysis */
3
 
4
  var App = require( "./app.js" );
5
 
6
- ( function( $ ) {
7
- $( document ).ready( function() {
8
- if ( "undefined" !== typeof YoastSEO ) {
9
- YoastACFAnalysis = new App();
10
- }
11
- } );
12
- }( jQuery ) );
1
+ /* global jQuery, YoastSEO, wp, YoastACFAnalysis: true */
2
  /* exported YoastACFAnalysis */
3
 
4
  var App = require( "./app.js" );
5
 
6
+ wp.domReady( function() {
7
+ if ( "undefined" !== typeof YoastSEO ) {
8
+ YoastACFAnalysis = new App();
9
+ }
10
+ } );
 
 
js/yoast-acf-analysis.js CHANGED
@@ -411,18 +411,16 @@ module.exports = {
411
  };
412
 
413
  },{"./config/config.js":7}],9:[function(require,module,exports){
414
- /* global jQuery, YoastSEO, YoastACFAnalysis: true */
415
  /* exported YoastACFAnalysis */
416
 
417
  var App = require( "./app.js" );
418
 
419
- ( function( $ ) {
420
- $( document ).ready( function() {
421
- if ( "undefined" !== typeof YoastSEO ) {
422
- YoastACFAnalysis = new App();
423
- }
424
- } );
425
- }( jQuery ) );
426
 
427
  },{"./app.js":1}],10:[function(require,module,exports){
428
  /* global _, jQuery, YoastSEO, YoastReplaceVarPlugin */
411
  };
412
 
413
  },{"./config/config.js":7}],9:[function(require,module,exports){
414
+ /* global jQuery, YoastSEO, wp, YoastACFAnalysis: true */
415
  /* exported YoastACFAnalysis */
416
 
417
  var App = require( "./app.js" );
418
 
419
+ wp.domReady( function() {
420
+ if ( "undefined" !== typeof YoastSEO ) {
421
+ YoastACFAnalysis = new App();
422
+ }
423
+ } );
 
 
424
 
425
  },{"./app.js":1}],10:[function(require,module,exports){
426
  /* global _, jQuery, YoastSEO, YoastReplaceVarPlugin */
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Contributors: yoast, angrycreative, kraftner, marcusforsberg, viktorfroberg, joostdevalk, atimmer, jipmoors, theorboman
3
  Tags: Yoast, SEO, ACF, Advanced Custom Fields, analysis, Search Engine Optimization
4
  Requires at least: 5.2
5
- Tested up to: 5.4
6
  License: GPLv3
7
  License URI: http://www.gnu.org/licenses/gpl.html
8
- Stable tag: 2.6
9
  Requires PHP: 5.6.20
10
 
11
  WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
@@ -55,6 +55,15 @@ Previously called Yoast ACF Analysis.
55
 
56
  == Changelog ==
57
 
 
 
 
 
 
 
 
 
 
58
  = 2.6.0 =
59
 
60
  Released August 4th, 2020
2
  Contributors: yoast, angrycreative, kraftner, marcusforsberg, viktorfroberg, joostdevalk, atimmer, jipmoors, theorboman
3
  Tags: Yoast, SEO, ACF, Advanced Custom Fields, analysis, Search Engine Optimization
4
  Requires at least: 5.2
5
+ Tested up to: 5.5
6
  License: GPLv3
7
  License URI: http://www.gnu.org/licenses/gpl.html
8
+ Stable tag: 2.7
9
  Requires PHP: 5.6.20
10
 
11
  WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
55
 
56
  == Changelog ==
57
 
58
+ = 2.7.0 =
59
+
60
+ Released September 1st, 2020
61
+
62
+ Other:
63
+
64
+ * Compatibility with Yoast SEO 14.9.
65
+
66
+
67
  = 2.6.0 =
68
 
69
  Released August 4th, 2020
tests/php/unit/Configuration/configuration-test.php CHANGED
@@ -7,8 +7,8 @@ use Brain\Monkey\Filters;
7
  use Brain\Monkey\Functions;
8
  use PHPUnit\Framework\TestCase;
9
  use Yoast_ACF_Analysis_Configuration;
10
- use Yoast_ACF_Analysis_String_Store;
11
  use Yoast_ACF_Analysis_Facade;
 
12
 
13
  /**
14
  * Class Configuration_Test.
7
  use Brain\Monkey\Functions;
8
  use PHPUnit\Framework\TestCase;
9
  use Yoast_ACF_Analysis_Configuration;
 
10
  use Yoast_ACF_Analysis_Facade;
11
+ use Yoast_ACF_Analysis_String_Store;
12
 
13
  /**
14
  * Class Configuration_Test.
tests/php/unit/Dependencies/yoast-seo-dependency-test.php CHANGED
@@ -64,7 +64,7 @@ class Yoast_SEO_Dependency_Test extends TestCase {
64
  * @return void
65
  */
66
  public function testPass() {
67
- \define( 'WPSEO_VERSION', '14.6.0' );
68
 
69
  $testee = new Yoast_ACF_Analysis_Dependency_Yoast_SEO();
70
  $this->assertTrue( $testee->is_met() );
64
  * @return void
65
  */
66
  public function testPass() {
67
+ \define( 'WPSEO_VERSION', '14.9.0' );
68
 
69
  $testee = new Yoast_ACF_Analysis_Dependency_Yoast_SEO();
70
  $this->assertTrue( $testee->is_met() );
tests/php/unit/main-test.php CHANGED
@@ -2,11 +2,11 @@
2
 
3
  namespace Yoast\WP\ACF\Tests;
4
 
 
5
  use Brain\Monkey;
6
  use PHPUnit\Framework\TestCase;
7
- use Yoast_ACF_Analysis_Facade;
8
- use AC_Yoast_SEO_ACF_Content_Analysis;
9
  use Yoast_ACF_Analysis_Configuration;
 
10
 
11
  /**
12
  * Class Main_Test.
2
 
3
  namespace Yoast\WP\ACF\Tests;
4
 
5
+ use AC_Yoast_SEO_ACF_Content_Analysis;
6
  use Brain\Monkey;
7
  use PHPUnit\Framework\TestCase;
 
 
8
  use Yoast_ACF_Analysis_Configuration;
9
+ use Yoast_ACF_Analysis_Facade;
10
 
11
  /**
12
  * Class Main_Test.
tests/php/unit/registry-test.php CHANGED
@@ -3,10 +3,10 @@
3
  namespace Yoast\WP\ACF\Tests;
4
 
5
  use PHPUnit\Framework\TestCase;
6
- use Yoast_ACF_Analysis_Facade;
7
  use Yoast_ACF_Analysis_Configuration;
8
- use Yoast_ACF_Analysis_String_Store;
9
  use Yoast_ACF_Analysis_Registry;
 
10
 
11
  /**
12
  * Class Registry_Test.
3
  namespace Yoast\WP\ACF\Tests;
4
 
5
  use PHPUnit\Framework\TestCase;
 
6
  use Yoast_ACF_Analysis_Configuration;
7
+ use Yoast_ACF_Analysis_Facade;
8
  use Yoast_ACF_Analysis_Registry;
9
+ use Yoast_ACF_Analysis_String_Store;
10
 
11
  /**
12
  * Class Registry_Test.
tests/php/unit/requirements-test.php CHANGED
@@ -5,9 +5,9 @@ namespace Yoast\WP\ACF\Tests;
5
  use Brain\Monkey;
6
  use Brain\Monkey\Functions;
7
  use PHPUnit\Framework\TestCase;
8
- use Yoast_ACF_Analysis_Requirements;
9
- use Yoast\WP\ACF\Tests\Doubles\Passing_Dependency;
10
  use Yoast\WP\ACF\Tests\Doubles\Failing_Dependency;
 
 
11
 
12
  /**
13
  * Class Requirements_Test.
5
  use Brain\Monkey;
6
  use Brain\Monkey\Functions;
7
  use PHPUnit\Framework\TestCase;
 
 
8
  use Yoast\WP\ACF\Tests\Doubles\Failing_Dependency;
9
+ use Yoast\WP\ACF\Tests\Doubles\Passing_Dependency;
10
+ use Yoast_ACF_Analysis_Requirements;
11
 
12
  /**
13
  * Class Requirements_Test.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3c0f22cfa32bf6c5ef3cf407ce90f0f9::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit39bd3b2754fd891472148a5e48601316::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3c0f22cfa32bf6c5ef3cf407ce90f0f9
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit3c0f22cfa32bf6c5ef3cf407ce90f0f9
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit3c0f22cfa32bf6c5ef3cf407ce90f0f9', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit3c0f22cfa32bf6c5ef3cf407ce90f0f9', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit39bd3b2754fd891472148a5e48601316
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit39bd3b2754fd891472148a5e48601316', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit39bd3b2754fd891472148a5e48601316', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit39bd3b2754fd891472148a5e48601316::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -126,9 +126,9 @@ class ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9
126
  public static function getInitializer(ClassLoader $loader)
127
  {
128
  return \Closure::bind(function () use ($loader) {
129
- $loader->prefixLengthsPsr4 = ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9::$prefixLengthsPsr4;
130
- $loader->prefixDirsPsr4 = ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9::$prefixDirsPsr4;
131
- $loader->classMap = ComposerStaticInit3c0f22cfa32bf6c5ef3cf407ce90f0f9::$classMap;
132
 
133
  }, null, ClassLoader::class);
134
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit39bd3b2754fd891472148a5e48601316
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
126
  public static function getInitializer(ClassLoader $loader)
127
  {
128
  return \Closure::bind(function () use ($loader) {
129
+ $loader->prefixLengthsPsr4 = ComposerStaticInit39bd3b2754fd891472148a5e48601316::$prefixLengthsPsr4;
130
+ $loader->prefixDirsPsr4 = ComposerStaticInit39bd3b2754fd891472148a5e48601316::$prefixDirsPsr4;
131
+ $loader->classMap = ComposerStaticInit39bd3b2754fd891472148a5e48601316::$classMap;
132
 
133
  }, null, ClassLoader::class);
134
  }
yoast-acf-analysis.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: ACF Content Analysis for Yoast SEO
9
  * Plugin URI: https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
10
  * Description: Ensure that Yoast SEO analyzes all Advanced Custom Fields 4 and 5 content including Flexible Content and Repeaters.
11
- * Version: 2.6
12
  * Author: Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast
13
  * Author URI: http://angrycreative.se
14
  * License: GPL v3
8
  * Plugin Name: ACF Content Analysis for Yoast SEO
9
  * Plugin URI: https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
10
  * Description: Ensure that Yoast SEO analyzes all Advanced Custom Fields 4 and 5 content including Flexible Content and Repeaters.
11
+ * Version: 2.7
12
  * Author: Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast
13
  * Author URI: http://angrycreative.se
14
  * License: GPL v3