Version Description
(15th March 2021) = * Fixed: WP_Scripts Debug Warnings when WordPress updated to v5.7 #4958
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.76.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.76.6 to 1.0.76.7
- README.md +5 -2
- accelerated-moblie-pages.php +2 -2
- changelog.txt +3 -0
- includes/features/functions.php +4 -4
- readme.txt +5 -2
README.md
CHANGED
@@ -3,8 +3,8 @@ Contributors: mohammed_kaludi, ahmedkaludi, ampforwp
|
|
3 |
Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin, SEO
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.0.76.
|
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.76.6 (12th March 2021) =
|
197 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
198 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|
3 |
Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin, SEO
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 1.0.76.7
|
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.76.7 (15th March 2021) =
|
197 |
+
* Fixed: WP_Scripts Debug Warnings when WordPress updated to v5.7 #4958
|
198 |
+
|
199 |
= 1.0.76.6 (12th March 2021) =
|
200 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
201 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|
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.76.
|
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.76.
|
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.76.7
|
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.76.7');
|
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.76.6 (12th March 2021) =
|
4 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
5 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.76.7 (15th March 2021) =
|
4 |
+
* Fixed: WP_Scripts Debug Warnings when WordPress updated to v5.7 #4958
|
5 |
+
|
6 |
= 1.0.76.6 (12th March 2021) =
|
7 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
8 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|
includes/features/functions.php
CHANGED
@@ -76,7 +76,7 @@ function ampforwp_add_admin_styling($hook_suffix){
|
|
76 |
$screen = get_current_screen();
|
77 |
if ( 'toplevel_page_amp_options' == $screen->base ) {
|
78 |
$opt = get_option("ampforwp_option_panel_view_type");
|
79 |
-
wp_localize_script( 'ampforwp_admin_js', 'amp_option_panel_view', $opt);
|
80 |
}else{
|
81 |
$opt = get_option("ampforwp_option_panel_view_type");
|
82 |
if($opt==1 || $opt==2){
|
@@ -84,12 +84,12 @@ function ampforwp_add_admin_styling($hook_suffix){
|
|
84 |
}else{
|
85 |
$opt = "31";
|
86 |
}
|
87 |
-
wp_localize_script( 'ampforwp_admin_js', 'amp_option_panel_view',
|
88 |
}
|
89 |
-
wp_localize_script( 'ampforwp_admin_js', 'amp_fields', $amp_fields
|
90 |
$redux_data = apply_filters("ampforwp_custom_localize_data", $redux_data);
|
91 |
wp_localize_script( 'ampforwp_admin_js', 'redux_data', $redux_data );
|
92 |
-
wp_localize_script( 'ampforwp_admin_js', 'ampforwp_nonce', wp_create_nonce('ampforwp-verify-request')
|
93 |
wp_enqueue_script( 'wp-color-picker' );
|
94 |
wp_enqueue_script( 'ampforwp_admin_js' );
|
95 |
}
|
76 |
$screen = get_current_screen();
|
77 |
if ( 'toplevel_page_amp_options' == $screen->base ) {
|
78 |
$opt = get_option("ampforwp_option_panel_view_type");
|
79 |
+
wp_localize_script( 'ampforwp_admin_js', 'amp_option_panel_view', array($opt));
|
80 |
}else{
|
81 |
$opt = get_option("ampforwp_option_panel_view_type");
|
82 |
if($opt==1 || $opt==2){
|
84 |
}else{
|
85 |
$opt = "31";
|
86 |
}
|
87 |
+
wp_localize_script( 'ampforwp_admin_js', 'amp_option_panel_view', array($opt));
|
88 |
}
|
89 |
+
wp_localize_script( 'ampforwp_admin_js', 'amp_fields', array($amp_fields));
|
90 |
$redux_data = apply_filters("ampforwp_custom_localize_data", $redux_data);
|
91 |
wp_localize_script( 'ampforwp_admin_js', 'redux_data', $redux_data );
|
92 |
+
wp_localize_script( 'ampforwp_admin_js', 'ampforwp_nonce', array(wp_create_nonce('ampforwp-verify-request')));
|
93 |
wp_enqueue_script( 'wp-color-picker' );
|
94 |
wp_enqueue_script( 'ampforwp_admin_js' );
|
95 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mohammed_kaludi, ahmedkaludi, ampforwp
|
|
3 |
Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin, SEO
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.0.76.
|
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.76.6 (12th March 2021) =
|
194 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
195 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|
3 |
Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, google, plugin, SEO
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 1.0.76.7
|
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.76.7 (15th March 2021) =
|
194 |
+
* Fixed: WP_Scripts Debug Warnings when WordPress updated to v5.7 #4958
|
195 |
+
|
196 |
= 1.0.76.6 (12th March 2021) =
|
197 |
* Improvements: Added an option to show the author details after the title on mobile #4858
|
198 |
* Fixed: Images not appearing with WP stateless Google cloud storage plugin #4575
|