AMP for WP – Accelerated Mobile Pages - Version 1.0.77.40

Version Description

(6th April 2022) = * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237 * Fixed: AMP Option panel improvements #5240

Download this release

Release Info

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

Code changes from version 1.0.77.39 to 1.0.77.40

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.9.1
7
- Stable tag: 1.0.77.39
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -197,6 +197,10 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
197
 
198
  == Changelog ==
199
 
 
 
 
 
200
  = 1.0.77.39 (5th April 2022) =
201
  * Improvements: Added New Guidelines in GDPR #5225
202
  * Improvements: Added AT internet analytics support #5233
@@ -212,8 +216,4 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
212
  * Improvements: Added The Publisher Desk Support #5213
213
  * Fixed: Displaying a blank white screen when embed URLs are used #5193
214
 
215
- 1.0.77.37.1 (4TH March 2022)
216
- * Improvements: Added new infinite scrolling experience #4791
217
- * Fixed: The links in embed URLs are not clickable #5193
218
-
219
  Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 5.9.1
7
+ Stable tag: 1.0.77.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
197
 
198
  == Changelog ==
199
 
200
+ = 1.0.77.40 (6th April 2022) =
201
+ * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
202
+ * Fixed: AMP Option panel improvements #5240
203
+
204
  = 1.0.77.39 (5th April 2022) =
205
  * Improvements: Added New Guidelines in GDPR #5225
206
  * Improvements: Added AT internet analytics support #5233
216
  * Improvements: Added The Publisher Desk Support #5213
217
  * Fixed: Displaying a blank white screen when embed URLs are used #5193
218
 
 
 
 
 
219
  Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
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.77.39
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.77.39');
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.77.40
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.77.40');
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,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 1.0.77.39 (5th April 2022) =
4
  * Improvements: Added New Guidelines in GDPR #5225
5
  * Improvements: Added AT internet analytics support #5233
1
  == Changelog ==
2
 
3
+ = 1.0.77.40 (6th April 2022) =
4
+ * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
5
+ * Fixed: AMP Option panel improvements #5240
6
+
7
  = 1.0.77.39 (5th April 2022) =
8
  * Improvements: Added New Guidelines in GDPR #5225
9
  * Improvements: Added AT internet analytics support #5233
includes/admin-script.js CHANGED
@@ -863,8 +863,6 @@ function deactivatelicence(){
863
  $(".dashicons").addClass( 'spin' );
864
  setTimeout( function() {
865
  $(".dashicons").removeClass( 'spin' );}, 3000 );
866
- lastcheck = Math.abs(lastcheck.getDate()+1)+'/'+Math.abs(lastcheck.getMonth()+1) +'/'+lastcheck.getFullYear()+' '+lastcheck.getHours()+':'+lastcheck.getMinutes()+':'+lastcheck.getSeconds();
867
- alert('Please try after '+ lastcheck);
868
  }
869
  });
870
 
863
  $(".dashicons").addClass( 'spin' );
864
  setTimeout( function() {
865
  $(".dashicons").removeClass( 'spin' );}, 3000 );
 
 
866
  }
867
  });
868
 
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.9.2
7
- Stable tag: 1.0.77.39
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -194,6 +194,10 @@ You can contact us from [here](https://ampforwp.com/contact/)
194
 
195
  == Changelog ==
196
 
 
 
 
 
197
  = 1.0.77.39 (5th April 2022) =
198
  * Improvements: Added New Guidelines in GDPR #5225
199
  * Improvements: Added AT internet analytics support #5233
@@ -209,8 +213,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
209
  * Improvements: Added The Publisher Desk Support #5213
210
  * Fixed: Displaying a blank white screen when embed URLs are used #5193
211
 
212
- 1.0.77.37.1 (4TH March 2022)
213
- * Improvements: Added new infinite scrolling experience #4791
214
- * Fixed: The links in embed URLs are not clickable #5193
215
-
216
  Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
4
  Donate link: https://www.paypal.me/Kaludi/25
5
  Requires at least: 3.0
6
  Tested up to: 5.9.2
7
+ Stable tag: 1.0.77.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
194
 
195
  == Changelog ==
196
 
197
+ = 1.0.77.40 (6th April 2022) =
198
+ * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
199
+ * Fixed: AMP Option panel improvements #5240
200
+
201
  = 1.0.77.39 (5th April 2022) =
202
  * Improvements: Added New Guidelines in GDPR #5225
203
  * Improvements: Added AT internet analytics support #5233
213
  * Improvements: Added The Publisher Desk Support #5213
214
  * Fixed: Displaying a blank white screen when embed URLs are used #5193
215
 
 
 
 
 
216
  Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
templates/features.php CHANGED
@@ -9702,7 +9702,7 @@ function ampforwp_publisher_desk_ads( $content ) {
9702
  $pub_id = $url = '';
9703
  $pub_id = ampforwp_get_setting('ampforwp-publisherdesk-id');
9704
  if (!empty($pub_id)) {
9705
- $url = 'https://publisher-desk.herokuapp.com/api/tpd-amp-tags-by-publisher-id?publisherId='. esc_html($pub_id);
9706
  }
9707
 
9708
  $data_api = wp_remote_get($url);
9702
  $pub_id = $url = '';
9703
  $pub_id = ampforwp_get_setting('ampforwp-publisherdesk-id');
9704
  if (!empty($pub_id)) {
9705
+ $url = 'https://cdn.tpdads.com/json/amp-tags/'.esc_html($pub_id).'.json';
9706
  }
9707
 
9708
  $data_api = wp_remote_get($url);