Version Description
- Fix warning for undefined index
- Fix support for multisite
Download this release
Release Info
| Developer | ViktorFroberg |
| Plugin | |
| Version | 1.2.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.1 to 1.2.2
- readme.txt +5 -1
- yoast-seo-acf-content-analysis.php +12 -7
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ 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.2
|
| 6 |
-
Stable tag: 1.2.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -36,6 +36,10 @@ add_filter('ysacf_exclude_fields', function(){
|
|
| 36 |
|
| 37 |
== Changelog ==
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
= 1.2.1 =
|
| 40 |
* Bugfix for Yoast SEO Premium
|
| 41 |
|
| 3 |
Tags: Angry Creative, Yoast SEO, Yoast, SEO, ACF, Advanced Custom Fields
|
| 4 |
Requires at least: 4.0
|
| 5 |
Tested up to: 4.4.2
|
| 6 |
+
Stable tag: 1.2.2
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 36 |
|
| 37 |
== Changelog ==
|
| 38 |
|
| 39 |
+
= 1.2.2 =
|
| 40 |
+
* Fix warning for undefined index
|
| 41 |
+
* Fix support for multisite
|
| 42 |
+
|
| 43 |
= 1.2.1 =
|
| 44 |
* Bugfix for Yoast SEO Premium
|
| 45 |
|
yoast-seo-acf-content-analysis.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 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.2.
|
| 7 |
Author: ViktorFroberg, marol87, pekz0r, angrycreative
|
| 8 |
Author URI: http://angrycreative.se
|
| 9 |
License: GPL
|
|
@@ -28,7 +28,7 @@ class AC_Yoast_SEO_ACF_Content_Analysis
|
|
| 28 |
* @since 0.1.0
|
| 29 |
* @var string
|
| 30 |
*/
|
| 31 |
-
const VERSION = '1.2.
|
| 32 |
/**
|
| 33 |
* Unique identifier for the plugin.
|
| 34 |
* This value is used as the text domain when internationalizing strings of text. It should
|
|
@@ -45,7 +45,7 @@ class AC_Yoast_SEO_ACF_Content_Analysis
|
|
| 45 |
* @since 1.1.0
|
| 46 |
* @var string
|
| 47 |
*/
|
| 48 |
-
private $pagenow;
|
| 49 |
|
| 50 |
/**
|
| 51 |
* variable containing places where the plugin will fetch acf data
|
|
@@ -62,13 +62,14 @@ class AC_Yoast_SEO_ACF_Content_Analysis
|
|
| 62 |
|
| 63 |
function __construct(){
|
| 64 |
|
| 65 |
-
|
| 66 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
|
| 67 |
add_action( 'admin_print_scripts-post-new.php', array($this, 'enqueue_admin_scripts') , 999 );
|
| 68 |
add_action( 'admin_print_scripts-post.php', array($this, 'enqueue_admin_scripts'), 999 );
|
| 69 |
add_action( 'wp_ajax_' . $this->plugin_slug . '_get_fields', array($this, 'ajax_get_fields') );
|
| 70 |
-
|
| 71 |
-
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
function get_excluded_fields() {
|
| 74 |
return apply_filters( 'ysacf_exclude_fields', array() );
|
|
@@ -164,4 +165,8 @@ class AC_Yoast_SEO_ACF_Content_Analysis
|
|
| 164 |
|
| 165 |
}
|
| 166 |
|
| 167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 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.2.2
|
| 7 |
Author: ViktorFroberg, marol87, pekz0r, angrycreative
|
| 8 |
Author URI: http://angrycreative.se
|
| 9 |
License: GPL
|
| 28 |
* @since 0.1.0
|
| 29 |
* @var string
|
| 30 |
*/
|
| 31 |
+
const VERSION = '1.2.2';
|
| 32 |
/**
|
| 33 |
* Unique identifier for the plugin.
|
| 34 |
* This value is used as the text domain when internationalizing strings of text. It should
|
| 45 |
* @since 1.1.0
|
| 46 |
* @var string
|
| 47 |
*/
|
| 48 |
+
private $pagenow = '';
|
| 49 |
|
| 50 |
/**
|
| 51 |
* variable containing places where the plugin will fetch acf data
|
| 62 |
|
| 63 |
function __construct(){
|
| 64 |
|
|
|
|
| 65 |
add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
|
| 66 |
add_action( 'admin_print_scripts-post-new.php', array($this, 'enqueue_admin_scripts') , 999 );
|
| 67 |
add_action( 'admin_print_scripts-post.php', array($this, 'enqueue_admin_scripts'), 999 );
|
| 68 |
add_action( 'wp_ajax_' . $this->plugin_slug . '_get_fields', array($this, 'ajax_get_fields') );
|
| 69 |
+
if(isset($GLOBALS['pagenow'])) {
|
| 70 |
+
$this->pagenow = $GLOBALS['pagenow'];
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
}
|
| 74 |
function get_excluded_fields() {
|
| 75 |
return apply_filters( 'ysacf_exclude_fields', array() );
|
| 165 |
|
| 166 |
}
|
| 167 |
|
| 168 |
+
add_action( 'plugins_loaded', 'init_ysacf' );
|
| 169 |
+
|
| 170 |
+
function init_ysacf() {
|
| 171 |
+
new AC_Yoast_SEO_ACF_Content_Analysis();
|
| 172 |
+
}
|
