Version Description
(4th August 2020) = * Fixed: The right and left arrows are converting into the special characters in AMP #4668
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.61.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.61 to 1.0.61.1
- README.md +4 -1
- accelerated-moblie-pages.php +2 -2
- changelog.txt +3 -0
- includes/features/performance/performance-functions.php +2 -7
- readme.txt +4 -1
- templates/design-manager/swift/style.php +2 -2
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.61
|
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.61 (3rd August 2020) =
|
197 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
198 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
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.61.1
|
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.61.1 (4th August 2020) =
|
197 |
+
* Fixed: The right and left arrows are converting into the special characters in AMP #4668
|
198 |
+
|
199 |
= 1.0.61 (3rd August 2020) =
|
200 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
201 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
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.61
|
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.61');
|
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.61.1
|
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.61.1');
|
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.61 (3rd August 2020) =
|
4 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
5 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.61.1 (4th August 2020) =
|
4 |
+
* Fixed: The right and left arrows are converting into the special characters in AMP #4668
|
5 |
+
|
6 |
= 1.0.61 (3rd August 2020) =
|
7 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
8 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
includes/features/performance/performance-functions.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
exit;
|
4 |
}
|
|
|
5 |
// 86. minify the content of pages
|
6 |
add_filter('ampforwp_the_content_last_filter','ampforwp_minify_html_output');
|
7 |
function ampforwp_minify_html_output($content_buffer){
|
@@ -254,13 +255,7 @@ if( !function_exists("ampforwp_tree_shaking_purify_amphtml") ){
|
|
254 |
$completeContent = str_replace(array('"\\', "'\\"), array('":backSlash:',"':backSlash:"), $completeContent);
|
255 |
/***Replacements***/
|
256 |
if(!empty($completeContent)){
|
257 |
-
$tmpDoc =
|
258 |
-
if( function_exists( 'mb_convert_encoding' ) ){
|
259 |
-
$completeContent = mb_convert_encoding($completeContent, 'ENT_QUOTES', 'UTF-8');
|
260 |
-
}
|
261 |
-
else{
|
262 |
-
$completeContent = preg_replace( '/&.*?;/', 'x', $completeContent ); // multi-byte characters converted to X
|
263 |
-
}
|
264 |
libxml_use_internal_errors(true);
|
265 |
$tmpDoc->loadHTML($completeContent);
|
266 |
$font_css = '';
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
exit;
|
4 |
}
|
5 |
+
use AMPforWP\AMPVendor\AMP_DOM_Utils;
|
6 |
// 86. minify the content of pages
|
7 |
add_filter('ampforwp_the_content_last_filter','ampforwp_minify_html_output');
|
8 |
function ampforwp_minify_html_output($content_buffer){
|
255 |
$completeContent = str_replace(array('"\\', "'\\"), array('":backSlash:',"':backSlash:"), $completeContent);
|
256 |
/***Replacements***/
|
257 |
if(!empty($completeContent)){
|
258 |
+
$tmpDoc = AMP_DOM_Utils::get_dom_from_content($completeContent);
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
libxml_use_internal_errors(true);
|
260 |
$tmpDoc->loadHTML($completeContent);
|
261 |
$font_css = '';
|
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.61
|
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.61 (3rd August 2020) =
|
194 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
195 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
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.61.1
|
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.61.1 (4th August 2020) =
|
194 |
+
* Fixed: The right and left arrows are converting into the special characters in AMP #4668
|
195 |
+
|
196 |
= 1.0.61 (3rd August 2020) =
|
197 |
* Improvement: Added Open By Default option in accordion module of AMP Page Builder #4597
|
198 |
* Fixed: Wrong preview link is generating for the AMP pages and posts #4670
|
templates/design-manager/swift/style.php
CHANGED
@@ -462,8 +462,8 @@ if( ampforwp_is_home() || is_archive() || is_search() || (function_exists('is_sh
|
|
462 |
.loop-pagination{margin:20px 0px 20px 0px;}
|
463 |
.right a, .left a{background: <?php echo ampforwp_sanitize_color($swift_cs_color); ?>;padding: 8px 22px 12px 25px;color: #fff;line-height: 1;border-radius: 46px;font-size: 14px;display: inline-block;}
|
464 |
.right a:hover, .left a:hover{color: <?php echo ampforwp_sanitize_color($swift_btn_hvr_color) ?>;}
|
465 |
-
.right a:after{content:"
|
466 |
-
.left a:before{content:"
|
467 |
.cntn-wrp.srch p { margin: 30px 0px 30px 0px; }
|
468 |
.cntn-wrp.srch{
|
469 |
font-size:18px;color:#000;line-height:1.7;word-wrap: break-word;
|
462 |
.loop-pagination{margin:20px 0px 20px 0px;}
|
463 |
.right a, .left a{background: <?php echo ampforwp_sanitize_color($swift_cs_color); ?>;padding: 8px 22px 12px 25px;color: #fff;line-height: 1;border-radius: 46px;font-size: 14px;display: inline-block;}
|
464 |
.right a:hover, .left a:hover{color: <?php echo ampforwp_sanitize_color($swift_btn_hvr_color) ?>;}
|
465 |
+
.right a:after{content:"\00BB";display: inline-block;padding-left: 6px;font-size: 20px;line-height: 20px;height: 20px;position: relative;top: 1px;}
|
466 |
+
.left a:before{content:"\00AB";display: inline-block;padding-right: 6px;font-size: 20px;line-height: 20px;height: 20px;position: relative;top: 1px;}
|
467 |
.cntn-wrp.srch p { margin: 30px 0px 30px 0px; }
|
468 |
.cntn-wrp.srch{
|
469 |
font-size:18px;color:#000;line-height:1.7;word-wrap: break-word;
|