Version Description
(26th December 2019) = * Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- README.md +4 -1
- accelerated-moblie-pages.php +2 -2
- changelog.txt +3 -0
- includes/features/performance/performance-functions.php +5 -2
- readme.txt +5 -15
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.3.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -191,6 +191,9 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
194 |
= 1.0.3 (23th December 2019) =
|
195 |
* Improvement: Filter in search form #3948
|
196 |
* Improvement: Improvement of jetpack social icons #3907
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 1.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
= 1.0.4 (26th December 2019) =
|
195 |
+
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
196 |
+
|
197 |
= 1.0.3 (23th December 2019) =
|
198 |
* Improvement: Filter in search form #3948
|
199 |
* Improvement: Improvement of jetpack social icons #3907
|
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.
|
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.
|
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.4
|
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.4');
|
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.3 (23th December 2019) =
|
4 |
* Improvement: Filter in search form #3948
|
5 |
* Improvement: Improvement of jetpack social icons #3907
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.4 (26th December 2019) =
|
4 |
+
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
5 |
+
|
6 |
= 1.0.3 (23th December 2019) =
|
7 |
* Improvement: Filter in search form #3948
|
8 |
* Improvement: Improvement of jetpack social icons #3907
|
includes/features/performance/performance-functions.php
CHANGED
@@ -255,8 +255,11 @@ if( !function_exists("ampforwp_tree_shaking_purify_amphtml") ){
|
|
255 |
if(strpos($sheet, '-keyframes')!==false){
|
256 |
$sheet = preg_replace("/@(-o-|-moz-|-webkit-|-ms-)*keyframes\s(.*?){([0-9%a-zA-Z,\s.]*{(.*?)})*[\s\n]*}/s", "", $sheet);
|
257 |
}
|
258 |
-
|
259 |
-
|
|
|
|
|
|
|
260 |
}
|
261 |
}
|
262 |
//for fonts
|
255 |
if(strpos($sheet, '-keyframes')!==false){
|
256 |
$sheet = preg_replace("/@(-o-|-moz-|-webkit-|-ms-)*keyframes\s(.*?){([0-9%a-zA-Z,\s.]*{(.*?)})*[\s\n]*}/s", "", $sheet);
|
257 |
}
|
258 |
+
preg_match('/<style\samp-custom>(.*)<\/style>/s', $completeContent,$matches);
|
259 |
+
if($matches){
|
260 |
+
$completeContent = preg_replace("/<style\samp-custom>(.*)<\/style>/s", "".$comment."<style amp-custom>".$sheet."</style>", $completeContent);
|
261 |
+
}
|
262 |
+
|
263 |
}
|
264 |
}
|
265 |
//for fonts
|
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.3.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -191,6 +191,9 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
194 |
= 1.0.3 (23th December 2019) =
|
195 |
* Improvement: Filter in search form #3948
|
196 |
* Improvement: Improvement of jetpack social icons #3907
|
@@ -207,6 +210,7 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
207 |
* Fixed: Select Taxonomy and Select Category is getting blank in the category module of AMP page builder #3986
|
208 |
* Fixed: Notice: Undefined offset: 0 in class-amp-post-template.php on line 378 #3992
|
209 |
* Fixed: Undefined variable: designCss #3961
|
|
|
210 |
|
211 |
= 1.0.2 (19th December 2019) =
|
212 |
* Improvement: Need to add wordpress default Gutenburg editor 'Block' settings Compatibility in AMP #3320
|
@@ -221,18 +225,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
221 |
* Fixed: MGID Ads are not loading when the Flexible AMP widget option is enabled in the AMP #3864
|
222 |
* Fixed: The Close bar is not appearing menu check in mobile iPhone #3964
|
223 |
|
224 |
-
= 1.0.1 (14th December 2019) =
|
225 |
-
* Fixed: Telegram as social profile #3754
|
226 |
-
* Fixed: Give default styling for <small> tag. #3879
|
227 |
-
* Fixed: When pagination is enabled in Category Module,translation option should be given in Advanced. #3847
|
228 |
-
* Fixed: An issue with Code module in AMP page puilder. #3833
|
229 |
-
* Fixed: Getting an error while validating page when using Disqus comments #3871
|
230 |
-
* Fixed: Content is updated programatically on /amp/ page view, bad revision is created #3822
|
231 |
-
* Fixed: Custom Post types and taxonomies option should be only visible when Archives is enabled #3903
|
232 |
-
* Fixed: After reloading 'Select Categories to Hide AMP', it shows empty #3898
|
233 |
-
* Fixed: In exclude Categories option the "No items of this type were found." message is displaying #3900
|
234 |
-
* Fixed: Cannot use a scalar value as an array #3823
|
235 |
-
* Fixed: Debug warnings. #3932
|
236 |
-
* Fixed: Google Tag manager not firing properly #3826
|
237 |
-
|
238 |
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.3.2
|
7 |
+
Stable tag: 1.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
= 1.0.4 (26th December 2019) =
|
195 |
+
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
196 |
+
|
197 |
= 1.0.3 (23th December 2019) =
|
198 |
* Improvement: Filter in search form #3948
|
199 |
* Improvement: Improvement of jetpack social icons #3907
|
210 |
* Fixed: Select Taxonomy and Select Category is getting blank in the category module of AMP page builder #3986
|
211 |
* Fixed: Notice: Undefined offset: 0 in class-amp-post-template.php on line 378 #3992
|
212 |
* Fixed: Undefined variable: designCss #3961
|
213 |
+
* Fixed: Open Graph title is not displaying correctly with SEOPress in AMP. #3966
|
214 |
|
215 |
= 1.0.2 (19th December 2019) =
|
216 |
* Improvement: Need to add wordpress default Gutenburg editor 'Block' settings Compatibility in AMP #3320
|
225 |
* Fixed: MGID Ads are not loading when the Flexible AMP widget option is enabled in the AMP #3864
|
226 |
* Fixed: The Close bar is not appearing menu check in mobile iPhone #3964
|
227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|