Version Description
(21st November 2017) = * Menu Text Encoding issue after 0.9.69 fixed
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 0.9.69.1 |
Comparing to | |
See all releases |
Code changes from version 0.9.69 to 0.9.69.1
- accelerated-moblie-pages.php +2 -2
- readme.txt +4 -1
- templates/features.php +3 -2
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.69
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
@@ -18,7 +18,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
|
|
18 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
19 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
20 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
21 |
-
define('AMPFORWP_VERSION','0.9.69');
|
22 |
|
23 |
// any changes to AMP_QUERY_VAR should be refelected here
|
24 |
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.69.1
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
18 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
19 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
20 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
21 |
+
define('AMPFORWP_VERSION','0.9.69.1');
|
22 |
|
23 |
// any changes to AMP_QUERY_VAR should be refelected here
|
24 |
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
|
7 |
-
Stable tag: 0.9.69
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -150,6 +150,9 @@ You can contact me using this url: http://ampforwp.com/contact/
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
153 |
= 0.9.69 (20th November 2017) =
|
154 |
* View More details on https://ampforwp.com/0-9-69-released-stability-update-75th-update/
|
155 |
* One Signal Push Notifications bug fixed! #1404
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 0.9.69.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 0.9.69.1 (21st November 2017) =
|
154 |
+
* Menu Text Encoding issue after 0.9.69 fixed
|
155 |
+
|
156 |
= 0.9.69 (20th November 2017) =
|
157 |
* View More details on https://ampforwp.com/0-9-69-released-stability-update-75th-update/
|
158 |
* One Signal Push Notifications bug fixed! #1404
|
templates/features.php
CHANGED
@@ -5086,8 +5086,9 @@ if( ! function_exists(' ampforwp_modify_menu_content ') ){
|
|
5086 |
$nodes = '';
|
5087 |
$num_nodes = '';
|
5088 |
// Create a new document
|
5089 |
-
$dom = new DOMDocument;
|
5090 |
-
$dom->loadHTML($menu);
|
|
|
5091 |
// get all the img's
|
5092 |
$nodes = $dom->getElementsByTagName( 'img' );
|
5093 |
$num_nodes = $nodes->length;
|
5086 |
$nodes = '';
|
5087 |
$num_nodes = '';
|
5088 |
// Create a new document
|
5089 |
+
$dom = new DOMDocument();
|
5090 |
+
$dom->loadHTML(mb_convert_encoding($menu, 'HTML-ENTITIES', 'UTF-8'));
|
5091 |
+
|
5092 |
// get all the img's
|
5093 |
$nodes = $dom->getElementsByTagName( 'img' );
|
5094 |
$num_nodes = $nodes->length;
|