Skip to content

Commit

Permalink
Bump to 0.3.2
Browse files Browse the repository at this point in the history
Including changelog updates
  • Loading branch information
mjangda committed Mar 4, 2016
1 parent d8cfd57 commit 0f06375
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion amp.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://github.com/automattic/amp-wp
* Author: Automattic
* Author URI: https://automattic.com
* Version: 0.3.1
* Version: 0.3.2
* Text Domain: amp
* Domain Path: /languages/
* License: GPLv2 or later
Expand Down
8 changes: 2 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you're using a custom theme:

### Theme Mods

The default template will attempt to draw from various theme mods, such as site icon and background and header color/image, if supported by the active theme.
The default template will attempt to draw from various theme mods, such as site icon, if supported by the active theme.

#### Site Icon

Expand All @@ -51,10 +51,6 @@ function xyz_amp_set_site_icon_url( $data ) {
}
```

#### Custom Header

This needs to be implemented.

#### Logo Only

If you want to hide the site text and just show a logo, use the `amp_post_template_css` action. The following colours the title bar black, hides the site title, and replaces it with a centered logo:
Expand Down Expand Up @@ -152,6 +148,7 @@ function xyz_amp_modify_json_metadata( $metadata, $post ) {
'height' => 60,
'width' => 600,
);
return $metadata;
}
```
Expand Down Expand Up @@ -568,7 +565,6 @@ function xyz_amp_set_custom_template( $file, $type, $post ) {
}
return $file;
}
```

We may provide better ways to handle this in the future.
Expand Down
21 changes: 17 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: batmoo, joen, automattic
Tags: amp, mobile
Requires at least: 4.4
Tested up to: 4.4
Stable tag: 0.3.1
Stable tag: 0.3.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -34,15 +34,28 @@ You can find details about customization options at https://github.com/Automatti

== Changelog ==

= 0.3.2 (Mar 4, 2016) =

* Jetpack Stats support.
* Better version of Merriweather and use system fonts for sans-serif (props mattmiklic).
* Move font to stylesheet so it can be more easily overridden (props mattmiklic).
* Fix: Template loading issues on Windows. (Thanks to everyone who reported this, especially w33zy for pointing out the `validate_file` issue.)
* Fix: don't run AMP on post comment feeds (props kraftbj).
* Fix: un-break pagination when using a static home page with multiple pages.
* Fix: force amp-iframe to use https to validate correctly (props mister-ben).
* Fix: validation for `target` and `video`/`audio` attributes.
* Fix: clipped images in galleries (thanks tobaco).

= 0.3.1 (Feb 24, 2016) =

* Fix AMP URLs for non-pretty permalinks.
* Allow custom query var (props vaurdan).
* Fix AMP URLs for non-pretty permalinks (props rakuishi).
* Fix for password-protected posts.
* Fix dimension extraction for schema-less or relative image URLs.
* Better fallback for images with no dimensions.
* Validation fixes for `a` tags.
* Validation fixes for `a` tags (props kraftbj).
* Updated AMP boilerplate.
* Allow `on` tags for elements.
* Allow `on` tags for elements (props Steven Evatt).
* Prefixed class names.

= 0.3 (Feb 18, 2016) =
Expand Down

0 comments on commit 0f06375

Please sign in to comment.