AMP for WP – Accelerated Mobile Pages - Version 0.8.5.3

Version Description

  • Canonical issue fixed for Post
Download this release

Release Info

Developer mohammed_kaludi
Plugin Icon 128x128 AMP for WP – Accelerated Mobile Pages
Version 0.8.5.3
Comparing to
See all releases

Code changes from version 0.8.5.2 to 0.8.5.3

README.md CHANGED
@@ -6,7 +6,7 @@ Contributors: mohammed_kaludi, ahmedkaludi
6
  Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin
7
  Requires at least: 3.0
8
  Tested up to: 4.6.1
9
- Stable tag: 0.8.5.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -15,7 +15,7 @@ The Must have AMP plugin for WordPress. Automatically add Accelerated Mobile Pag
15
  == Description ==
16
  Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your WordPress site. AMP WP is a plugin that needs to no configuration, just activate it and you are done.
17
 
18
- [What's New in Version 0.8.5?](http://ampforwp.com/new/) | [Priority Support](http://ampforwp.com/priority-support/) | [View Demo and Screenshot of the plugin](http://ahmedkaludi.com/accelerated-mobile-pages/)
19
 
20
  [youtube https://www.youtube.com/watch?v=zzRy6Q_VGGc]
21
 
@@ -112,6 +112,9 @@ Please check if you have "Pretty Permalinks" enabled. If not then activate it. F
112
 
113
 
114
  == Changelog ==
 
 
 
115
  = 0.8.5.2 =
116
  * Canonical issue fixed for FrontPage
117
 
6
  Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin
7
  Requires at least: 3.0
8
  Tested up to: 4.6.1
9
+ Stable tag: 0.8.5.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
15
  == Description ==
16
  Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your WordPress site. AMP WP is a plugin that needs to no configuration, just activate it and you are done.
17
 
18
+ [What's New in Version 0.8.5?](http://ampforwp.com/new/) | [Priority Support](http://ampforwp.com/priority-support/) | [View Demo](http://ampforwp.com/demo/) | [Screenshots](https://wordpress.org/plugins/accelerated-mobile-pages/screenshots/)
19
 
20
  [youtube https://www.youtube.com/watch?v=zzRy6Q_VGGc]
21
 
112
 
113
 
114
  == Changelog ==
115
+ = 0.8.5.3 =
116
+ * Canonical issue fixed for Post
117
+
118
  = 0.8.5.2 =
119
  * Canonical issue fixed for FrontPage
120
 
accelerated-moblie-pages.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accelerated Mobile Pages
4
  Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
5
  Description: AMP Toolbox - Accelerated Mobile Pages for WordPress
6
- Version: 0.8.5.2
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: http://ampforwp.com/
9
  License: GPL2
3
  Plugin Name: Accelerated Mobile Pages
4
  Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
5
  Description: AMP Toolbox - Accelerated Mobile Pages for WordPress
6
+ Version: 0.8.5.3
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: http://ampforwp.com/
9
  License: GPL2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mohammed_kaludi, ahmedkaludi
3
  Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin
4
  Requires at least: 3.0
5
  Tested up to: 4.6.1
6
- Stable tag: 0.8.5.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -12,7 +12,7 @@ The Must have AMP plugin for WordPress. Automatically add Accelerated Mobile Pag
12
  == Description ==
13
  Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your WordPress site. AMP WP is a plugin that needs to no configuration, just activate it and you are done.
14
 
15
- [What's New in Version 0.8.5?](http://ampforwp.com/new/) | [Priority Support](http://ampforwp.com/priority-support/) | [View Demo and Screenshot of the plugin](http://ahmedkaludi.com/accelerated-mobile-pages/)
16
 
17
  [youtube https://www.youtube.com/watch?v=zzRy6Q_VGGc]
18
 
@@ -109,6 +109,9 @@ Please check if you have "Pretty Permalinks" enabled. If not then activate it. F
109
 
110
 
111
  == Changelog ==
 
 
 
112
  = 0.8.5.2 =
113
  * Canonical issue fixed for FrontPage
114
 
3
  Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin
4
  Requires at least: 3.0
5
  Tested up to: 4.6.1
6
+ Stable tag: 0.8.5.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
12
  == Description ==
13
  Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your WordPress site. AMP WP is a plugin that needs to no configuration, just activate it and you are done.
14
 
15
+ [What's New in Version 0.8.5?](http://ampforwp.com/new/) | [Priority Support](http://ampforwp.com/priority-support/) | [View Demo](http://ampforwp.com/demo/) | [Screenshots](https://wordpress.org/plugins/accelerated-mobile-pages/screenshots/)
16
 
17
  [youtube https://www.youtube.com/watch?v=zzRy6Q_VGGc]
18
 
109
 
110
 
111
  == Changelog ==
112
+ = 0.8.5.3 =
113
+ * Canonical issue fixed for Post
114
+
115
  = 0.8.5.2 =
116
  * Canonical issue fixed for FrontPage
117
 
templates/features.php CHANGED
@@ -577,14 +577,14 @@ function ampforwp_rel_canonical() {
577
  add_action( 'amp_post_template_head', 'ampforwp_rel_canonical' );
578
 
579
  // 18.5. Custom Canonical for Frontpage
580
- function ampforwp_rel_canonical_frontpage() {
581
- if ( is_home() || is_front_page() )
582
- return;
583
- // $link = esc_url( get_permalink( $id ) . AMP_QUERY_VAR . '/' );
584
- $homelink = get_home_url();
585
- echo "<link rel='canonical' href='$homelink' />\n";
586
- }
587
- add_action( 'amp_post_template_head', 'ampforwp_rel_canonical_frontpage' );
588
 
589
  // 19. Remove Canonical tags
590
  function ampforwp_amp_remove_actions() {
577
  add_action( 'amp_post_template_head', 'ampforwp_rel_canonical' );
578
 
579
  // 18.5. Custom Canonical for Frontpage
580
+ //function ampforwp_rel_canonical_frontpage() {
581
+ // if ( is_home() || is_front_page() )
582
+ // return;
583
+ //// $link = esc_url( get_permalink( $id ) . AMP_QUERY_VAR . '/' );
584
+ // $homelink = get_home_url();
585
+ // echo "<link rel='canonical' href='$homelink' />\n";
586
+ //}
587
+ //add_action( 'amp_post_template_head', 'ampforwp_rel_canonical_frontpage' );
588
 
589
  // 19. Remove Canonical tags
590
  function ampforwp_amp_remove_actions() {