Version Description
Download this release
Release Info
Developer | pressshack |
Plugin | EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor |
Version | 2.1.2 |
Comparing to | |
See all releases |
Code changes from version 2.1.1 to 2.1.2
- CONTRIBUTING.md +84 -0
- EmbedPress/Providers/Twitch.php +10 -3
- PROVIDERS.md +41 -0
- composer.json +0 -39
- composer.lock +0 -250
- embedpress.php +1 -1
- includes.php +1 -1
- providers.php +1 -1
- readme.txt +11 -1
- vendor/composer/installed.json +4 -4
- vendor/pimple/pimple/.gitignore +0 -3
- vendor/pimple/pimple/ext/pimple/.gitignore +0 -30
- vendor/psr/container/.gitignore +0 -3
CONTRIBUTING.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributing
|
2 |
+
|
3 |
+
*Avoid sending detailed commits to the SVN Repo!* - Use the GIT repository to keep the detailed history and send to SVN only the "release" commit.
|
4 |
+
|
5 |
+
## Publishing New Releases
|
6 |
+
|
7 |
+
EmbedPress follows the [Semantic Versioning 2.0.0](http://semver.org), which means that given a version number we have `MAJOR`.`MINOR`.`PATCH`. We should increment these when:
|
8 |
+
1. `MAJOR` version when we make incompatible API changes;
|
9 |
+
2. `MINOR` version when we add functionality in a backwards-compatible manner;
|
10 |
+
3. `PATCH` version when we make backwards-compatible bug fixes.
|
11 |
+
|
12 |
+
|
13 |
+
## Steps to publish a new release:
|
14 |
+
1. [Update version on some files](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#1-updating-plugin-version);
|
15 |
+
2. [Update changelog](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#2-updating-changelog);
|
16 |
+
3. [Update branches](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#3-updating-branches);
|
17 |
+
4. [Update GitHub tags/releases](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#4-updating-github-tagsreleases);
|
18 |
+
5. [Generating a ready-to-install package](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#5-generating-a-ready-to-install-package);
|
19 |
+
6. [Push changes to SVN](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#6-pushing-changes-to-svn).
|
20 |
+
|
21 |
+
|
22 |
+
### 1. Updating plugin version
|
23 |
+
- Make sure that all changes were already pushed to `development` branch;
|
24 |
+
- Define the new [plugin version](https://github.com/OSTraining/EmbedPress/blob/master/CONTRIBUTING.md#publishing-new-releases);
|
25 |
+
- Go to `/readme.txt` and look for the line/code below. Replace `x.x.x` with the new version.
|
26 |
+
```
|
27 |
+
Stable tag: x.x.x
|
28 |
+
```
|
29 |
+
- `/includes.php` - Look for the line/code below and replace `x.x.x` with the new version.
|
30 |
+
```
|
31 |
+
define('EMBEDPRESS_PLG_VERSION', "x.x.x");
|
32 |
+
```
|
33 |
+
- `/embedpress.php` - Look for the line/code below and replace `x.x.x` with the new version.
|
34 |
+
```
|
35 |
+
* Version: x.x.x
|
36 |
+
```
|
37 |
+
|
38 |
+
### 2. Updating changelog
|
39 |
+
All changelogs must follow the same format (using the Markdown syntax), which is:
|
40 |
+
```
|
41 |
+
= x.x.x =
|
42 |
+
Release Date: YYYY-m-d
|
43 |
+
|
44 |
+
* foo;
|
45 |
+
* another change/fix/enhancement;
|
46 |
+
* list of what have changed.
|
47 |
+
```
|
48 |
+
Where `x.x.x` is the newest version and `YYYY-m-d` is the release date.
|
49 |
+
|
50 |
+
There's two files where the changelog must be updated with the latest changes: `/readme.txt` (look for the changelog section) and `/changelog.txt`.
|
51 |
+
|
52 |
+
### 3. Updating branches
|
53 |
+
The `master` branch holds all released and production packages.
|
54 |
+
|
55 |
+
Once both version and changelog changes are ready and were already pushed to `development`, create a pull request from `development` to `master` branch.
|
56 |
+
|
57 |
+
### 4. Updating GitHub tags/releases
|
58 |
+
After the pull request get approved, still on GitHub, go to Releases and [draft a new release](https://github.com/OSTraining/EmbedPress/releases/new).
|
59 |
+
|
60 |
+
- **Tag Version**: inform the version you just launched prefixed by a `v`.
|
61 |
+
I.e: Let's say that the plugin was on version `1.4.2` and we patched something, hence the new version would be `1.4.3`. In this field, then, we'll put `v1.4.3`;
|
62 |
+
- **Target**: for stable releases, this should always be `master`;
|
63 |
+
- **Release Title**: the same value of **Tag Version**;
|
64 |
+
- **Description**: The list (of changes) part of the version's changelog;
|
65 |
+
- **Attach binaries**: we'll do on the next step.
|
66 |
+
|
67 |
+
### 5. Generating a ready-to-install package
|
68 |
+
Now that everything seems to be updated:
|
69 |
+
- Copy all plugin-only files (basically the whole `src` folder) into a separate directory (without .gitignore, etc);
|
70 |
+
- Rename this "new" folder to `embedpress`. All lowercased.
|
71 |
+
- Compress the folder into a `.zip` file;
|
72 |
+
- Rename the `.zip` file to `embedpress-x.x.x.zip` - where you must replace `x.x.x` with the newest version;
|
73 |
+
- Go to GitHub into your newest tag/release page (which you created on the previous step) and attach the `.zip` file to the form and save.
|
74 |
+
|
75 |
+
### 6. Pushing changes to SVN
|
76 |
+
First, you must have the EmbedPress svn checked out somewhere in your machine. We'll call this local-mirror directory `svnDirectory`.
|
77 |
+
|
78 |
+
- Put the ready-to-install package contents (not the zip, only its content) into `svnDirectory/tags/x.x.x` where `x.x.x` is your release version;
|
79 |
+
- Replace `svnDirectory/trunk` contents with the same files/package you just added to the tags folder;
|
80 |
+
- Commit everything with a message announcing the new version, something like:
|
81 |
+
```
|
82 |
+
Releasing version x.x.x
|
83 |
+
```
|
84 |
+
Where `x.x.x` is the release version.
|
EmbedPress/Providers/Twitch.php
CHANGED
@@ -25,7 +25,7 @@ class Twitch extends EmberaService
|
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
-
private $urlRegexPattern = '
|
29 |
|
30 |
/**
|
31 |
* Method that verifies if the embed URL belongs to Twitch.
|
@@ -53,13 +53,20 @@ class Twitch extends EmberaService
|
|
53 |
if (preg_match("{$this->urlRegexPattern}i", $url, $matches)) {
|
54 |
$channelName = $matches[1];
|
55 |
$renderChatInsteadOfStream = (count($matches) > 2 && strtolower($matches[2]) === "chat");
|
|
|
56 |
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
$response = array(
|
60 |
'type' => ($renderChatInsteadOfStream ? 'rich' : 'video'),
|
61 |
'provider_name' => 'Twitch',
|
62 |
-
'provider_url' =>
|
63 |
'url' => $url,
|
64 |
'html' => $html
|
65 |
);
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
+
private $urlRegexPattern = '/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$)?/';
|
29 |
|
30 |
/**
|
31 |
* Method that verifies if the embed URL belongs to Twitch.
|
53 |
if (preg_match("{$this->urlRegexPattern}i", $url, $matches)) {
|
54 |
$channelName = $matches[1];
|
55 |
$renderChatInsteadOfStream = (count($matches) > 2 && strtolower($matches[2]) === "chat");
|
56 |
+
$isClip = stristr($url, 'clips.twitch.tv');
|
57 |
|
58 |
+
if ($isClip !== False) {
|
59 |
+
$providerUrl = 'https://clips.twitch.tv';
|
60 |
+
$html = '<iframe src="https://clips.twitch.tv/embed?clip=' . $channelName . '&autoplay=false" height="{height}" width="{width}" scrolling="no" frameborder="0" allowfullscreen="true"></iframe>';
|
61 |
+
} else {
|
62 |
+
$providerUrl = 'https://www.twitch.tv';
|
63 |
+
$html = '<iframe src="https://www.twitch.tv/' . $channelName . '/' . ($renderChatInsteadOfStream ? 'chat' : 'embed') . '" height="{height}" width="{width}" scrolling="no" frameborder="0" allowfullscreen="true"></iframe>';
|
64 |
+
}
|
65 |
|
66 |
$response = array(
|
67 |
'type' => ($renderChatInsteadOfStream ? 'rich' : 'video'),
|
68 |
'provider_name' => 'Twitch',
|
69 |
+
'provider_url' => $providerUrl,
|
70 |
'url' => $url,
|
71 |
'html' => $html
|
72 |
);
|
PROVIDERS.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
In addition to the [default WordPress sources](https://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F), PublishPress Embeds supports these providers:
|
2 |
+
|
3 |
+
- 23h (Images)
|
4 |
+
- AmCharts (Charts)
|
5 |
+
- Bambuser (Videos)
|
6 |
+
- Cacoo (Charts)
|
7 |
+
- ChartBlocks (Charts)
|
8 |
+
- Chirbit (Audios)
|
9 |
+
- Cly (Audios)
|
10 |
+
- CircuitLab (Charts)
|
11 |
+
- Coub (Videos)
|
12 |
+
- Crowd Ranking (Polls)
|
13 |
+
- Daily Mile (Activity)
|
14 |
+
- Devianart (Images)
|
15 |
+
- Dipity (Timelines)
|
16 |
+
- Dotsub (Videos)
|
17 |
+
- Facebook (Posts)
|
18 |
+
- GettyImages (Images)
|
19 |
+
- Giphy (Gifs)
|
20 |
+
- Github Gist (Code)
|
21 |
+
- Google Docs (Documents)
|
22 |
+
- Google Maps (Maps)
|
23 |
+
- Google Drawings (Drawings)
|
24 |
+
- Google Sheets (Spreadsheets)
|
25 |
+
- Google Slides (Presentation Slideshows)
|
26 |
+
- HuffDuffer (Audios)
|
27 |
+
- Infogram (Charts)
|
28 |
+
- MobyPicture (Image)
|
29 |
+
- NFB (Videos)
|
30 |
+
- Porfolium (Projects)
|
31 |
+
- Release Wire (Press releases)
|
32 |
+
- Roomshare (Listings, in Japanese)
|
33 |
+
- Sapo Videos (Videos, in Spanish)
|
34 |
+
- ShortNote (Notes, in Japanese)
|
35 |
+
- Rutube (Videos, in Russian)
|
36 |
+
- Shoudio (Audios)
|
37 |
+
- Sketchfab (Drawings)
|
38 |
+
- Ustream (Videos)
|
39 |
+
- Viddler (Videos)
|
40 |
+
- VideoJug (Videos)
|
41 |
+
- Twitch (Videos, Chat)
|
composer.json
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "embedpress/embedpress",
|
3 |
-
"type": "wordpress-plugin",
|
4 |
-
"license": "GPL-2",
|
5 |
-
"authors": [
|
6 |
-
{
|
7 |
-
"name": "EmbedPress",
|
8 |
-
"email": "help@embedpress.com"
|
9 |
-
}
|
10 |
-
],
|
11 |
-
"repositories": [
|
12 |
-
{
|
13 |
-
"type": "git",
|
14 |
-
"url": "https://github.com/OSTraining/WordPress-Plugin-Builder"
|
15 |
-
},
|
16 |
-
{
|
17 |
-
"type": "git",
|
18 |
-
"url": "https://github.com/OSTraining/WordPress-EDD-License-Integration"
|
19 |
-
},
|
20 |
-
{
|
21 |
-
"type": "git",
|
22 |
-
"url": "https://github.com/OSTraining/EDD-License-handler"
|
23 |
-
},
|
24 |
-
{
|
25 |
-
"type": "git",
|
26 |
-
"url": "https://github.com/OSTraining/Embera"
|
27 |
-
}
|
28 |
-
],
|
29 |
-
"config": {
|
30 |
-
"preferred-install": "dist"
|
31 |
-
},
|
32 |
-
"minimum-stability": "stable",
|
33 |
-
"require": {
|
34 |
-
"pimple/pimple": "~3.0",
|
35 |
-
"ostraining/embera": "*",
|
36 |
-
"publishpress/wordpress-edd-license-integration": "~2.1",
|
37 |
-
"publishpress/wordpress-plugin-builder": "~2"
|
38 |
-
}
|
39 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
composer.lock
DELETED
@@ -1,250 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_readme": [
|
3 |
-
"This file locks the dependencies of your project to a known state",
|
4 |
-
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
-
"This file is @generated automatically"
|
6 |
-
],
|
7 |
-
"content-hash": "8344870f1d246cabf761986482551523",
|
8 |
-
"packages": [
|
9 |
-
{
|
10 |
-
"name": "ostraining/embera",
|
11 |
-
"version": "1.9.3",
|
12 |
-
"source": {
|
13 |
-
"type": "git",
|
14 |
-
"url": "https://github.com/OSTraining/Embera",
|
15 |
-
"reference": "51d4c22303680b4434c3c0d3a34694c0ebbca1a1"
|
16 |
-
},
|
17 |
-
"require": {
|
18 |
-
"php": ">=5.3"
|
19 |
-
},
|
20 |
-
"type": "library",
|
21 |
-
"autoload": {
|
22 |
-
"psr-0": {
|
23 |
-
"Embera": "Lib/"
|
24 |
-
}
|
25 |
-
},
|
26 |
-
"license": [
|
27 |
-
"MIT"
|
28 |
-
],
|
29 |
-
"authors": [
|
30 |
-
{
|
31 |
-
"name": "Michael Pratt",
|
32 |
-
"email": "pratt@hablarmierda.net",
|
33 |
-
"homepage": "http://www.michael-pratt.com",
|
34 |
-
"role": "Author/Developer"
|
35 |
-
}
|
36 |
-
],
|
37 |
-
"description": "Oembed consumer library, that gives information about urls. It helps you replace urls to 60+ sites like youtube or vimeo, with their html embed code.",
|
38 |
-
"homepage": "https://github.com/OSTraining/Embera",
|
39 |
-
"keywords": [
|
40 |
-
"Auto embed",
|
41 |
-
"Embed",
|
42 |
-
"Embed Text",
|
43 |
-
"Instagram",
|
44 |
-
"Oembed",
|
45 |
-
"Twitter",
|
46 |
-
"Url Embed",
|
47 |
-
"Vimeo",
|
48 |
-
"Vine",
|
49 |
-
"Youtube"
|
50 |
-
],
|
51 |
-
"time": "2016-07-12T20:35:30+00:00"
|
52 |
-
},
|
53 |
-
{
|
54 |
-
"name": "pimple/pimple",
|
55 |
-
"version": "v3.2.3",
|
56 |
-
"source": {
|
57 |
-
"type": "git",
|
58 |
-
"url": "https://github.com/silexphp/Pimple.git",
|
59 |
-
"reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32"
|
60 |
-
},
|
61 |
-
"dist": {
|
62 |
-
"type": "zip",
|
63 |
-
"url": "https://api.github.com/repos/silexphp/Pimple/zipball/9e403941ef9d65d20cba7d54e29fe906db42cf32",
|
64 |
-
"reference": "9e403941ef9d65d20cba7d54e29fe906db42cf32",
|
65 |
-
"shasum": ""
|
66 |
-
},
|
67 |
-
"require": {
|
68 |
-
"php": ">=5.3.0",
|
69 |
-
"psr/container": "^1.0"
|
70 |
-
},
|
71 |
-
"require-dev": {
|
72 |
-
"symfony/phpunit-bridge": "^3.2"
|
73 |
-
},
|
74 |
-
"type": "library",
|
75 |
-
"extra": {
|
76 |
-
"branch-alias": {
|
77 |
-
"dev-master": "3.2.x-dev"
|
78 |
-
}
|
79 |
-
},
|
80 |
-
"autoload": {
|
81 |
-
"psr-0": {
|
82 |
-
"Pimple": "src/"
|
83 |
-
}
|
84 |
-
},
|
85 |
-
"notification-url": "https://packagist.org/downloads/",
|
86 |
-
"license": [
|
87 |
-
"MIT"
|
88 |
-
],
|
89 |
-
"authors": [
|
90 |
-
{
|
91 |
-
"name": "Fabien Potencier",
|
92 |
-
"email": "fabien@symfony.com"
|
93 |
-
}
|
94 |
-
],
|
95 |
-
"description": "Pimple, a simple Dependency Injection Container",
|
96 |
-
"homepage": "http://pimple.sensiolabs.org",
|
97 |
-
"keywords": [
|
98 |
-
"container",
|
99 |
-
"dependency injection"
|
100 |
-
],
|
101 |
-
"time": "2018-01-21T07:42:36+00:00"
|
102 |
-
},
|
103 |
-
{
|
104 |
-
"name": "psr/container",
|
105 |
-
"version": "1.0.0",
|
106 |
-
"source": {
|
107 |
-
"type": "git",
|
108 |
-
"url": "https://github.com/php-fig/container.git",
|
109 |
-
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
|
110 |
-
},
|
111 |
-
"dist": {
|
112 |
-
"type": "zip",
|
113 |
-
"url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
|
114 |
-
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
|
115 |
-
"shasum": ""
|
116 |
-
},
|
117 |
-
"require": {
|
118 |
-
"php": ">=5.3.0"
|
119 |
-
},
|
120 |
-
"type": "library",
|
121 |
-
"extra": {
|
122 |
-
"branch-alias": {
|
123 |
-
"dev-master": "1.0.x-dev"
|
124 |
-
}
|
125 |
-
},
|
126 |
-
"autoload": {
|
127 |
-
"psr-4": {
|
128 |
-
"Psr\\Container\\": "src/"
|
129 |
-
}
|
130 |
-
},
|
131 |
-
"notification-url": "https://packagist.org/downloads/",
|
132 |
-
"license": [
|
133 |
-
"MIT"
|
134 |
-
],
|
135 |
-
"authors": [
|
136 |
-
{
|
137 |
-
"name": "PHP-FIG",
|
138 |
-
"homepage": "http://www.php-fig.org/"
|
139 |
-
}
|
140 |
-
],
|
141 |
-
"description": "Common Container Interface (PHP FIG PSR-11)",
|
142 |
-
"homepage": "https://github.com/php-fig/container",
|
143 |
-
"keywords": [
|
144 |
-
"PSR-11",
|
145 |
-
"container",
|
146 |
-
"container-interface",
|
147 |
-
"container-interop",
|
148 |
-
"psr"
|
149 |
-
],
|
150 |
-
"time": "2017-02-14T16:28:37+00:00"
|
151 |
-
},
|
152 |
-
{
|
153 |
-
"name": "publishpress/edd-license-handler",
|
154 |
-
"version": "1.6.14.3",
|
155 |
-
"source": {
|
156 |
-
"type": "git",
|
157 |
-
"url": "https://github.com/OSTraining/EDD-License-handler",
|
158 |
-
"reference": "0cf8447b2dd73d4a916b2bdcf1e364c89218b25d"
|
159 |
-
},
|
160 |
-
"type": "library",
|
161 |
-
"autoload": {
|
162 |
-
"files": [
|
163 |
-
"EDD_License_Handler.php",
|
164 |
-
"EDD_SL_Plugin_Updater.php"
|
165 |
-
]
|
166 |
-
},
|
167 |
-
"license": [
|
168 |
-
"GPL-2"
|
169 |
-
],
|
170 |
-
"authors": [
|
171 |
-
{
|
172 |
-
"name": "EasyDigitalDownloads",
|
173 |
-
"email": "contact@easydigitaldownloads.com"
|
174 |
-
},
|
175 |
-
{
|
176 |
-
"name": "PublishPress",
|
177 |
-
"email": "help@publishpress.com"
|
178 |
-
}
|
179 |
-
],
|
180 |
-
"time": "2018-02-07T10:08:34+00:00"
|
181 |
-
},
|
182 |
-
{
|
183 |
-
"name": "publishpress/wordpress-edd-license-integration",
|
184 |
-
"version": "2.2.0",
|
185 |
-
"source": {
|
186 |
-
"type": "git",
|
187 |
-
"url": "https://github.com/OSTraining/WordPress-EDD-License-Integration",
|
188 |
-
"reference": "69541b06921821bdf93db37d57cef4853745e39d"
|
189 |
-
},
|
190 |
-
"require": {
|
191 |
-
"pimple/pimple": "~3.2",
|
192 |
-
"publishpress/edd-license-handler": "~1.6"
|
193 |
-
},
|
194 |
-
"require-dev": {
|
195 |
-
"lucatume/wp-browser": "~1.22"
|
196 |
-
},
|
197 |
-
"type": "library",
|
198 |
-
"autoload": {
|
199 |
-
"psr-4": {
|
200 |
-
"PublishPress\\EDD_License\\Core\\": "src/core/"
|
201 |
-
}
|
202 |
-
},
|
203 |
-
"license": [
|
204 |
-
"GPL-2"
|
205 |
-
],
|
206 |
-
"authors": [
|
207 |
-
{
|
208 |
-
"name": "PublishPress",
|
209 |
-
"email": "help@publishpress.com"
|
210 |
-
}
|
211 |
-
],
|
212 |
-
"time": "2018-03-01T18:52:52+00:00"
|
213 |
-
},
|
214 |
-
{
|
215 |
-
"name": "publishpress/wordpress-plugin-builder",
|
216 |
-
"version": "2.1.4",
|
217 |
-
"source": {
|
218 |
-
"type": "git",
|
219 |
-
"url": "https://github.com/OSTraining/WordPress-Plugin-Builder",
|
220 |
-
"reference": "6658ad5e35ec32877ee941e3680702bfb86986e5"
|
221 |
-
},
|
222 |
-
"type": "library",
|
223 |
-
"autoload": {
|
224 |
-
"psr-4": {
|
225 |
-
"PublishPress\\Builder\\": "src/"
|
226 |
-
}
|
227 |
-
},
|
228 |
-
"license": [
|
229 |
-
"GPL-2.0+"
|
230 |
-
],
|
231 |
-
"authors": [
|
232 |
-
{
|
233 |
-
"name": "PublishPress",
|
234 |
-
"email": "help@publishpress.com",
|
235 |
-
"homepage": "https://publishpress.com"
|
236 |
-
}
|
237 |
-
],
|
238 |
-
"description": "Base class for WordPress plugin builder",
|
239 |
-
"time": "2018-03-01T22:09:46+00:00"
|
240 |
-
}
|
241 |
-
],
|
242 |
-
"packages-dev": [],
|
243 |
-
"aliases": [],
|
244 |
-
"minimum-stability": "stable",
|
245 |
-
"stability-flags": [],
|
246 |
-
"prefer-stable": false,
|
247 |
-
"prefer-lowest": false,
|
248 |
-
"platform": [],
|
249 |
-
"platform-dev": []
|
250 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
embedpress.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: WordPress supports around 35 embed sources, but PublishPress Embeds adds over 40 more, including Facebook, Google Maps, Google Docs, UStream! Just use the URL!
|
6 |
* Author: EmbedPress
|
7 |
* Author URI: http://embedpress.com
|
8 |
-
* Version: 2.1.
|
9 |
* Text Domain: embedpress
|
10 |
* Domain Path: /languages
|
11 |
*
|
5 |
* Description: WordPress supports around 35 embed sources, but PublishPress Embeds adds over 40 more, including Facebook, Google Maps, Google Docs, UStream! Just use the URL!
|
6 |
* Author: EmbedPress
|
7 |
* Author URI: http://embedpress.com
|
8 |
+
* Version: 2.1.2
|
9 |
* Text Domain: embedpress
|
10 |
* Domain Path: /languages
|
11 |
*
|
includes.php
CHANGED
@@ -21,7 +21,7 @@ if (!defined('EMBEDPRESS_PLG_NAME')) {
|
|
21 |
}
|
22 |
|
23 |
if (!defined('EMBEDPRESS_PLG_VERSION')) {
|
24 |
-
define('EMBEDPRESS_PLG_VERSION', "2.1.
|
25 |
}
|
26 |
|
27 |
if (!defined('EMBEDPRESS_ROOT')) {
|
21 |
}
|
22 |
|
23 |
if (!defined('EMBEDPRESS_PLG_VERSION')) {
|
24 |
+
define('EMBEDPRESS_PLG_VERSION', "2.1.2");
|
25 |
}
|
26 |
|
27 |
if (!defined('EMBEDPRESS_ROOT')) {
|
providers.php
CHANGED
@@ -17,6 +17,6 @@
|
|
17 |
$additionalServiceProviders = array(
|
18 |
'GoogleMaps' => array("google.com", "google.com.*", "maps.google.com", "goo.gl", "google.co.*"),
|
19 |
'GoogleDocs' => array("docs.google.com"),
|
20 |
-
'Twitch' => array("twitch.tv"),
|
21 |
'Giphy' => array("giphy.com", "i.giphy.com")
|
22 |
);
|
17 |
$additionalServiceProviders = array(
|
18 |
'GoogleMaps' => array("google.com", "google.com.*", "maps.google.com", "goo.gl", "google.co.*"),
|
19 |
'GoogleDocs' => array("docs.google.com"),
|
20 |
+
'Twitch' => array("twitch.tv", "clips.twitch.tv"),
|
21 |
'Giphy' => array("giphy.com", "i.giphy.com")
|
22 |
);
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Author URI: https://embedpress.com
|
|
5 |
Tags: YouTube, Google, Facebook, Wistia, Vimeo
|
6 |
Requires at least: 4.6
|
7 |
Tested up to: 4.9.4
|
8 |
-
Stable tag: 2.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -184,6 +184,16 @@ Not at all. You can set up everything your team needs without any coding knowled
|
|
184 |
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
185 |
and this project adheres to [Semantic Versioning](http://semver.org/).
|
186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
= [2.1.1] - 2018-04-18 =
|
188 |
|
189 |
*Fixed:*
|
5 |
Tags: YouTube, Google, Facebook, Wistia, Vimeo
|
6 |
Requires at least: 4.6
|
7 |
Tested up to: 4.9.4
|
8 |
+
Stable tag: 2.1.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
184 |
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
185 |
and this project adheres to [Semantic Versioning](http://semver.org/).
|
186 |
|
187 |
+
= [2.1.2] - 2018-05-23 =
|
188 |
+
|
189 |
+
*Fixed:*
|
190 |
+
|
191 |
+
* Fixed Twitch embeds with numbers;
|
192 |
+
|
193 |
+
*Added:*
|
194 |
+
|
195 |
+
* Added support to Twitch clips;
|
196 |
+
|
197 |
= [2.1.1] - 2018-04-18 =
|
198 |
|
199 |
*Fixed:*
|
vendor/composer/installed.json
CHANGED
@@ -216,14 +216,14 @@
|
|
216 |
},
|
217 |
{
|
218 |
"name": "publishpress/wordpress-plugin-builder",
|
219 |
-
"version": "2.1.
|
220 |
-
"version_normalized": "2.1.
|
221 |
"source": {
|
222 |
"type": "git",
|
223 |
"url": "https://github.com/OSTraining/WordPress-Plugin-Builder",
|
224 |
-
"reference": "
|
225 |
},
|
226 |
-
"time": "2018-
|
227 |
"type": "library",
|
228 |
"installation-source": "source",
|
229 |
"autoload": {
|
216 |
},
|
217 |
{
|
218 |
"name": "publishpress/wordpress-plugin-builder",
|
219 |
+
"version": "2.1.5",
|
220 |
+
"version_normalized": "2.1.5.0",
|
221 |
"source": {
|
222 |
"type": "git",
|
223 |
"url": "https://github.com/OSTraining/WordPress-Plugin-Builder",
|
224 |
+
"reference": "08aaa403dccdca27b298552a73cb4b8e427b0e47"
|
225 |
},
|
226 |
+
"time": "2018-05-03T10:09:29+00:00",
|
227 |
"type": "library",
|
228 |
"installation-source": "source",
|
229 |
"autoload": {
|
vendor/pimple/pimple/.gitignore
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
phpunit.xml
|
2 |
-
composer.lock
|
3 |
-
/vendor/
|
|
|
|
|
|
vendor/pimple/pimple/ext/pimple/.gitignore
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
*.sw*
|
2 |
-
.deps
|
3 |
-
Makefile
|
4 |
-
Makefile.fragments
|
5 |
-
Makefile.global
|
6 |
-
Makefile.objects
|
7 |
-
acinclude.m4
|
8 |
-
aclocal.m4
|
9 |
-
build/
|
10 |
-
config.cache
|
11 |
-
config.guess
|
12 |
-
config.h
|
13 |
-
config.h.in
|
14 |
-
config.log
|
15 |
-
config.nice
|
16 |
-
config.status
|
17 |
-
config.sub
|
18 |
-
configure
|
19 |
-
configure.in
|
20 |
-
install-sh
|
21 |
-
libtool
|
22 |
-
ltmain.sh
|
23 |
-
missing
|
24 |
-
mkinstalldirs
|
25 |
-
run-tests.php
|
26 |
-
*.loT
|
27 |
-
.libs/
|
28 |
-
modules/
|
29 |
-
*.la
|
30 |
-
*.lo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/psr/container/.gitignore
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
composer.lock
|
2 |
-
composer.phar
|
3 |
-
/vendor/
|
|
|
|
|
|