Glue for Yoast SEO & AMP - Version 0.4.2

Version Description

  • Bugfixes:
    • Reverts the canonical removal.
Download this release

Release Info

Developer jipmoors
Plugin Icon 128x128 Glue for Yoast SEO & AMP
Version 0.4.2
Comparing to
See all releases

Code changes from version 0.4.1 to 0.4.2

Files changed (3) hide show
  1. classes/class-frontend.php +2 -0
  2. readme.txt +5 -1
  3. yoastseo-amp.php +1 -1
classes/class-frontend.php CHANGED
@@ -159,6 +159,8 @@ if ( ! class_exists( 'YoastSEO_AMP_Frontend' ) ) {
159
  * @return array
160
  */
161
  public function fix_amp_post_data( $data ) {
 
 
162
  if ( ! empty( $this->options['amp_site_icon'] ) ) {
163
  $data['site_icon_url'] = $this->options['amp_site_icon'];
164
  }
159
  * @return array
160
  */
161
  public function fix_amp_post_data( $data ) {
162
+ $data['canonical_url'] = $this->front->canonical( false );
163
+
164
  if ( ! empty( $this->options['amp_site_icon'] ) ) {
165
  $data['site_icon_url'] = $this->options['amp_site_icon'];
166
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: joostdevalk
3
  Tags: AMP, SEO
4
  Requires at least: 4.6
5
  Tested up to: 4.7.3
6
- Stable tag: 0.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -34,6 +34,10 @@ To change your AMP page design, go to SEO -> AMP, and look at the design tab.
34
 
35
  == Changelog ==
36
 
 
 
 
 
37
  = 0.4.1 =
38
  * Bugfixes:
39
  * Fix styling of design tab.
3
  Tags: AMP, SEO
4
  Requires at least: 4.6
5
  Tested up to: 4.7.3
6
+ Stable tag: 0.4.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
34
 
35
  == Changelog ==
36
 
37
+ = 0.4.2 =
38
+ * Bugfixes:
39
+ * Reverts the canonical removal.
40
+
41
  = 0.4.1 =
42
  * Bugfixes:
43
  * Fix styling of design tab.
yoastseo-amp.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: Glue for Yoast SEO & AMP
10
  * Plugin URI: https://wordpress.org/plugins/glue-for-yoast-seo-amp/
11
  * Description: Makes sure the default WordPress AMP plugin uses the proper Yoast SEO metadata
12
- * Version: 0.4.1
13
  * Author: Joost de Valk
14
  * Author URI: https://yoast.com
15
  */
9
  * Plugin Name: Glue for Yoast SEO & AMP
10
  * Plugin URI: https://wordpress.org/plugins/glue-for-yoast-seo-amp/
11
  * Description: Makes sure the default WordPress AMP plugin uses the proper Yoast SEO metadata
12
+ * Version: 0.4.2
13
  * Author: Joost de Valk
14
  * Author URI: https://yoast.com
15
  */