Version Description
(18th February 2018) = * Selector code reverted due to it's effect on carousel
Download this release
Release Info
Developer | ahmedkaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 0.9.82.1 |
Comparing to | |
See all releases |
Code changes from version 0.9.82 to 0.9.82.1
- accelerated-moblie-pages.php +2 -2
- readme.txt +4 -1
- templates/features.php +12 -12
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: 0.9.82
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
@@ -19,7 +19,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
|
|
19 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
20 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
21 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
22 |
-
define('AMPFORWP_VERSION','0.9.82');
|
23 |
|
24 |
// any changes to AMP_QUERY_VAR should be refelected here
|
25 |
function ampforwp_generate_endpoint(){
|
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: 0.9.82.1
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
19 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
20 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
21 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
22 |
+
define('AMPFORWP_VERSION','0.9.82.1');
|
23 |
|
24 |
// any changes to AMP_QUERY_VAR should be refelected here
|
25 |
function ampforwp_generate_endpoint(){
|
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: 4.9.4
|
7 |
-
Stable tag: 0.9.82
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -182,6 +182,9 @@ You can contact us from [here](http://ampforwp.com/contact/)
|
|
182 |
|
183 |
== Changelog ==
|
184 |
|
|
|
|
|
|
|
185 |
= 0.9.82 (18th February 2018) =
|
186 |
* View more details on https://ampforwp.com/0-9-82-released-stability-update-82nd-update/
|
187 |
* Logo Resizing calculation by Pixels and resizing bug solved.
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9.4
|
7 |
+
Stable tag: 0.9.82.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
182 |
|
183 |
== Changelog ==
|
184 |
|
185 |
+
= 0.9.82.1 (18th February 2018) =
|
186 |
+
* Selector code reverted due to it's effect on carousel
|
187 |
+
|
188 |
= 0.9.82 (18th February 2018) =
|
189 |
* View more details on https://ampforwp.com/0-9-82-released-stability-update-82nd-update/
|
190 |
* Logo Resizing calculation by Pixels and resizing bug solved.
|
templates/features.php
CHANGED
@@ -5832,18 +5832,18 @@ if ( ! function_exists('ampforwp_amp_component_checker') ) {
|
|
5832 |
}
|
5833 |
|
5834 |
// Remove wpautop from specific posts which contain amp-components
|
5835 |
-
remove_filter('the_content', 'wpautop');
|
5836 |
-
add_filter('the_content', 'ampforwp_custom_wpautop');
|
5837 |
-
if ( ! function_exists('ampforwp_custom_wpautop') ) {
|
5838 |
-
function ampforwp_custom_wpautop( $content ) {
|
5839 |
-
global $post;
|
5840 |
-
if ( get_post_meta(get_the_ID(), 'ampforwp-wpautop', true) == 'false' && function_exists('ampforwp_is_amp_endpoint') && ampforwp_is_amp_endpoint() ) {
|
5841 |
-
return $content;
|
5842 |
-
}
|
5843 |
-
else
|
5844 |
-
return wpautop($content);
|
5845 |
-
}
|
5846 |
-
}
|
5847 |
// Get the AMP components
|
5848 |
function ampforwp_get_amp_components() {
|
5849 |
$components = array();
|
5832 |
}
|
5833 |
|
5834 |
// Remove wpautop from specific posts which contain amp-components
|
5835 |
+
//remove_filter('the_content', 'wpautop');
|
5836 |
+
//add_filter('the_content', 'ampforwp_custom_wpautop');
|
5837 |
+
//if ( ! function_exists('ampforwp_custom_wpautop') ) {
|
5838 |
+
// function ampforwp_custom_wpautop( $content ) {
|
5839 |
+
// global $post;
|
5840 |
+
// if ( get_post_meta(get_the_ID(), 'ampforwp-wpautop', true) == 'false' && function_exists('ampforwp_is_amp_endpoint') && ampforwp_is_amp_endpoint() ) {
|
5841 |
+
// return $content;
|
5842 |
+
// }
|
5843 |
+
// else
|
5844 |
+
// return wpautop($content);
|
5845 |
+
// }
|
5846 |
+
//}
|
5847 |
// Get the AMP components
|
5848 |
function ampforwp_get_amp_components() {
|
5849 |
$components = array();
|