Version Description
Download this release
Release Info
| Developer | diegoquinteiro |
| Plugin | |
| Version | 2.4 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3 to 2.4
- facebook-instant-articles.php +1 -1
- readme.txt +1 -1
- settings/class-instant-articles-settings-fb-page.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +3 -3
- vendor/composer/installed.json +6 -6
- vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Client/Client.php +1 -0
- vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Client/Helper.php +1 -0
- vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Elements/InstantArticle.php +1 -1
facebook-instant-articles.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Description: Add support for Instant Articles for Facebook to your WordPress site.
|
| 5 |
* Author: Automattic, Dekode, Facebook
|
| 6 |
* Author URI: https://vip.wordpress.com/plugins/instant-articles/
|
| 7 |
-
* Version: 2.
|
| 8 |
* Text Domain: instant-articles
|
| 9 |
* License: GPLv2
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 4 |
* Description: Add support for Instant Articles for Facebook to your WordPress site.
|
| 5 |
* Author: Automattic, Dekode, Facebook
|
| 6 |
* Author URI: https://vip.wordpress.com/plugins/instant-articles/
|
| 7 |
+
* Version: 2.4
|
| 8 |
* Text Domain: instant-articles
|
| 9 |
* License: GPLv2
|
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: trrine, olethomas, bjornjohansen, dekode, automattic, facebook
|
|
| 3 |
Tags: instant articles, facebook, mobile
|
| 4 |
Requires at least: 4.3
|
| 5 |
Tested up to: 4.5
|
| 6 |
-
Stable tag: 2.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 3 |
Tags: instant articles, facebook, mobile
|
| 4 |
Requires at least: 4.3
|
| 5 |
Tested up to: 4.5
|
| 6 |
+
Stable tag: 2.4
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
settings/class-instant-articles-settings-fb-page.php
CHANGED
|
@@ -52,7 +52,7 @@ class Instant_Articles_Settings_FB_Page {
|
|
| 52 |
$this->fb_sdk = new Facebook\Facebook(array(
|
| 53 |
'app_id' => $app_id,
|
| 54 |
'app_secret' => $app_secret,
|
| 55 |
-
'default_graph_version' => 'v2.
|
| 56 |
));
|
| 57 |
|
| 58 |
$this->render_settings_page_scripts();
|
| 52 |
$this->fb_sdk = new Facebook\Facebook(array(
|
| 53 |
'app_id' => $app_id,
|
| 54 |
'app_secret' => $app_secret,
|
| 55 |
+
'default_graph_version' => 'v2.5',
|
| 56 |
));
|
| 57 |
|
| 58 |
$this->render_settings_page_scripts();
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit5e384922e1f74623ecd001521fdfec6e::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 |
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitfd388dc88fcfe23659ac38193fdb101e
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 27 |
foreach ($map as $namespace => $path) {
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit5e384922e1f74623ecd001521fdfec6e
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5e384922e1f74623ecd001521fdfec6e', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5e384922e1f74623ecd001521fdfec6e', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 27 |
foreach ($map as $namespace => $path) {
|
vendor/composer/installed.json
CHANGED
|
@@ -145,17 +145,17 @@
|
|
| 145 |
},
|
| 146 |
{
|
| 147 |
"name": "facebook/facebook-instant-articles-sdk-php",
|
| 148 |
-
"version": "v1.0.
|
| 149 |
-
"version_normalized": "1.0.
|
| 150 |
"source": {
|
| 151 |
"type": "git",
|
| 152 |
"url": "https://github.com/facebook/facebook-instant-articles-sdk-php.git",
|
| 153 |
-
"reference": "
|
| 154 |
},
|
| 155 |
"dist": {
|
| 156 |
"type": "zip",
|
| 157 |
-
"url": "https://api.github.com/repos/facebook/facebook-instant-articles-sdk-php/zipball/
|
| 158 |
-
"reference": "
|
| 159 |
"shasum": ""
|
| 160 |
},
|
| 161 |
"require": {
|
|
@@ -167,7 +167,7 @@
|
|
| 167 |
"require-dev": {
|
| 168 |
"phpunit/phpunit": "^4.8"
|
| 169 |
},
|
| 170 |
-
"time": "2016-04-12
|
| 171 |
"type": "library",
|
| 172 |
"installation-source": "dist",
|
| 173 |
"autoload": {
|
| 145 |
},
|
| 146 |
{
|
| 147 |
"name": "facebook/facebook-instant-articles-sdk-php",
|
| 148 |
+
"version": "v1.0.2",
|
| 149 |
+
"version_normalized": "1.0.2.0",
|
| 150 |
"source": {
|
| 151 |
"type": "git",
|
| 152 |
"url": "https://github.com/facebook/facebook-instant-articles-sdk-php.git",
|
| 153 |
+
"reference": "a92f4095c8f470ed747f79699b794fdd15f89ad2"
|
| 154 |
},
|
| 155 |
"dist": {
|
| 156 |
"type": "zip",
|
| 157 |
+
"url": "https://api.github.com/repos/facebook/facebook-instant-articles-sdk-php/zipball/a92f4095c8f470ed747f79699b794fdd15f89ad2",
|
| 158 |
+
"reference": "a92f4095c8f470ed747f79699b794fdd15f89ad2",
|
| 159 |
"shasum": ""
|
| 160 |
},
|
| 161 |
"require": {
|
| 167 |
"require-dev": {
|
| 168 |
"phpunit/phpunit": "^4.8"
|
| 169 |
},
|
| 170 |
+
"time": "2016-04-12 18:06:23",
|
| 171 |
"type": "library",
|
| 172 |
"installation-source": "dist",
|
| 173 |
"autoload": {
|
vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Client/Client.php
CHANGED
|
@@ -71,6 +71,7 @@ class Client
|
|
| 71 |
'app_id' => $appID,
|
| 72 |
'app_secret' => $appSecret,
|
| 73 |
'default_access_token' => $accessToken,
|
|
|
|
| 74 |
]);
|
| 75 |
|
| 76 |
return new static($facebook, $pageID, $developmentMode);
|
| 71 |
'app_id' => $appID,
|
| 72 |
'app_secret' => $appSecret,
|
| 73 |
'default_access_token' => $accessToken,
|
| 74 |
+
'default_graph_version' => 'v2.5'
|
| 75 |
]);
|
| 76 |
|
| 77 |
return new static($facebook, $pageID, $developmentMode);
|
vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Client/Helper.php
CHANGED
|
@@ -48,6 +48,7 @@ class Helper
|
|
| 48 |
$facebook = new Facebook([
|
| 49 |
'app_id' => $appID,
|
| 50 |
'app_secret' => $appSecret,
|
|
|
|
| 51 |
]);
|
| 52 |
|
| 53 |
return new static($facebook);
|
| 48 |
$facebook = new Facebook([
|
| 49 |
'app_id' => $appID,
|
| 50 |
'app_secret' => $appSecret,
|
| 51 |
+
'default_graph_version' => 'v2.5'
|
| 52 |
]);
|
| 53 |
|
| 54 |
return new static($facebook);
|
vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Elements/InstantArticle.php
CHANGED
|
@@ -33,7 +33,7 @@ use Facebook\InstantArticles\Validators\Type;
|
|
| 33 |
*/
|
| 34 |
class InstantArticle extends Element
|
| 35 |
{
|
| 36 |
-
const CURRENT_VERSION = '1.0.
|
| 37 |
|
| 38 |
/**
|
| 39 |
* The meta properties that are used on <head>
|
| 33 |
*/
|
| 34 |
class InstantArticle extends Element
|
| 35 |
{
|
| 36 |
+
const CURRENT_VERSION = '1.0.2';
|
| 37 |
|
| 38 |
/**
|
| 39 |
* The meta properties that are used on <head>
|
