fuck
This commit is contained in:
parent
7bd47309e1
commit
9d9192ef5d
1 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: Gitea Updater
|
* Plugin Name: Gitea Updater
|
||||||
* Plugin URI: http://www.paucapo.com
|
* Plugin URI: http://www.paucapo.com
|
||||||
* Description: Plugins updater
|
* Description: Plugins updater
|
||||||
* Version: 0.3.10
|
* Version: 0.3.11
|
||||||
* Author: Pau Capó
|
* Author: Pau Capó
|
||||||
* Author URI: http://www.paucapo.com
|
* Author URI: http://www.paucapo.com
|
||||||
* Text Domain: gitea
|
* Text Domain: gitea
|
||||||
|
|
@ -169,7 +169,7 @@ class Gitea_Updater {
|
||||||
foreach ( $themes as $theme ) {
|
foreach ( $themes as $theme ) {
|
||||||
|
|
||||||
$headers = $this->get_file_headers( file_get_contents( $theme->get_template_directory() . '/style.css' ), 'theme' );
|
$headers = $this->get_file_headers( file_get_contents( $theme->get_template_directory() . '/style.css' ), 'theme' );
|
||||||
if ( empty( $headers['GiteaHost'] ) || empty( $headers['GiteaURI'] ) ) {
|
if ( empty( $headers['GiteaHost'] ) || empty( $headers['GiteaUri'] ) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -185,7 +185,7 @@ class Gitea_Updater {
|
||||||
|
|
||||||
|
|
||||||
$host = $this->get_host( $headers['GiteaHost'] );
|
$host = $this->get_host( $headers['GiteaHost'] );
|
||||||
$repo = $headers['GiteaURI'];
|
$repo = $headers['GiteaUri'];
|
||||||
|
|
||||||
$url = $this->get_url( $host, $repo, '/raw/master/style.css' );
|
$url = $this->get_url( $host, $repo, '/raw/master/style.css' );
|
||||||
$new_version = $local_version;
|
$new_version = $local_version;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue