AMP for WP – Accelerated Mobile Pages - Version 0.9.97.13

Version Description

(27th August 2018) = * Fixed: Fatal error in ampforwp_related_post_loop_query()

Download this release

Release Info

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

Code changes from version 0.9.97.12 to 0.9.97.13

README.md CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
- Stable tag: 0.9.97.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,8 +183,12 @@ You can contact us from [here](https://ampforwp.com/contact/)
183
 
184
  == Changelog ==
185
 
 
 
 
186
  = 0.9.97.12 (27th August 2018) =
187
  * Fixed: Quote runs only in block post not on pages #2399
 
188
  * Added: Create a Sidebar option that can be used as global Sidebar #2388
189
  * Fixed: words are breaking and not readable #2441
190
  * Fixed: Text is breaking into next line while there is no space between the text in custom AMP Editor #2270
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 0.9.97.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 0.9.97.13 (27th August 2018) =
187
+ * Fixed: Fatal error in `ampforwp_related_post_loop_query()`
188
+
189
  = 0.9.97.12 (27th August 2018) =
190
  * Fixed: Quote runs only in block post not on pages #2399
191
+
192
  * Added: Create a Sidebar option that can be used as global Sidebar #2388
193
  * Fixed: words are breaking and not readable #2441
194
  * Fixed: Text is breaking into next line while there is no space between the text in custom AMP Editor #2270
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 for WP - Accelerated Mobile Pages for WordPress
6
- Version: 0.9.97.12
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
@@ -19,7 +19,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
19
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
20
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
21
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
22
- define('AMPFORWP_VERSION','0.9.97.12');
23
  // any changes to AMP_QUERY_VAR should be refelected here
24
  function ampforwp_generate_endpoint(){
25
  $ampforwp_slug = '';
3
  Plugin Name: Accelerated Mobile Pages
4
  Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
5
  Description: AMP for WP - Accelerated Mobile Pages for WordPress
6
+ Version: 0.9.97.13
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
19
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
20
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
21
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
22
+ define('AMPFORWP_VERSION','0.9.97.13');
23
  // any changes to AMP_QUERY_VAR should be refelected here
24
  function ampforwp_generate_endpoint(){
25
  $ampforwp_slug = '';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
- Stable tag: 0.9.97.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,8 +183,12 @@ You can contact us from [here](https://ampforwp.com/contact/)
183
 
184
  == Changelog ==
185
 
 
 
 
186
  = 0.9.97.12 (27th August 2018) =
187
  * Fixed: Quote runs only in block post not on pages #2399
 
188
  * Added: Create a Sidebar option that can be used as global Sidebar #2388
189
  * Fixed: words are breaking and not readable #2441
190
  * Fixed: Text is breaking into next line while there is no space between the text in custom AMP Editor #2270
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 4.9.8
7
+ Stable tag: 0.9.97.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 0.9.97.13 (27th August 2018) =
187
+ * Fixed: Fatal error in `ampforwp_related_post_loop_query()`
188
+
189
  = 0.9.97.12 (27th August 2018) =
190
  * Fixed: Quote runs only in block post not on pages #2399
191
+
192
  * Added: Create a Sidebar option that can be used as global Sidebar #2388
193
  * Fixed: words are breaking and not readable #2441
194
  * Fixed: Text is breaking into next line while there is no space between the text in custom AMP Editor #2270
templates/design-manager/swift/single.php CHANGED
@@ -189,7 +189,7 @@
189
  </div>
190
  <?php }
191
  if ( isset($redux_builder_amp['ampforwp-single-related-posts-switch']) && $redux_builder_amp['ampforwp-single-related-posts-switch'] ) {
192
- $my_query = ampforwp_related_post_loop_query();
193
  if( $my_query->have_posts() ) { $r_count = 1;?>
194
  <div class="srp">
195
  <ul class="clearfix">
@@ -430,7 +430,7 @@ do_action("ampforwp_single_design_type_handle");
430
  </div>
431
  <?php
432
  if ( isset($redux_builder_amp['ampforwp-single-related-posts-switch']) && $redux_builder_amp['ampforwp-single-related-posts-switch'] ) {
433
- $my_query = ampforwp_related_post_loop_query();
434
  if( $my_query->have_posts() ) { $r_count = 1;?>
435
  <div class="srp">
436
  <?php ampforwp_related_post(); ?>
189
  </div>
190
  <?php }
191
  if ( isset($redux_builder_amp['ampforwp-single-related-posts-switch']) && $redux_builder_amp['ampforwp-single-related-posts-switch'] ) {
192
+ $my_query = related_post_loop_query();
193
  if( $my_query->have_posts() ) { $r_count = 1;?>
194
  <div class="srp">
195
  <ul class="clearfix">
430
  </div>
431
  <?php
432
  if ( isset($redux_builder_amp['ampforwp-single-related-posts-switch']) && $redux_builder_amp['ampforwp-single-related-posts-switch'] ) {
433
+ $my_query = related_post_loop_query();
434
  if( $my_query->have_posts() ) { $r_count = 1;?>
435
  <div class="srp">
436
  <?php ampforwp_related_post(); ?>