AMP for WP – Accelerated Mobile Pages - Version 0.2

Version Description

  • White Screen of death issue fixed
  • Plugin URI updated
Download this release

Release Info

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

Code changes from version 0.1 to 0.2

accelerated-moblie-pages.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
  Plugin Name: Accelerated Mobile Pages
4
- Plugin URI: www.theskin.io
5
  Description: Accelerated Mobile Pages for WordPress
6
- Version: 0.1
7
  Author: Mohammed Kaludi, Ahmed Kaludi
8
  Author URI: http://theskin.io/amp/
9
  License: GPL2
@@ -39,4 +39,4 @@ function add_rel_info() { ?>
39
  <link rel="amphtml" href="<?php the_permalink(); ?>/?mobile" />
40
  <?php }
41
  add_action( 'wp_head', 'add_rel_info' );
42
- ?>
1
  <?php
2
  /*
3
  Plugin Name: Accelerated Mobile Pages
4
+ Plugin URI: http://theskin.io/amp/
5
  Description: Accelerated Mobile Pages for WordPress
6
+ Version: 0.2
7
  Author: Mohammed Kaludi, Ahmed Kaludi
8
  Author URI: http://theskin.io/amp/
9
  License: GPL2
39
  <link rel="amphtml" href="<?php the_permalink(); ?>/?mobile" />
40
  <?php }
41
  add_action( 'wp_head', 'add_rel_info' );
42
+ ?>
admin/ampwp-render.php CHANGED
@@ -41,7 +41,7 @@ if ( ! class_exists( 'AmpWP_render' ) ) {
41
  * @since 1.0
42
  */
43
  public function ampwp_set_theme_root() {
44
- return WP_CONTENT_DIR . '/plugins/accelerated-mobile-page/themes/' ;
45
  }
46
 
47
  /**
@@ -51,7 +51,7 @@ if ( ! class_exists( 'AmpWP_render' ) ) {
51
  * @since 1.0
52
  */
53
  public function ampwp_set_theme_uri() {
54
- return WP_CONTENT_DIR . '/wp-content' . '/plugins/accelerated-mobile-page/themes/';
55
  }
56
  }
57
  }
41
  * @since 1.0
42
  */
43
  public function ampwp_set_theme_root() {
44
+ return WP_CONTENT_DIR . '/plugins/accelerated-mobile-pages/themes/' ;
45
  }
46
 
47
  /**
51
  * @since 1.0
52
  */
53
  public function ampwp_set_theme_uri() {
54
+ return WP_CONTENT_DIR . '/wp-content' . '/plugins/accelerated-mobile-pages/themes/';
55
  }
56
  }
57
  }
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Accelerated Mobile Pages ===
2
  Contributors: mohammed_kaludi, ahmedkaludi
3
  Tags: accelerated mobile pages, amp, mobile, amp project, google amp
4
- Requires at least: 4.0
5
- Tested up to: 4.3
6
  Stable tag: 1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -28,5 +28,9 @@ Add /?mobile at the end of your website url and you will get amp version of your
28
 
29
  == Changelog ==
30
 
31
- = 1.0 =
32
  * Initial version
 
 
 
 
1
  === Accelerated Mobile Pages ===
2
  Contributors: mohammed_kaludi, ahmedkaludi
3
  Tags: accelerated mobile pages, amp, mobile, amp project, google amp
4
+ Requires at least: 3.0
5
+ Tested up to: 4.4.2
6
  Stable tag: 1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
28
 
29
  == Changelog ==
30
 
31
+ = 0.1 =
32
  * Initial version
33
+
34
+ = 0.2 =
35
+ * White Screen of death issue fixed
36
+ * Plugin URI updated