Skip to content

Commit 856bd9c

Browse files
committed
Merge branch 'develop'
2 parents 5c1a0d3 + 75bdfc8 commit 856bd9c

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#### [unreleased]
22

3+
#### 8.7.2 / 2019-03-09
4+
* hotfix to add parity for themes and prevent PHP warning
5+
36
#### 8.7.1 / 2019-03-09
47
* add new filter hook `github_updater_post_construct_download_link` to allow for returning your own download link
58
* deprecate filter hook `github_updater_set_rollback_package` as the above replaces it

github-updater.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Plugin Name: GitHub Updater
1313
* Plugin URI: https://github.com/afragen/github-updater
1414
* Description: A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs. It also allows for remote installation of plugins or themes into WordPress.
15-
* Version: 8.7.1
15+
* Version: 8.7.2
1616
* Author: Andy Fragen
1717
* License: GNU General Public License v2
1818
* License URI: http://www.gnu.org/licenses/gpl-2.0.html

languages/github-updater.pot

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the same license as the GitHub Updater plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: GitHub Updater 8.7.1\n"
5+
"Project-Id-Version: GitHub Updater 8.7.2\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/github-updater\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2019-03-09T19:26:46+00:00\n"
12+
"POT-Creation-Date: 2019-03-09T22:01:08+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.1.0\n"
1515
"X-Domain: github-updater\n"
@@ -162,48 +162,48 @@ msgid "View details"
162162
msgstr ""
163163

164164
#. translators: %s: theme name
165-
#: src/GitHub_Updater/Theme.php:335
166-
#: src/GitHub_Updater/Theme.php:531
165+
#: src/GitHub_Updater/Theme.php:336
166+
#: src/GitHub_Updater/Theme.php:532
167167
msgid "There is a new version of %s available."
168168
msgstr ""
169169

170170
#. translators: %s: theme version
171-
#: src/GitHub_Updater/Theme.php:347
171+
#: src/GitHub_Updater/Theme.php:348
172172
msgid "View version %s details."
173173
msgstr ""
174174

175-
#: src/GitHub_Updater/Theme.php:351
175+
#: src/GitHub_Updater/Theme.php:352
176176
msgid "Automatic update is unavailable for this theme."
177177
msgstr ""
178178

179179
#. translators: 1: version number, 2: closing anchor tag, 3: update URL
180-
#: src/GitHub_Updater/Theme.php:356
181-
#: src/GitHub_Updater/Theme.php:541
180+
#: src/GitHub_Updater/Theme.php:357
181+
#: src/GitHub_Updater/Theme.php:542
182182
msgid "View version %1$s details%2$s or %3$supdate now%2$s."
183183
msgstr ""
184184

185185
#. translators: %s: theme name
186-
#: src/GitHub_Updater/Theme.php:361
187-
#: src/GitHub_Updater/Theme.php:546
186+
#: src/GitHub_Updater/Theme.php:362
187+
#: src/GitHub_Updater/Theme.php:547
188188
msgid "Update %s now"
189189
msgstr ""
190190

191191
#. translators: 1: branch name, 2: jQuery dropdown, 3: closing tag
192-
#: src/GitHub_Updater/Theme.php:583
192+
#: src/GitHub_Updater/Theme.php:584
193193
#: src/GitHub_Updater/Base.php:913
194194
msgid "Current branch is `%1$s`, try %2$sanother version%3$s"
195195
msgstr ""
196196

197-
#: src/GitHub_Updater/Theme.php:591
197+
#: src/GitHub_Updater/Theme.php:592
198198
msgid "Choose a Version"
199199
msgstr ""
200200

201-
#: src/GitHub_Updater/Theme.php:609
201+
#: src/GitHub_Updater/Theme.php:610
202202
#: src/GitHub_Updater/Base.php:948
203203
msgid "No previous tags to rollback to."
204204
msgstr ""
205205

206-
#: src/GitHub_Updater/Theme.php:613
206+
#: src/GitHub_Updater/Theme.php:614
207207
msgid "Install"
208208
msgstr ""
209209

src/GitHub_Updater/Theme.php

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ protected function get_theme_meta() {
144144
$git_theme['enterprise_api'] = $header['enterprise_api'];
145145
$git_theme['owner'] = $header['owner'];
146146
$git_theme['slug'] = $header['repo'];
147+
$git_theme['file'] = "{$header['repo']}/style.css";
147148
$git_theme['name'] = $theme->get( 'Name' );
148149
$git_theme['theme_uri'] = $theme->get( 'ThemeURI' );
149150
$git_theme['author'] = $theme->get( 'Author' );

0 commit comments

Comments
 (0)