Version Description
Download this release
Release Info
Developer | automattic |
Plugin | Instant Articles for WP |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
- CHANGELOG.md +6 -1
- class-instant-articles-post.php +10 -2
- composer.lock +48 -40
- facebook-instant-articles.php +2 -2
- readme.txt +5 -1
- vendor/autoload.php +16 -3
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +6 -6
CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4 |
|
5 |
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).
|
6 |
|
|
|
|
|
|
|
|
|
7 |
## [5.0.1] - 2022-10-18
|
8 |
|
9 |
- Refresh dependency that handles fixing of transformer encodings.
|
@@ -244,7 +248,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
244 |
- [#39](https://github.com/automattic/fb-instant-articles/pull/39) Jetpack compat: YouTube and Facebook embeds (@bjornjohansen)
|
245 |
- [#22](https://github.com/automattic/fb-instant-articles/pull/22) Migrate the wpcom-helper.php from WordPress.com. (@Automattic)
|
246 |
|
247 |
-
[Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.
|
|
|
248 |
[5.0.1]: https://github.com/automattic/fb-instant-articles/compare/5.0.0...5.0.1
|
249 |
[5.0.0]: https://github.com/automattic/fb-instant-articles/compare/4.2.1...5.0.0
|
250 |
[4.2.1]: https://github.com/automattic/fb-instant-articles/compare/4.2.0...4.2.1
|
4 |
|
5 |
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).
|
6 |
|
7 |
+
## [5.0.2] - 2022-10-29
|
8 |
+
|
9 |
+
- Fix: Make `Instant_Articles_Post::$instant_article` property public.
|
10 |
+
|
11 |
## [5.0.1] - 2022-10-18
|
12 |
|
13 |
- Refresh dependency that handles fixing of transformer encodings.
|
248 |
- [#39](https://github.com/automattic/fb-instant-articles/pull/39) Jetpack compat: YouTube and Facebook embeds (@bjornjohansen)
|
249 |
- [#22](https://github.com/automattic/fb-instant-articles/pull/22) Migrate the wpcom-helper.php from WordPress.com. (@Automattic)
|
250 |
|
251 |
+
[Unreleased]: https://github.com/automattic/fb-instant-articles/compare/5.0.2...HEAD
|
252 |
+
[5.0.2]: https://github.com/automattic/fb-instant-articles/compare/5.0.1...5.0.2
|
253 |
[5.0.1]: https://github.com/automattic/fb-instant-articles/compare/5.0.0...5.0.1
|
254 |
[5.0.0]: https://github.com/automattic/fb-instant-articles/compare/4.2.1...5.0.0
|
255 |
[4.2.1]: https://github.com/automattic/fb-instant-articles/compare/4.2.0...4.2.1
|
class-instant-articles-post.php
CHANGED
@@ -60,9 +60,17 @@ class Instant_Articles_Post {
|
|
60 |
public $transformer = null;
|
61 |
|
62 |
/**
|
63 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
*/
|
65 |
-
|
66 |
|
67 |
/**
|
68 |
* Setup data and build the content
|
60 |
public $transformer = null;
|
61 |
|
62 |
/**
|
63 |
+
* Instant Article object.
|
64 |
+
*
|
65 |
+
* This is the object that will be used to build the Instant Article markup.
|
66 |
+
*
|
67 |
+
* It's public so that it can continue to be accessed by outside code.
|
68 |
+
*
|
69 |
+
* @since 5.0.0
|
70 |
+
*
|
71 |
+
* @var InstantArticle The Instant Article object.
|
72 |
*/
|
73 |
+
public $instant_article;
|
74 |
|
75 |
/**
|
76 |
* Setup data and build the content
|
composer.lock
CHANGED
@@ -1007,12 +1007,12 @@
|
|
1007 |
"source": {
|
1008 |
"type": "git",
|
1009 |
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
1010 |
-
"reference": "
|
1011 |
},
|
1012 |
"dist": {
|
1013 |
"type": "zip",
|
1014 |
-
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/
|
1015 |
-
"reference": "
|
1016 |
"shasum": ""
|
1017 |
},
|
1018 |
"require": {
|
@@ -1074,20 +1074,20 @@
|
|
1074 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
1075 |
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
1076 |
},
|
1077 |
-
"time": "2022-10-
|
1078 |
},
|
1079 |
{
|
1080 |
"name": "phpcompatibility/phpcompatibility-paragonie",
|
1081 |
-
"version": "1.3.
|
1082 |
"source": {
|
1083 |
"type": "git",
|
1084 |
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
|
1085 |
-
"reference": "
|
1086 |
},
|
1087 |
"dist": {
|
1088 |
"type": "zip",
|
1089 |
-
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/
|
1090 |
-
"reference": "
|
1091 |
"shasum": ""
|
1092 |
},
|
1093 |
"require": {
|
@@ -1124,26 +1124,27 @@
|
|
1124 |
"paragonie",
|
1125 |
"phpcs",
|
1126 |
"polyfill",
|
1127 |
-
"standards"
|
|
|
1128 |
],
|
1129 |
"support": {
|
1130 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
|
1131 |
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
|
1132 |
},
|
1133 |
-
"time": "
|
1134 |
},
|
1135 |
{
|
1136 |
"name": "phpcompatibility/phpcompatibility-wp",
|
1137 |
-
"version": "2.1.
|
1138 |
"source": {
|
1139 |
"type": "git",
|
1140 |
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
|
1141 |
-
"reference": "
|
1142 |
},
|
1143 |
"dist": {
|
1144 |
"type": "zip",
|
1145 |
-
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/
|
1146 |
-
"reference": "
|
1147 |
"shasum": ""
|
1148 |
},
|
1149 |
"require": {
|
@@ -1178,42 +1179,49 @@
|
|
1178 |
"compatibility",
|
1179 |
"phpcs",
|
1180 |
"standards",
|
|
|
1181 |
"wordpress"
|
1182 |
],
|
1183 |
"support": {
|
1184 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
|
1185 |
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
|
1186 |
},
|
1187 |
-
"time": "
|
1188 |
},
|
1189 |
{
|
1190 |
"name": "phpcsstandards/phpcsutils",
|
1191 |
-
"version": "1.0.0-
|
1192 |
"source": {
|
1193 |
"type": "git",
|
1194 |
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
|
1195 |
-
"reference": "
|
1196 |
},
|
1197 |
"dist": {
|
1198 |
"type": "zip",
|
1199 |
-
"url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/
|
1200 |
-
"reference": "
|
1201 |
"shasum": ""
|
1202 |
},
|
1203 |
"require": {
|
1204 |
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
|
1205 |
"php": ">=5.4",
|
1206 |
-
"squizlabs/php_codesniffer": "^
|
1207 |
-
},
|
1208 |
-
"conflict": {
|
1209 |
-
"squizlabs/php_codesniffer": "3.5.3"
|
1210 |
},
|
1211 |
"require-dev": {
|
1212 |
-
"
|
1213 |
-
"php-parallel-lint/php-
|
1214 |
-
"
|
|
|
|
|
|
|
1215 |
},
|
1216 |
"type": "phpcodesniffer-standard",
|
|
|
|
|
|
|
|
|
|
|
|
|
1217 |
"autoload": {
|
1218 |
"classmap": [
|
1219 |
"PHPCSUtils/"
|
@@ -1241,9 +1249,9 @@
|
|
1241 |
"phpcbf",
|
1242 |
"phpcodesniffer-standard",
|
1243 |
"phpcs",
|
1244 |
-
"phpcs2",
|
1245 |
"phpcs3",
|
1246 |
"standards",
|
|
|
1247 |
"tokens",
|
1248 |
"utility"
|
1249 |
],
|
@@ -1252,20 +1260,20 @@
|
|
1252 |
"issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
|
1253 |
"source": "https://github.com/PHPCSStandards/PHPCSUtils"
|
1254 |
},
|
1255 |
-
"time": "
|
1256 |
},
|
1257 |
{
|
1258 |
"name": "phpunit/php-code-coverage",
|
1259 |
-
"version": "9.2.
|
1260 |
"source": {
|
1261 |
"type": "git",
|
1262 |
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
1263 |
-
"reference": "
|
1264 |
},
|
1265 |
"dist": {
|
1266 |
"type": "zip",
|
1267 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
|
1268 |
-
"reference": "
|
1269 |
"shasum": ""
|
1270 |
},
|
1271 |
"require": {
|
@@ -1321,7 +1329,7 @@
|
|
1321 |
],
|
1322 |
"support": {
|
1323 |
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
1324 |
-
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.
|
1325 |
},
|
1326 |
"funding": [
|
1327 |
{
|
@@ -1329,7 +1337,7 @@
|
|
1329 |
"type": "github"
|
1330 |
}
|
1331 |
],
|
1332 |
-
"time": "2022-
|
1333 |
},
|
1334 |
{
|
1335 |
"name": "phpunit/php-file-iterator",
|
@@ -1574,16 +1582,16 @@
|
|
1574 |
},
|
1575 |
{
|
1576 |
"name": "phpunit/phpunit",
|
1577 |
-
"version": "9.5.
|
1578 |
"source": {
|
1579 |
"type": "git",
|
1580 |
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
1581 |
-
"reference": "
|
1582 |
},
|
1583 |
"dist": {
|
1584 |
"type": "zip",
|
1585 |
-
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
|
1586 |
-
"reference": "
|
1587 |
"shasum": ""
|
1588 |
},
|
1589 |
"require": {
|
@@ -1656,7 +1664,7 @@
|
|
1656 |
],
|
1657 |
"support": {
|
1658 |
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
1659 |
-
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.
|
1660 |
},
|
1661 |
"funding": [
|
1662 |
{
|
@@ -1672,7 +1680,7 @@
|
|
1672 |
"type": "tidelift"
|
1673 |
}
|
1674 |
],
|
1675 |
-
"time": "2022-
|
1676 |
},
|
1677 |
{
|
1678 |
"name": "sebastian/cli-parser",
|
1007 |
"source": {
|
1008 |
"type": "git",
|
1009 |
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
1010 |
+
"reference": "ecda3fc3ec738b09075abad202938afbc6e461ab"
|
1011 |
},
|
1012 |
"dist": {
|
1013 |
"type": "zip",
|
1014 |
+
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/ecda3fc3ec738b09075abad202938afbc6e461ab",
|
1015 |
+
"reference": "ecda3fc3ec738b09075abad202938afbc6e461ab",
|
1016 |
"shasum": ""
|
1017 |
},
|
1018 |
"require": {
|
1074 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
1075 |
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
1076 |
},
|
1077 |
+
"time": "2022-10-28T21:43:52+00:00"
|
1078 |
},
|
1079 |
{
|
1080 |
"name": "phpcompatibility/phpcompatibility-paragonie",
|
1081 |
+
"version": "1.3.2",
|
1082 |
"source": {
|
1083 |
"type": "git",
|
1084 |
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
|
1085 |
+
"reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26"
|
1086 |
},
|
1087 |
"dist": {
|
1088 |
"type": "zip",
|
1089 |
+
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
|
1090 |
+
"reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
|
1091 |
"shasum": ""
|
1092 |
},
|
1093 |
"require": {
|
1124 |
"paragonie",
|
1125 |
"phpcs",
|
1126 |
"polyfill",
|
1127 |
+
"standards",
|
1128 |
+
"static analysis"
|
1129 |
],
|
1130 |
"support": {
|
1131 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
|
1132 |
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
|
1133 |
},
|
1134 |
+
"time": "2022-10-25T01:46:02+00:00"
|
1135 |
},
|
1136 |
{
|
1137 |
"name": "phpcompatibility/phpcompatibility-wp",
|
1138 |
+
"version": "2.1.4",
|
1139 |
"source": {
|
1140 |
"type": "git",
|
1141 |
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
|
1142 |
+
"reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5"
|
1143 |
},
|
1144 |
"dist": {
|
1145 |
"type": "zip",
|
1146 |
+
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
|
1147 |
+
"reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
|
1148 |
"shasum": ""
|
1149 |
},
|
1150 |
"require": {
|
1179 |
"compatibility",
|
1180 |
"phpcs",
|
1181 |
"standards",
|
1182 |
+
"static analysis",
|
1183 |
"wordpress"
|
1184 |
],
|
1185 |
"support": {
|
1186 |
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
|
1187 |
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
|
1188 |
},
|
1189 |
+
"time": "2022-10-24T09:00:36+00:00"
|
1190 |
},
|
1191 |
{
|
1192 |
"name": "phpcsstandards/phpcsutils",
|
1193 |
+
"version": "1.0.0-alpha4",
|
1194 |
"source": {
|
1195 |
"type": "git",
|
1196 |
"url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
|
1197 |
+
"reference": "37c6da9a0aede973974ae02ef1af2dd641355e86"
|
1198 |
},
|
1199 |
"dist": {
|
1200 |
"type": "zip",
|
1201 |
+
"url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/37c6da9a0aede973974ae02ef1af2dd641355e86",
|
1202 |
+
"reference": "37c6da9a0aede973974ae02ef1af2dd641355e86",
|
1203 |
"shasum": ""
|
1204 |
},
|
1205 |
"require": {
|
1206 |
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
|
1207 |
"php": ">=5.4",
|
1208 |
+
"squizlabs/php_codesniffer": "^3.7.1 || 4.0.x-dev@dev"
|
|
|
|
|
|
|
1209 |
},
|
1210 |
"require-dev": {
|
1211 |
+
"ext-filter": "*",
|
1212 |
+
"php-parallel-lint/php-console-highlighter": "^1.0",
|
1213 |
+
"php-parallel-lint/php-parallel-lint": "^1.3.2",
|
1214 |
+
"phpcsstandards/phpcsdevcs": "^1.1.3",
|
1215 |
+
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.3",
|
1216 |
+
"yoast/phpunit-polyfills": "^1.0.1"
|
1217 |
},
|
1218 |
"type": "phpcodesniffer-standard",
|
1219 |
+
"extra": {
|
1220 |
+
"branch-alias": {
|
1221 |
+
"dev-stable": "1.x-dev",
|
1222 |
+
"dev-develop": "1.x-dev"
|
1223 |
+
}
|
1224 |
+
},
|
1225 |
"autoload": {
|
1226 |
"classmap": [
|
1227 |
"PHPCSUtils/"
|
1249 |
"phpcbf",
|
1250 |
"phpcodesniffer-standard",
|
1251 |
"phpcs",
|
|
|
1252 |
"phpcs3",
|
1253 |
"standards",
|
1254 |
+
"static analysis",
|
1255 |
"tokens",
|
1256 |
"utility"
|
1257 |
],
|
1260 |
"issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
|
1261 |
"source": "https://github.com/PHPCSStandards/PHPCSUtils"
|
1262 |
},
|
1263 |
+
"time": "2022-10-25T13:57:45+00:00"
|
1264 |
},
|
1265 |
{
|
1266 |
"name": "phpunit/php-code-coverage",
|
1267 |
+
"version": "9.2.18",
|
1268 |
"source": {
|
1269 |
"type": "git",
|
1270 |
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
1271 |
+
"reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a"
|
1272 |
},
|
1273 |
"dist": {
|
1274 |
"type": "zip",
|
1275 |
+
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
|
1276 |
+
"reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
|
1277 |
"shasum": ""
|
1278 |
},
|
1279 |
"require": {
|
1329 |
],
|
1330 |
"support": {
|
1331 |
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
1332 |
+
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.18"
|
1333 |
},
|
1334 |
"funding": [
|
1335 |
{
|
1337 |
"type": "github"
|
1338 |
}
|
1339 |
],
|
1340 |
+
"time": "2022-10-27T13:35:33+00:00"
|
1341 |
},
|
1342 |
{
|
1343 |
"name": "phpunit/php-file-iterator",
|
1582 |
},
|
1583 |
{
|
1584 |
"name": "phpunit/phpunit",
|
1585 |
+
"version": "9.5.26",
|
1586 |
"source": {
|
1587 |
"type": "git",
|
1588 |
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
1589 |
+
"reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2"
|
1590 |
},
|
1591 |
"dist": {
|
1592 |
"type": "zip",
|
1593 |
+
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/851867efcbb6a1b992ec515c71cdcf20d895e9d2",
|
1594 |
+
"reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2",
|
1595 |
"shasum": ""
|
1596 |
},
|
1597 |
"require": {
|
1664 |
],
|
1665 |
"support": {
|
1666 |
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
1667 |
+
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.26"
|
1668 |
},
|
1669 |
"funding": [
|
1670 |
{
|
1680 |
"type": "tidelift"
|
1681 |
}
|
1682 |
],
|
1683 |
+
"time": "2022-10-28T06:00:21+00:00"
|
1684 |
},
|
1685 |
{
|
1686 |
"name": "sebastian/cli-parser",
|
facebook-instant-articles.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Instant Articles for WP
|
11 |
* Description: Add support for Instant Articles for Facebook to your WordPress site.
|
12 |
* Author: Automattic, Dekode, Facebook
|
13 |
-
* Version: 5.0.
|
14 |
* Text Domain: instant-articles
|
15 |
* License: GPL-2.0-or-later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -21,7 +21,7 @@
|
|
21 |
|
22 |
defined( 'ABSPATH' ) || die();
|
23 |
|
24 |
-
const IA_PLUGIN_VERSION = '5.0.
|
25 |
const IA_PLUGIN_FILE = __FILE__;
|
26 |
const IA_PLUGIN_FORCE_SUBMIT_KEY = 'instant_articles_force_submit';
|
27 |
|
10 |
* Plugin Name: Instant Articles for WP
|
11 |
* Description: Add support for Instant Articles for Facebook to your WordPress site.
|
12 |
* Author: Automattic, Dekode, Facebook
|
13 |
+
* Version: 5.0.2
|
14 |
* Text Domain: instant-articles
|
15 |
* License: GPL-2.0-or-later
|
16 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
21 |
|
22 |
defined( 'ABSPATH' ) || die();
|
23 |
|
24 |
+
const IA_PLUGIN_VERSION = '5.0.2';
|
25 |
const IA_PLUGIN_FILE = __FILE__;
|
26 |
const IA_PLUGIN_FORCE_SUBMIT_KEY = 'instant_articles_force_submit';
|
27 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: instant-articles, fb, mobile, instant articles
|
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 7.1
|
6 |
Tested up to: 6.0.3
|
7 |
-
Stable tag: 5.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -93,6 +93,10 @@ Usually simply visiting the permalinks settings page in the WordPress dashboard
|
|
93 |
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.
|
94 |
|
95 |
== Changelog ==
|
|
|
|
|
|
|
|
|
96 |
### 5.0.1 - 2022-10-18
|
97 |
|
98 |
- Refresh dependency that handles fixing of transformer encodings.
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 7.1
|
6 |
Tested up to: 6.0.3
|
7 |
+
Stable tag: 5.0.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
93 |
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.
|
94 |
|
95 |
== Changelog ==
|
96 |
+
### 5.0.2 - 2022-10-29
|
97 |
+
|
98 |
+
- Fix: Make `Instant_Articles_Post::$instant_article` property public.
|
99 |
+
|
100 |
### 5.0.1 - 2022-10-18
|
101 |
|
102 |
- Refresh dependency that handles fixing of transformer encodings.
|
vendor/autoload.php
CHANGED
@@ -3,10 +3,23 @@
|
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
if (PHP_VERSION_ID < 50600) {
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
-
return
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
if (PHP_VERSION_ID < 50600) {
|
6 |
+
if (!headers_sent()) {
|
7 |
+
header('HTTP/1.1 500 Internal Server Error');
|
8 |
+
}
|
9 |
+
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
|
10 |
+
if (!ini_get('display_errors')) {
|
11 |
+
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
12 |
+
fwrite(STDERR, $err);
|
13 |
+
} elseif (!headers_sent()) {
|
14 |
+
echo $err;
|
15 |
+
}
|
16 |
+
}
|
17 |
+
trigger_error(
|
18 |
+
$err,
|
19 |
+
E_USER_ERROR
|
20 |
+
);
|
21 |
}
|
22 |
|
23 |
require_once __DIR__ . '/composer/autoload_real.php';
|
24 |
|
25 |
+
return ComposerAutoloaderInit981bdc7df44b3cb34d1ce172468072ba::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,19 +24,19 @@ class ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
-
call_user_func(\Composer\Autoload\
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
-
$includeFiles = \Composer\Autoload\
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
-
|
40 |
}
|
41 |
|
42 |
return $loader;
|
@@ -48,7 +48,7 @@ class ComposerAutoloaderInit7c5af9e3aaeb69a9bf3e07ea646961e9
|
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
-
function
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit981bdc7df44b3cb34d1ce172468072ba
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit981bdc7df44b3cb34d1ce172468072ba', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit981bdc7df44b3cb34d1ce172468072ba', 'loadClassLoader'));
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba::getInitializer($loader));
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba::$files;
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
+
composerRequire981bdc7df44b3cb34d1ce172468072ba($fileIdentifier, $file);
|
40 |
}
|
41 |
|
42 |
return $loader;
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
+
function composerRequire981bdc7df44b3cb34d1ce172468072ba($fileIdentifier, $file)
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
|
@@ -321,9 +321,9 @@ class ComposerStaticInit7c5af9e3aaeb69a9bf3e07ea646961e9
|
|
321 |
public static function getInitializer(ClassLoader $loader)
|
322 |
{
|
323 |
return \Closure::bind(function () use ($loader) {
|
324 |
-
$loader->prefixLengthsPsr4 =
|
325 |
-
$loader->prefixDirsPsr4 =
|
326 |
-
$loader->classMap =
|
327 |
|
328 |
}, null, ClassLoader::class);
|
329 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'c65d09b6820da036953a371c8c73a9b1' => __DIR__ . '/..' . '/facebook/graph-sdk/src/Facebook/polyfills.php',
|
321 |
public static function getInitializer(ClassLoader $loader)
|
322 |
{
|
323 |
return \Closure::bind(function () use ($loader) {
|
324 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba::$prefixLengthsPsr4;
|
325 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba::$prefixDirsPsr4;
|
326 |
+
$loader->classMap = ComposerStaticInit981bdc7df44b3cb34d1ce172468072ba::$classMap;
|
327 |
|
328 |
}, null, ClassLoader::class);
|
329 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'automattic/facebook-instant-articles-wp',
|
4 |
-
'pretty_version' => '5.0.
|
5 |
-
'version' => '5.0.
|
6 |
-
'reference' => '
|
7 |
'type' => 'wordpress-plugin',
|
8 |
'install_path' => __DIR__ . '/../../',
|
9 |
'aliases' => array(),
|
@@ -11,9 +11,9 @@
|
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'automattic/facebook-instant-articles-wp' => array(
|
14 |
-
'pretty_version' => '5.0.
|
15 |
-
'version' => '5.0.
|
16 |
-
'reference' => '
|
17 |
'type' => 'wordpress-plugin',
|
18 |
'install_path' => __DIR__ . '/../../',
|
19 |
'aliases' => array(),
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'automattic/facebook-instant-articles-wp',
|
4 |
+
'pretty_version' => '5.0.2',
|
5 |
+
'version' => '5.0.2.0',
|
6 |
+
'reference' => '59ae2a1936a4f615323d2be6b350c61f0cde46e4',
|
7 |
'type' => 'wordpress-plugin',
|
8 |
'install_path' => __DIR__ . '/../../',
|
9 |
'aliases' => array(),
|
11 |
),
|
12 |
'versions' => array(
|
13 |
'automattic/facebook-instant-articles-wp' => array(
|
14 |
+
'pretty_version' => '5.0.2',
|
15 |
+
'version' => '5.0.2.0',
|
16 |
+
'reference' => '59ae2a1936a4f615323d2be6b350c61f0cde46e4',
|
17 |
'type' => 'wordpress-plugin',
|
18 |
'install_path' => __DIR__ . '/../../',
|
19 |
'aliases' => array(),
|