Version Description
(10th November 2020) = * Fixed: Missing amphtml on product pages #4822 * Fixed: Debug warnings #4821
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.68.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.68 to 1.0.68.1
- README.md +5 -11
- accelerated-moblie-pages.php +2 -2
- changelog.txt +4 -0
- components/components-core.php +1 -1
- pagebuilder/modules/contact-form-shortcode-module.php +1 -1
- readme.txt +5 -11
- templates/features.php +1 -1
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.5
|
7 |
-
Stable tag: 1.0.68
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -193,6 +193,10 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
196 |
= 1.0.68 (9th November 2020) =
|
197 |
* Fixed: Validation error occurs when input type image is added #4785
|
198 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
@@ -217,14 +221,4 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
217 |
* Fixed: Additional characters at the end of footer text in Design Two #4805
|
218 |
* Fixed: Related thumbnail image title is getting break and leading to the validation error #4804
|
219 |
|
220 |
-
= 1.0.66.3 (29th October 2020) =
|
221 |
-
* Fixed: Content not visible in AMP Takeover #4744
|
222 |
-
|
223 |
-
= 1.0.66.2 (28th October 2020) =
|
224 |
-
* Fixed: Content not visible after 1.0.66 update #4744
|
225 |
-
|
226 |
-
= 1.0.66.1 (26th October 2020) =
|
227 |
-
* Fixed: Validation error due to amp-web-push AMP component script #4796
|
228 |
-
* Fixed: Validation error due to amp-fx-flying-carpet AMP component script #4794
|
229 |
-
|
230 |
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.5
|
7 |
+
Stable tag: 1.0.68.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.68.1 (10th November 2020) =
|
197 |
+
* Fixed: Missing amphtml on product pages #4822
|
198 |
+
* Fixed: Debug warnings #4821
|
199 |
+
|
200 |
= 1.0.68 (9th November 2020) =
|
201 |
* Fixed: Validation error occurs when input type image is added #4785
|
202 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
221 |
* Fixed: Additional characters at the end of footer text in Design Two #4805
|
222 |
* Fixed: Related thumbnail image title is getting break and leading to the validation error #4804
|
223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
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.68
|
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.68');
|
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.68.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.68.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,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 1.0.68 (9th November 2020) =
|
4 |
* Fixed: Validation error occurs when input type image is added #4785
|
5 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.68.1 (10th November 2020) =
|
4 |
+
* Fixed: Missing amphtml on product pages #4822
|
5 |
+
* Fixed: Debug warnings #4821
|
6 |
+
|
7 |
= 1.0.68 (9th November 2020) =
|
8 |
* Fixed: Validation error occurs when input type image is added #4785
|
9 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
components/components-core.php
CHANGED
@@ -132,7 +132,7 @@ function amp_title(){
|
|
132 |
// Excerpt
|
133 |
function amp_excerpt( $no_of_words=260 ) {
|
134 |
global $post;
|
135 |
-
$post_id = '';
|
136 |
$no_of_words = (int) $no_of_words;
|
137 |
$post_id = ampforwp_get_the_ID();
|
138 |
if ( $post_id != null && true == ampforwp_get_setting('enable-excerpt-single') ) { ?>
|
132 |
// Excerpt
|
133 |
function amp_excerpt( $no_of_words=260 ) {
|
134 |
global $post;
|
135 |
+
$post_id = $content = '';
|
136 |
$no_of_words = (int) $no_of_words;
|
137 |
$post_id = ampforwp_get_the_ID();
|
138 |
if ( $post_id != null && true == ampforwp_get_setting('enable-excerpt-single') ) { ?>
|
pagebuilder/modules/contact-form-shortcode-module.php
CHANGED
@@ -19,7 +19,7 @@ $output = '
|
|
19 |
{{ifend_condition_form_type_ninja_form}}
|
20 |
';
|
21 |
|
22 |
-
$css = '';
|
23 |
$formSupported = array();
|
24 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
25 |
if(is_plugin_active('amp-cf7/amp-cf7.php')){
|
19 |
{{ifend_condition_form_type_ninja_form}}
|
20 |
';
|
21 |
|
22 |
+
$css = $args = '';
|
23 |
$formSupported = array();
|
24 |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
25 |
if(is_plugin_active('amp-cf7/amp-cf7.php')){
|
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.5
|
7 |
-
Stable tag: 1.0.68
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -190,6 +190,10 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
190 |
|
191 |
== Changelog ==
|
192 |
|
|
|
|
|
|
|
|
|
193 |
= 1.0.68 (9th November 2020) =
|
194 |
* Fixed: Validation error occurs when input type image is added #4785
|
195 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
@@ -214,14 +218,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
214 |
* Fixed: Additional characters at the end of footer text in Design Two #4805
|
215 |
* Fixed: Related thumbnail image title is getting break and leading to the validation error #4804
|
216 |
|
217 |
-
= 1.0.66.3 (29th October 2020) =
|
218 |
-
* Fixed: Content not visible in AMP Takeover #4744
|
219 |
-
|
220 |
-
= 1.0.66.2 (28th October 2020) =
|
221 |
-
* Fixed: Content not visible after 1.0.66 update #4744
|
222 |
-
|
223 |
-
= 1.0.66.1 (26th October 2020) =
|
224 |
-
* Fixed: Validation error due to amp-web-push AMP component script #4796
|
225 |
-
* Fixed: Validation error due to amp-fx-flying-carpet AMP component script #4794
|
226 |
-
|
227 |
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.5
|
7 |
+
Stable tag: 1.0.68.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.68.1 (10th November 2020) =
|
194 |
+
* Fixed: Missing amphtml on product pages #4822
|
195 |
+
* Fixed: Debug warnings #4821
|
196 |
+
|
197 |
= 1.0.68 (9th November 2020) =
|
198 |
* Fixed: Validation error occurs when input type image is added #4785
|
199 |
* Fixed: Featured images are not showing when "Enable lazy load images" option is enabled in the "DEUS" Theme #4710
|
218 |
* Fixed: Additional characters at the end of footer text in Design Two #4805
|
219 |
* Fixed: Related thumbnail image title is getting break and leading to the validation error #4804
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|
templates/features.php
CHANGED
@@ -285,7 +285,7 @@ define('AMPFORWP_COMMENTS_PER_PAGE', ampforwp_define_comments_number() );
|
|
285 |
if ( is_home() && ! ampforwp_is_blog() && !ampforwp_get_setting('ampforwp-homepage-on-off-support') ) {
|
286 |
return;
|
287 |
}
|
288 |
-
if (!ampforwp_is_home() && !ampforwp_is_front_page() && !ampforwp_is_blog() && !is_category() && !is_tag() && !is_singular( array('page', 'attachment', 'post'))){
|
289 |
global $post_type;
|
290 |
if (empty(ampforwp_get_setting('ampforwp-custom-type'))) {
|
291 |
return;
|
285 |
if ( is_home() && ! ampforwp_is_blog() && !ampforwp_get_setting('ampforwp-homepage-on-off-support') ) {
|
286 |
return;
|
287 |
}
|
288 |
+
if (!ampforwp_is_home() && !ampforwp_is_front_page() && !ampforwp_is_blog() && !is_category() && !is_tag() && !is_singular( array('page', 'attachment', 'post')) && !function_exists('amp_woocommerce_pro_add_woocommerce_support')){
|
289 |
global $post_type;
|
290 |
if (empty(ampforwp_get_setting('ampforwp-custom-type'))) {
|
291 |
return;
|