AMP for WP – Accelerated Mobile Pages - Version 1.0.56

Version Description

(1st July 2020) = * Fixed: When gdpr option is enabled the site is becoming unclickable in browser Safari on IOS and MacOS #4542

Download this release

Release Info

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

Code changes from version 1.0.55 to 1.0.56

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: 5.4.2
7
- Stable tag: 1.0.55
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -193,6 +193,9 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
193
 
194
  == Changelog ==
195
 
 
 
 
196
  = 1.0.55 (30th June 2020) =
197
  * Improvement: Added option to change the Google theme color #4514
198
  * Improvement: Added TravelTour Theme compatibility #4540
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 5.4.2
7
+ Stable tag: 1.0.56
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
193
 
194
  == Changelog ==
195
 
196
+ = 1.0.56 (1st July 2020) =
197
+ * Fixed: When gdpr option is enabled the site is becoming unclickable in browser Safari on IOS and MacOS #4542
198
+
199
  = 1.0.55 (30th June 2020) =
200
  * Improvement: Added option to change the Google theme color #4514
201
  * Improvement: Added TravelTour Theme compatibility #4540
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: 1.0.55
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
@@ -20,7 +20,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
20
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
21
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
22
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
23
- define('AMPFORWP_VERSION','1.0.55');
24
  define('AMPFORWP_EXTENSION_DIR',plugin_dir_path(__FILE__).'includes/options/extensions');
25
  if(!defined('AMPFROWP_HOST_NAME')){
26
  $urlinfo = get_bloginfo('url');
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: 1.0.56
7
  Author: Ahmed Kaludi, Mohammed Kaludi
8
  Author URI: https://ampforwp.com/
9
  Donate link: https://www.paypal.me/Kaludi/25
20
  define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
21
  define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
22
  define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
23
+ define('AMPFORWP_VERSION','1.0.56');
24
  define('AMPFORWP_EXTENSION_DIR',plugin_dir_path(__FILE__).'includes/options/extensions');
25
  if(!defined('AMPFROWP_HOST_NAME')){
26
  $urlinfo = get_bloginfo('url');
changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = 1.0.55 (30th June 2020) =
4
  * Improvement: Added option to change the Google theme color #4514
5
  * Improvement: Added TravelTour Theme compatibility #4540
1
  == Changelog ==
2
 
3
+ = 1.0.56 (1st July 2020) =
4
+ * Fixed: When gdpr option is enabled the site is becoming unclickable in browser Safari on IOS and MacOS #4542
5
+
6
  = 1.0.55 (30th June 2020) =
7
  * Improvement: Added option to change the Google theme color #4514
8
  * Improvement: Added TravelTour Theme compatibility #4540
components/gdpr/gdpr.php CHANGED
@@ -252,6 +252,16 @@ function ampforwp_gdpr_css(){
252
  height:20px;
253
  width:100%;
254
  }
 
 
 
 
 
 
 
 
 
 
255
  <?php }
256
 
257
  function amp_consent_submission(){
252
  height:20px;
253
  width:100%;
254
  }
255
+ body[class*="amp-iso-country-"] .amp-active{
256
+ display: contents;
257
+ }
258
+ #post-consent-ui {
259
+ position: fixed;
260
+ z-index: 9999;
261
+ left: 45%;
262
+ margin-top: 10px;
263
+ top: 0;
264
+ }
265
  <?php }
266
 
267
  function amp_consent_submission(){
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: 5.4.2
7
- Stable tag: 1.0.55
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -190,6 +190,9 @@ You can contact us from [here](https://ampforwp.com/contact/)
190
 
191
  == Changelog ==
192
 
 
 
 
193
  = 1.0.55 (30th June 2020) =
194
  * Improvement: Added option to change the Google theme color #4514
195
  * Improvement: Added TravelTour Theme compatibility #4540
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 5.4.2
7
+ Stable tag: 1.0.56
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
190
 
191
  == Changelog ==
192
 
193
+ = 1.0.56 (1st July 2020) =
194
+ * Fixed: When gdpr option is enabled the site is becoming unclickable in browser Safari on IOS and MacOS #4542
195
+
196
  = 1.0.55 (30th June 2020) =
197
  * Improvement: Added option to change the Google theme color #4514
198
  * Improvement: Added TravelTour Theme compatibility #4540