Version Description
- Add support for WordPress 5.0
Download this release
Release Info
Developer | |
Plugin | |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- .travis.yml +0 -60
- readme.txt +5 -2
- src/Twitter/WordPress/PluginLoader.php +1 -1
- twitter.php +3 -3
.travis.yml
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
# Travis CI Configuration file
|
2 |
-
# @link https://travis-ci.org/
|
3 |
-
|
4 |
-
# Use new Travis container-based infrastructure
|
5 |
-
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
6 |
-
sudo: false
|
7 |
-
|
8 |
-
# PHP
|
9 |
-
# @link http://docs.travis-ci.com/user/languages/php/
|
10 |
-
language: php
|
11 |
-
|
12 |
-
# Declare versions of PHP to test
|
13 |
-
php:
|
14 |
-
# aliased to a recent 7.1.x version
|
15 |
-
- 7.1
|
16 |
-
# aliased to a recent 7.0.x version
|
17 |
-
- 7.0
|
18 |
-
# aliased to a recent 5.6.x version
|
19 |
-
- 5.6
|
20 |
-
# aliased to a recent 5.5.x version
|
21 |
-
- 5.5
|
22 |
-
# aliased to a recent 5.4.x version
|
23 |
-
- 5.4
|
24 |
-
|
25 |
-
# WordPress comes from the Git mirror, where 'master' mirrors svn 'trunk' and
|
26 |
-
# x.y mirrors the latest from the x.y branch
|
27 |
-
env:
|
28 |
-
# WordPress 4.9
|
29 |
-
- WP_VERSION=4.9
|
30 |
-
# WordPress 4.8
|
31 |
-
- WP_VERSION=4.8
|
32 |
-
# WordPress 4.7
|
33 |
-
- WP_VERSION=4.7
|
34 |
-
|
35 |
-
matrix:
|
36 |
-
fast_finish: true
|
37 |
-
|
38 |
-
# before_install: Failures in this section will result in build status 'errored'
|
39 |
-
before_install:
|
40 |
-
# set up WP install
|
41 |
-
- export WP_DEVELOP_DIR=/tmp/wordpress/
|
42 |
-
- mkdir -p $WP_DEVELOP_DIR
|
43 |
-
- git clone --depth=1 --branch="$WP_VERSION" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR
|
44 |
-
- plugin_slug=$(basename $(pwd))
|
45 |
-
- plugin_dir=$WP_DEVELOP_DIR/src/wp-content/plugins/$plugin_slug
|
46 |
-
- cd ..
|
47 |
-
- mv $plugin_slug $plugin_dir
|
48 |
-
# set up tests config
|
49 |
-
- cd $WP_DEVELOP_DIR
|
50 |
-
- echo $WP_DEVELOP_DIR
|
51 |
-
- cp wp-tests-config-sample.php wp-tests-config.php
|
52 |
-
- sed -i "s/youremptytestdbnamehere/wordpress_test/" wp-tests-config.php
|
53 |
-
- sed -i "s/yourusernamehere/travis/" wp-tests-config.php
|
54 |
-
- sed -i "s/yourpasswordhere//" wp-tests-config.php
|
55 |
-
# create database
|
56 |
-
- mysql -e 'CREATE DATABASE wordpress_test;' -uroot
|
57 |
-
# prepare for running the tests
|
58 |
-
- cd $plugin_dir
|
59 |
-
|
60 |
-
script: phpunit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Twitter, niallkennedy, sobkowicz
|
3 |
Tags: twitter, embedded tweet, embedded timeline, twitter profile, twitter list, twitter moment, twitter video, twitter grid, periscope, twitter cards, tweet button, follow button, twitter analytics, twitter ads
|
4 |
Requires at least: 4.7
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 2.0.
|
7 |
License: MIT
|
8 |
License URI: https://opensource.org/licenses/MIT
|
9 |
|
@@ -71,6 +71,9 @@ Shortcode improvements for ajax-loaded posts. Remove photo, gallery, and product
|
|
71 |
Display admin notice if current PHP version does not meet minimum requirements. Do not display Tweet button in auto-generated excerpt.
|
72 |
|
73 |
== Changelog ==
|
|
|
|
|
|
|
74 |
= 2.0.2 =
|
75 |
* Support 280 characters
|
76 |
* Add support for WordPress 4.8 and 4.9
|
2 |
Contributors: Twitter, niallkennedy, sobkowicz
|
3 |
Tags: twitter, embedded tweet, embedded timeline, twitter profile, twitter list, twitter moment, twitter video, twitter grid, periscope, twitter cards, tweet button, follow button, twitter analytics, twitter ads
|
4 |
Requires at least: 4.7
|
5 |
+
Tested up to: 5.0
|
6 |
+
Stable tag: 2.0.3
|
7 |
License: MIT
|
8 |
License URI: https://opensource.org/licenses/MIT
|
9 |
|
71 |
Display admin notice if current PHP version does not meet minimum requirements. Do not display Tweet button in auto-generated excerpt.
|
72 |
|
73 |
== Changelog ==
|
74 |
+
= 2.0.3 =
|
75 |
+
* Add support for WordPress 5.0
|
76 |
+
|
77 |
= 2.0.2 =
|
78 |
* Support 280 characters
|
79 |
* Add support for WordPress 4.8 and 4.9
|
src/Twitter/WordPress/PluginLoader.php
CHANGED
@@ -41,7 +41,7 @@ class PluginLoader
|
|
41 |
*
|
42 |
* @type string
|
43 |
*/
|
44 |
-
const VERSION = '2.0.
|
45 |
|
46 |
/**
|
47 |
* Unique domain of the plugin's translated text
|
41 |
*
|
42 |
* @type string
|
43 |
*/
|
44 |
+
const VERSION = '2.0.3';
|
45 |
|
46 |
/**
|
47 |
* Unique domain of the plugin's translated text
|
twitter.php
CHANGED
@@ -24,13 +24,13 @@ THE SOFTWARE.
|
|
24 |
*/
|
25 |
/**
|
26 |
* @package twitter
|
27 |
-
* @version 2.0.
|
28 |
*/
|
29 |
/*
|
30 |
Plugin Name: Twitter
|
31 |
-
Plugin URI:
|
32 |
Description: Official Twitter plugin for WordPress. Embed Twitter content and grow your audience on Twitter. Requires PHP 5.4 or greater.
|
33 |
-
Version: 2.0.
|
34 |
Author: Twitter
|
35 |
Author URI: https://dev.twitter.com/
|
36 |
License: MIT
|
24 |
*/
|
25 |
/**
|
26 |
* @package twitter
|
27 |
+
* @version 2.0.3
|
28 |
*/
|
29 |
/*
|
30 |
Plugin Name: Twitter
|
31 |
+
Plugin URI: https://wordpress.org/plugins/twitter/
|
32 |
Description: Official Twitter plugin for WordPress. Embed Twitter content and grow your audience on Twitter. Requires PHP 5.4 or greater.
|
33 |
+
Version: 2.0.3
|
34 |
Author: Twitter
|
35 |
Author URI: https://dev.twitter.com/
|
36 |
License: MIT
|