Skip to content

Commit

Permalink
Merge pull request #734 from alleyinteractive/v2.0.5-prep
Browse files Browse the repository at this point in the history
v2.0.5 prep
  • Loading branch information
kevinfodness authored Jun 15, 2020
2 parents e6fe31e + 6b81bc1 commit 43f63b9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ language: php
# Specify when Travis should build.
branches:
only:
- master
- develop

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion apple-news.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Plugin Name: Publish to Apple News
* Plugin URI: http://github.com/alleyinteractive/apple-news
* Description: Export and sync posts to Apple format.
* Version: 2.0.4
* Version: 2.0.5
* Author: Alley
* Author URI: https://alley.co
* Text Domain: apple-news
Expand Down
2 changes: 1 addition & 1 deletion includes/apple-exporter/class-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ public function validate() {
// Sanitize.
$value = sanitize_text_field( $value );

// Ensure the named font is part of the whitelist.
// Ensure the named font is part of the allowlist.
if ( ! in_array( $value, self::get_fonts(), true ) ) {
$this->log_error(
sprintf(
Expand Down
4 changes: 2 additions & 2 deletions includes/apple-exporter/components/class-facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class Facebook extends Component {

/**
* A list of regular expression patterns for whitelisted Facebook oEmbed formats.
* A list of regular expression patterns for allowlisted Facebook oEmbed formats.
*
* @see https://developer.apple.com/library/prerelease/content/documentation/General/Conceptual/Apple_News_Format_Ref/FacebookPost.html#//apple_ref/doc/uid/TP40015408-CH106-SW1
* @see https://developers.facebook.com/docs/plugins/oembed-endpoints/
Expand Down Expand Up @@ -143,7 +143,7 @@ protected function build( $html ) {
}

/**
* A method to get a Facebook URL from a whitelisted set of formats.
* A method to get a Facebook URL from an allowlisted set of formats.
*
* @param string $text The text to parse for the Facebook URL.
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-apple-news.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Apple_News {
* @var string
* @access public
*/
public static $version = '2.0.4';
public static $version = '2.0.5';

/**
* Link to support for the plugin on WordPress.org.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "publish-to-apple-news",
"version": "2.0.4",
"version": "2.0.5",
"license": "GPLv3",
"main": "index.php",
"engines": {
Expand Down
11 changes: 9 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: publish, apple, news, iOS
Requires at least: 4.0
Tested up to: 5.4.0
Requires PHP: 5.6
Stable tag: 2.0.4
Stable tag: 2.0.5
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl.html

Expand Down Expand Up @@ -46,6 +46,13 @@ Please visit our [wiki](https://github.com/alleyinteractive/apple-news/wiki) for

== Changelog ==

= 2.0.5 =
* Enhancement: Added support for audio, video, and table captions in Gutenberg.
* Enhancement: Adds styles for Button elements that are links.
* Bugfix: Blockquotes using alignments other than left are now properly recognized.
* Bugfix: Facebook URLs inline within other elements no longer getting converted to Facebook embeds.
* Diversity and Inclusion: Replaced instances of "whitelist" with "allowlist" throughout the codebase, change head branch from "master" to "develop". Language matters.

= 2.0.4 =
* Bump "tested up to" tag to 5.4.
* Upgrades node version used for compiling assets to version 12, and patches vulnerabilities reported via npm audit.
Expand Down Expand Up @@ -78,7 +85,7 @@ Please visit our [wiki](https://github.com/alleyinteractive/apple-news/wiki) for
* Enhancement: Added the apple_news_notification_headers filter to allow headers to be added to the notification email message. Props to @paulschreiber for the addition.
* Bugfix: Improved handling of UTF-8 multibyte characters to provide better support for the French language.
* Updated the description that appears below the section selection checkboxes to more accurately explain the current behavior.
* Updated to the latest version of the phpcs and vipwpcs standards, resolving most issues, while whitelisting some rules for resolution in the next version. Props to @paulschreiber for doing most of the work here.
* Updated to the latest version of the phpcs and vipwpcs standards, resolving most issues, while allowlisting some rules for resolution in the next version. Props to @paulschreiber for doing most of the work here.

= 1.4.3 =
* Bugfix: Decodes HTML entities in URLs before performing remote file exists check for embedded media. Props to @kasparsd for the fix.
Expand Down

0 comments on commit 43f63b9

Please sign in to comment.