Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1112 from Automattic/hotfix/5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones authored Oct 29, 2022
2 parents 51e9046 + 7c277eb commit 59ae2a1
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.0.2] - 2022-10-29

- Fix: Make `Instant_Articles_Post::$instant_article` property public.

## [5.0.1] - 2022-10-18

- Refresh dependency that handles fixing of transformer encodings.
Expand Down Expand Up @@ -244,7 +248,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- [#39](https://github.com/automattic/fb-instant-articles/pull/39) Jetpack compat: YouTube and Facebook embeds (@bjornjohansen)
- [#22](https://github.com/automattic/fb-instant-articles/pull/22) Migrate the wpcom-helper.php from WordPress.com. (@Automattic)

[Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.1...HEAD
[Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.2...HEAD
[5.0.2]: https://github.com/automattic/fb-instant-articles/compare/5.0.1...5.0.2
[5.0.1]: https://github.com/automattic/fb-instant-articles/compare/5.0.0...5.0.1
[5.0.0]: https://github.com/automattic/fb-instant-articles/compare/4.2.1...5.0.0
[4.2.1]: https://github.com/automattic/fb-instant-articles/compare/4.2.0...4.2.1
Expand Down
12 changes: 10 additions & 2 deletions class-instant-articles-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,17 @@ class Instant_Articles_Post {
public $transformer = null;

/**
* @var InstantArticle|mixed|null
* Instant Article object.
*
* This is the object that will be used to build the Instant Article markup.
*
* It's public so that it can continue to be accessed by outside code.
*
* @since 5.0.0
*
* @var InstantArticle The Instant Article object.
*/
private $instant_article;
public $instant_article;

/**
* Setup data and build the content
Expand Down
4 changes: 2 additions & 2 deletions facebook-instant-articles.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Instant Articles for WP
* Description: Add support for Instant Articles for Facebook to your WordPress site.
* Author: Automattic, Dekode, Facebook
* Version: 5.0.1
* Version: 5.0.2
* Text Domain: instant-articles
* License: GPL-2.0-or-later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -21,7 +21,7 @@

defined( 'ABSPATH' ) || die();

const IA_PLUGIN_VERSION = '5.0.1';
const IA_PLUGIN_VERSION = '5.0.2';
const IA_PLUGIN_FILE = __FILE__;
const IA_PLUGIN_FORCE_SUBMIT_KEY = 'instant_articles_force_submit';

Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: instant-articles, fb, mobile, instant articles
Requires at least: 4.7
Requires PHP: 7.1
Tested up to: 6.0.3
Stable tag: 5.0.1
Stable tag: 5.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -93,6 +93,10 @@ Usually simply visiting the permalinks settings page in the WordPress dashboard
1. Customized transformer rules enabled on the main Settings page. The particular configuration shown here would cause `<u>` and `<bold>` tags in the source markup to be rendered in *italics* and **bold**, respectively, in the generated Instant Article.

== Changelog ==
### 5.0.2 - 2022-10-29

- Fix: Make `Instant_Articles_Post::$instant_article` property public.

### 5.0.1 - 2022-10-18

- Refresh dependency that handles fixing of transformer encodings.
Expand Down

0 comments on commit 59ae2a1

Please sign in to comment.