Version Description
(5th August 2021) = * Improvements: Added License Key information in AMP panel #5110
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.77.18 |
Comparing to | |
See all releases |
Code changes from version 1.0.77.17 to 1.0.77.18
- README.md +4 -7
- accelerated-moblie-pages.php +2 -2
- changelog.txt +3 -0
- includes/options/admin-config.php +14 -1
- includes/welcome.php +2 -4
- readme.txt +4 -7
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.8
|
7 |
-
Stable tag: 1.0.77.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -197,6 +197,9 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
200 |
= 1.0.77.17 (3rd August 2021) =
|
201 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
202 |
* Improvements: Added support to preserve query string with ?amp #5103
|
@@ -207,10 +210,4 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
207 |
* Fixed: Validation error - The tag 'lite-youtube' is disallowed #5102
|
208 |
* Fixed: Yoast custom breadcrumbs title not working after update #5100
|
209 |
|
210 |
-
= 1.0.77.15 (27th July 2021) =
|
211 |
-
* Improvements: Added Yoast custom breadcrumbs title support #5100
|
212 |
-
* Fixed: Author name only showing for the first post on homepage #5099
|
213 |
-
* Fixed: Youtube videos does not appear on the AMP page with the Video Yoast plugin
|
214 |
-
* Fixed: The parent tag of tag ‘picture’ must be noscript validation error #5097
|
215 |
-
|
216 |
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.8
|
7 |
+
Stable tag: 1.0.77.18
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 1.0.77.18 (5th August 2021) =
|
201 |
+
* Improvements: Added License Key information in AMP panel #5110
|
202 |
+
|
203 |
= 1.0.77.17 (3rd August 2021) =
|
204 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
205 |
* Improvements: Added support to preserve query string with ?amp #5103
|
210 |
* Fixed: Validation error - The tag 'lite-youtube' is disallowed #5102
|
211 |
* Fixed: Yoast custom breadcrumbs title not working after update #5100
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
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.77.
|
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.77.
|
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.77.18
|
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.77.18');
|
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.77.17 (3rd August 2021) =
|
4 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
5 |
* Improvements: Added support to preserve query string with ?amp #5103
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.77.18 (5th August 2021) =
|
4 |
+
* Improvements: Added License Key information in AMP panel #5110
|
5 |
+
|
6 |
= 1.0.77.17 (3rd August 2021) =
|
7 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
8 |
* Improvements: Added support to preserve query string with ?amp #5103
|
includes/options/admin-config.php
CHANGED
@@ -1457,8 +1457,21 @@ if(get_theme_support('amp-template-mode')){
|
|
1457 |
}
|
1458 |
$proDetailsProvide = '<a class="technical_support_btn_txt" href="https://ampforwp.com/support/" target="_blank">'.esc_html__('Technical Support','accelerated-mobile-pages').'</a> <a class="premium_features_btn" href="https://ampforwp.com/membership/#utm_source=options-panel&utm_medium=view_pro_features_btn&utm_campaign=AMP%20Plugin" target="_blank">Upgrade to PRO</a> ';
|
1459 |
if($ampforwp_nameOfUser!=""){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1460 |
$proDetailsProvide = "<span class='extension-menu-call'><span class='activated-plugins'>Hello, ".esc_html($ampforwp_nameOfUser)."</span> <a class='' href='".esc_url(admin_url('admin.php?page=amp_options&tabid=opt-go-premium'))."'><i class='dashicons-before dashicons-admin-generic'></i></a></span>";
|
1461 |
-
}
|
|
|
|
|
1462 |
$proDetailsProvide = "<span class='extension-menu-call'>One more Step <a class='premium_features_btn' href='".esc_url(admin_url('admin.php?tabid=opt-go-premium&page=amp_options'))."'>Enter license here</a></span>";
|
1463 |
}
|
1464 |
if(function_exists('amp_activate') ){
|
1457 |
}
|
1458 |
$proDetailsProvide = '<a class="technical_support_btn_txt" href="https://ampforwp.com/support/" target="_blank">'.esc_html__('Technical Support','accelerated-mobile-pages').'</a> <a class="premium_features_btn" href="https://ampforwp.com/membership/#utm_source=options-panel&utm_medium=view_pro_features_btn&utm_campaign=AMP%20Plugin" target="_blank">Upgrade to PRO</a> ';
|
1459 |
if($ampforwp_nameOfUser!=""){
|
1460 |
+
if (class_exists('AMPExtensionManager') ) {
|
1461 |
+
$license_info = get_option( 'ampforwppro_license_info');
|
1462 |
+
if (defined('AMPFORWPPRO_PLUGIN_DIR') && !empty($license_info)){
|
1463 |
+
$ampforwp_pro_manager = AMPFORWPPRO_PLUGIN_DIR.'inc/amp-ext-manager-lic-data.php';
|
1464 |
+
if( file_exists($ampforwp_pro_manager) ){
|
1465 |
+
require_once $ampforwp_pro_manager;
|
1466 |
+
}
|
1467 |
+
$settings_url = esc_url( admin_url('admin.php?page=amp-extension-manager') );
|
1468 |
+
}
|
1469 |
+
}
|
1470 |
+
else{
|
1471 |
$proDetailsProvide = "<span class='extension-menu-call'><span class='activated-plugins'>Hello, ".esc_html($ampforwp_nameOfUser)."</span> <a class='' href='".esc_url(admin_url('admin.php?page=amp_options&tabid=opt-go-premium'))."'><i class='dashicons-before dashicons-admin-generic'></i></a></span>";
|
1472 |
+
}
|
1473 |
+
}
|
1474 |
+
elseif($ampforwp_is_productActivated){
|
1475 |
$proDetailsProvide = "<span class='extension-menu-call'>One more Step <a class='premium_features_btn' href='".esc_url(admin_url('admin.php?tabid=opt-go-premium&page=amp_options'))."'>Enter license here</a></span>";
|
1476 |
}
|
1477 |
if(function_exists('amp_activate') ){
|
includes/welcome.php
CHANGED
@@ -151,20 +151,18 @@ function ampforwp_add_welcome_styling(){
|
|
151 |
.dashicons-warning, .dashicons-yes{
|
152 |
font-family: dashicons;
|
153 |
font-style: normal;
|
154 |
-
position: relative;
|
155 |
-
top: 1px;
|
156 |
font-size: 32px;
|
157 |
margin-right: 18px;
|
158 |
}
|
159 |
.dashicons-yes{
|
160 |
-
margin-right:
|
161 |
}
|
162 |
.dashicons-yes:before {
|
163 |
content: "\f147";
|
164 |
background: #388e3c;
|
165 |
color: #fff;
|
166 |
border-radius: 40px;
|
167 |
-
padding-right:
|
168 |
padding-top: 1px;
|
169 |
}
|
170 |
.ampforwp-plugin-action-buttons {
|
151 |
.dashicons-warning, .dashicons-yes{
|
152 |
font-family: dashicons;
|
153 |
font-style: normal;
|
|
|
|
|
154 |
font-size: 32px;
|
155 |
margin-right: 18px;
|
156 |
}
|
157 |
.dashicons-yes{
|
158 |
+
margin-right: 0px;
|
159 |
}
|
160 |
.dashicons-yes:before {
|
161 |
content: "\f147";
|
162 |
background: #388e3c;
|
163 |
color: #fff;
|
164 |
border-radius: 40px;
|
165 |
+
padding-right: 0px;
|
166 |
padding-top: 1px;
|
167 |
}
|
168 |
.ampforwp-plugin-action-buttons {
|
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.8
|
7 |
-
Stable tag: 1.0.77.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -194,6 +194,9 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
194 |
|
195 |
== Changelog ==
|
196 |
|
|
|
|
|
|
|
197 |
= 1.0.77.17 (3rd August 2021) =
|
198 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
199 |
* Improvements: Added support to preserve query string with ?amp #5103
|
@@ -204,10 +207,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
204 |
* Fixed: Validation error - The tag 'lite-youtube' is disallowed #5102
|
205 |
* Fixed: Yoast custom breadcrumbs title not working after update #5100
|
206 |
|
207 |
-
= 1.0.77.15 (27th July 2021) =
|
208 |
-
* Improvements: Added Yoast custom breadcrumbs title support #5100
|
209 |
-
* Fixed: Author name only showing for the first post on homepage #5099
|
210 |
-
* Fixed: Youtube videos does not appear on the AMP page with the Video Yoast plugin
|
211 |
-
* Fixed: The parent tag of tag ‘picture’ must be noscript validation error #5097
|
212 |
-
|
213 |
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.8
|
7 |
+
Stable tag: 1.0.77.18
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
194 |
|
195 |
== Changelog ==
|
196 |
|
197 |
+
= 1.0.77.18 (5th August 2021) =
|
198 |
+
* Improvements: Added License Key information in AMP panel #5110
|
199 |
+
|
200 |
= 1.0.77.17 (3rd August 2021) =
|
201 |
* Improvements: Added dotmetrics analytics support in amp #5107
|
202 |
* Improvements: Added support to preserve query string with ?amp #5103
|
207 |
* Fixed: Validation error - The tag 'lite-youtube' is disallowed #5102
|
208 |
* Fixed: Yoast custom breadcrumbs title not working after update #5100
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|