Skip to content

Commit 7f912fd

Browse files
authored
Merge pull request #8 from getshifter/fix_theme_update_for_wpcli
fix theme version value for wp-cli update
2 parents c9f198a + da314af commit 7f912fd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

inc/class-gh-auto-updater-themes.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ protected function get_api_object( $default )
135135
esc_html( $remote_version->author->login )
136136
);
137137
$obj->homepage = esc_url( $this->github_repo_url );
138-
$obj->version = sprintf(
139-
'<a href="%1$s" target="_blank">%2$s</a>',
140-
$remote_version->html_url,
141-
$remote_version->tag_name
142-
);
138+
$obj->version = $remote_version->tag_name;
143139
$obj->last_updated = $remote_version->published_at;
144140

145141
$parsedown = new \Parsedown();

0 commit comments

Comments
 (0)