AMP for WP – Accelerated Mobile Pages - Version 1.0.77.42

Version Description

(16th April 2022) = * Improvements: Added REHub Comparison charts, tables Compatibility #5250 * Fixed: Debug Warnings - Undefined index: amp-license #5251

Download this release

Release Info

Developer mohammed_kaludi
Plugin Icon 128x128 AMP for WP – Accelerated Mobile Pages
Version 1.0.77.42
Comparing to
See all releases

Code changes from version 1.0.77.41 to 1.0.77.42

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.9.3
7
- Stable tag: 1.0.77.41
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -197,6 +197,10 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
197
 
198
  == Changelog ==
199
 
 
 
 
 
200
  = 1.0.77.41 (12th April 2022) =
201
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
202
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
@@ -208,15 +212,4 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
208
  * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
209
  * Fixed: AMP Option panel improvements #5240
210
 
211
- = 1.0.77.39 (5th April 2022) =
212
- * Improvements: Added New Guidelines in GDPR #5225
213
- * Improvements: Added AT internet analytics support #5233
214
- * Improvements: UI improved of feedback form #5223
215
- * Fixed: Header and footer showing twice in new infine scroll #5238
216
- * Fixed: AMP option panel not working with Tour Booking Manager plugin #5236
217
- * Fixed: Font style not loading correctly on first page load #5224
218
- * Fixed: The hamburger icon is not clickable when Font Icon Library is selected as CSS Icons #5243
219
- * Fixed: Duplicate li tags removed #5241
220
- * Fixed: Warning compatibility PHP 8.0 #5245
221
-
222
  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.9.3
7
+ Stable tag: 1.0.77.42
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.42 (16th April 2022) =
201
+ * Improvements: Added REHub Comparison charts, tables Compatibility #5250
202
+ * Fixed: Debug Warnings - Undefined index: amp-license #5251
203
+
204
  = 1.0.77.41 (12th April 2022) =
205
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
206
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
212
  * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
213
  * Fixed: AMP Option panel improvements #5240
214
 
 
 
 
 
 
 
 
 
 
 
 
215
  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.41
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.41');
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.42
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.42');
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.77.41 (12th April 2022) =
4
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
5
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
1
  == Changelog ==
2
 
3
+ = 1.0.77.42 (16th April 2022) =
4
+ * Improvements: Added REHub Comparison charts, tables Compatibility #5250
5
+ * Fixed: Debug Warnings - Undefined index: amp-license #5251
6
+
7
  = 1.0.77.41 (12th April 2022) =
8
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
9
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
components/components-core.php CHANGED
@@ -781,6 +781,81 @@ function ampforwp_backtotop_global_css(){?>
781
  padding: 0;
782
  }
783
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  <?php if( true == ampforwp_get_setting('ampforwp-footer-top') ) { ?>
785
  .btt{
786
  position: fixed;
781
  padding: 0;
782
  }
783
  <?php } ?>
784
+ <?php if( function_exists('rehub_framework_plugin_activate') ) { ?>
785
+ .table_view_charts{ margin: 10px 0; overflow: hidden;}
786
+ .top_chart_wrap, .top_chart .swiper-container{float: left; width: calc(100% - 160px); position: relative; }
787
+ .top_chart_controls{ float: right; margin-bottom: 10px}
788
+ .top_chart_controls .controls {text-decoration: none; width: 30px;height: 30px;cursor: pointer;opacity: 0.8;text-align: center;float: left;border: 1px solid #ddd;color: #444;}
789
+ .top_chart_controls .controls.next:after, .top_chart_controls .controls.prev:after{line-height: 30px;font-size: 18px;}
790
+ .top_chart_controls .controls.next:after {content: "\f105"; }
791
+ .top_chart_controls .controls.prev:after {content: "\f104";}
792
+ .top_chart_pagination a span{ display: none;}
793
+ .top_chart_pagination a{width: 8px;height: 8px;margin: 11px 2px;float: left; background-color: #ccc; cursor: pointer; border-radius: 50%}
794
+ .top_chart_pagination a.selected {cursor: default;}
795
+ .top_chart_pagination{ float: left; margin: 0 7px}
796
+ .table_view_charts .top_chart_item, .table_view_charts .top_chart_first{border-top:1px solid #ddd; float: left; position: relative;}
797
+ .table_view_charts .top_chart_item li:first-child, .table_view_charts .top_chart_first li:first-child{background-color: #fff}
798
+ .table_view_charts .top_chart_first { width: 160px; clear: both;}
799
+ .table_view_charts .top_chart_item{width: 220px; background: #fff;display: inline; max-width: 260px }
800
+ .table_view_charts li { border-bottom: 1px solid #e8e8e8; border-right:1px solid #e8e8e8; border-left:1px solid transparent; list-style: none !important; margin:0; padding: 8px; overflow: hidden; font-size: 14px;line-height: 20px;}
801
+ .table_view_charts li p, .post .table_view_charts ul li{margin: 0}
802
+ .table_view_charts .top_chart_first ul li{ background-color: #f8f8f8; text-align: right; border-left: 1px solid #e8e8e8;}
803
+ .table_view_charts li.heading_row_chart { font-weight: bold; font-size: 15px; line-height: 18px; background-color: #fff !important; border-right-color: #fff !important;border-left-color: #fff !important; padding: 17px 0 17px 4px}
804
+ .table_view_charts .top_chart_item li{text-align: center;}
805
+ .table_view_charts .top_chart_item li.meta_value_left{text-align: inherit;}
806
+ .table_view_charts .top_chart_item figure{height: auto; margin: 0 auto; text-align: center; width: auto; padding: 0; height: 150px}
807
+ .table_view_charts .top_chart_item figure a{width: auto; height: auto; display: block; border:none;}
808
+ .table_view_charts .top_chart_item figure > a img{ height:auto; width: auto; max-height: 150px; max-width: 100%; border: none; vertical-align: middle; padding: 0}
809
+ .table_view_charts .top_chart_item .star { margin: 0 auto !important}
810
+ .table_view_charts .top_chart_item .rehub_meta_field_icon{ font-size: 18px; color: #41BD28}
811
+ .table_view_charts .top_chart_item .rehub_meta_field_icon .rhi-ban{color: #dc0000}
812
+ .table_view_charts .top_chart_item .title_row_chart a{color: #111;text-decoration: none; }
813
+ .table_view_charts ul{ padding: 0; margin: 0}
814
+ .table_view_charts h2{ font-size: 17px; line-height: 17px; margin: 10px 0 0 0; padding: 0}
815
+ .meta_value_row_chart ul li{border: none;text-align: left;margin: 0 0 12px 0;padding: 0;}
816
+ .table_view_charts .is-sticky li{z-index: 999999;background-color: #fff}
817
+ .table_view_charts .sticky-wrapper li { transition: all 1s ease 0.5s; top: 0; position: relative; }
818
+ .table_view_charts div.sticky-wrapper.is-sticky li { transition: all 1.5s ease; z-index: 100; max-height: 200px }
819
+ .table_view_charts .sticky-wrapper.is-sticky .sticky-cell .price-in-compare-flip { display:none }
820
+ .table_view_charts .sticky-wrapper.is-sticky .row_chart_0.image_row_chart.row-is-different { height:170px !important; }
821
+ .table_view_charts .top_chart_item .sticky-wrapper.is-sticky figure{height: 100px}
822
+ .table_view_charts .top_chart_item .sticky-wrapper.is-sticky figure > a img{max-height: 100px}
823
+ .top_chart_item:not(.activecol) .is-sticky {opacity: 0}
824
+ .re-compare-show-diff, .diff-label{cursor: pointer;}
825
+ .re-compare-show-diff{padding: 4px; margin-right: 5px}
826
+ .table_view_charts li.low-opacity{opacity: 0.1}
827
+ .imagefull_row_chart del{display: none;}
828
+ .imagefull_row_chart .greencolor{display: block;}
829
+ .table_view_charts .rh-star-ajax .title_star_ajax small { display: block;}
830
+ .table_view_charts .user-rate{ float: none;margin: 0 auto}
831
+ .table_view_charts .rehub_offer_coupon:not(.coupon_btn){ margin: 0 auto 10px auto;}
832
+ .loading.table_view_charts:before{ font-size: 45px; color: #ccc}
833
+ .top_chart_controls {display: none;}
834
+ .loading.table_view_charts{ text-align: center; border: 1px solid #f9f9f9; background-color: #f9f9f9}
835
+ .table_view_charts ul li ul li{border: none !important}
836
+ .top_chart_wrap.woocommerce .rev-in-compare-flip{left: 15px; right: auto;}
837
+ .price-woo-compare-chart{font-size: 19px; display: block; }
838
+ .price-woo-compare-chart del{display: none;}
839
+ @media screen and (max-width: 767px) {
840
+ .table_view_charts .is-sticky h2{font-size: 14px}
841
+ .top_chart_item{ width: 186px}}
842
+ @media (max-width: 468px) {
843
+ .table_view_charts li.heading_row_chart{font-size: 14px}
844
+ .rev-in-compare-flip{display: none;}
845
+ .table_view_charts h2, .top_chart_item .price-woo-compare-chart{font-size: 15px; margin-top: 5px}
846
+ .table_view_charts .top_chart_item figure, .table_view_charts .top_chart_item .sticky-wrapper.is-sticky figure{height: 80px}
847
+ .table_view_charts .top_chart_item figure > a img{max-height: 80px}
848
+ .table_view_charts{margin: 10px -15px}
849
+ .table_view_charts .top_chart_item .sticky-wrapper.is-sticky figure > a img{max-height: 80px}
850
+ .table_view_charts .top_chart_wrap, .top_chart .swiper-container{float: left; width: calc(100% - 90px);}
851
+ .table_view_charts .top_chart_first{ width: 90px; overflow: hidden;}
852
+ .table_view_charts .top_chart_first li { font-size: 12px}
853
+ .table_view_charts li{font-size: 13px;}
854
+ .top_chart:not(.loading) .chart_helper{display: inline-block;}
855
+ .table_view_charts .top_chart_item {max-width: 150px;}
856
+ .single-post main .amp-wp-article-content h2 {font-size: 12px;}
857
+ }
858
+ <?php } ?>
859
  <?php if( true == ampforwp_get_setting('ampforwp-footer-top') ) { ?>
860
  .btt{
861
  position: fixed;
includes/options/admin-config.php CHANGED
@@ -8992,8 +8992,11 @@ else{
8992
 
8993
  // Extension Section
8994
  $selectedOption = get_option('redux_builder_amp',true);
8995
- $value = is_array($selectedOption['amp-license'])? array_values($selectedOption['amp-license']): array();
8996
- if (empty($value[0]["license"]) ){
 
 
 
8997
  $selected = '<span class="exclamation">!</span>';
8998
  Redux::setSection( $opt_name, array(
8999
  'title' => __( "Extensions$selected" , 'accelerated-mobile-pages' ),
8992
 
8993
  // Extension Section
8994
  $selectedOption = get_option('redux_builder_amp',true);
8995
+ $value = array();
8996
+ if (isset($selectedOption['amp-license']) && $selectedOption['amp-license']) {
8997
+ $value = is_array($selectedOption['amp-license'])? array_values($selectedOption['amp-license']): array();
8998
+ }
8999
+ if (empty($value[0]["license"]) && ampforwp_check_extensions()){
9000
  $selected = '<span class="exclamation">!</span>';
9001
  Redux::setSection( $opt_name, array(
9002
  'title' => __( "Extensions$selected" , 'accelerated-mobile-pages' ),
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.9.3
7
- Stable tag: 1.0.77.41
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -194,6 +194,10 @@ You can contact us from [here](https://ampforwp.com/contact/)
194
 
195
  == Changelog ==
196
 
 
 
 
 
197
  = 1.0.77.41 (12th April 2022) =
198
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
199
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
@@ -205,15 +209,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
205
  * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
206
  * Fixed: AMP Option panel improvements #5240
207
 
208
- = 1.0.77.39 (5th April 2022) =
209
- * Improvements: Added New Guidelines in GDPR #5225
210
- * Improvements: Added AT internet analytics support #5233
211
- * Improvements: UI improved of feedback form #5223
212
- * Fixed: Header and footer showing twice in new infine scroll #5238
213
- * Fixed: AMP option panel not working with Tour Booking Manager plugin #5236
214
- * Fixed: Font style not loading correctly on first page load #5224
215
- * Fixed: The hamburger icon is not clickable when Font Icon Library is selected as CSS Icons #5243
216
- * Fixed: Duplicate li tags removed #5241
217
- * Fixed: Warning compatibility PHP 8.0 #5245
218
-
219
  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.9.3
7
+ Stable tag: 1.0.77.42
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.42 (16th April 2022) =
198
+ * Improvements: Added REHub Comparison charts, tables Compatibility #5250
199
+ * Fixed: Debug Warnings - Undefined index: amp-license #5251
200
+
201
  = 1.0.77.41 (12th April 2022) =
202
  * Improvements: Added Compatibility with GenerateBlocks plugin #5248
203
  * Improvements: Added Web Safe Fonts in Google Fonts List #5242
209
  * Fixed: The Publisher Desk CDN URL added instead of Heroku link #5237
210
  * Fixed: AMP Option panel improvements #5240
211
 
 
 
 
 
 
 
 
 
 
 
 
212
  Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)