Skip to content

Commit

Permalink
update to match wp.org
Browse files Browse the repository at this point in the history
limits to 5 tags
  • Loading branch information
afragen committed Sep 27, 2016
1 parent c93c8b2 commit 9505369
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GitHub Updater
Contributors: afragen, garyj, sethmatics, limikael
Donate link: http://thefragens.com/github-updater-donate
Tags: plugin, theme, update, updater, github, bitbucket, gitlab, remote install
Tags: plugin, theme, language pack, updater, remote install
Requires at least: 4.0
Tested up to: 4.6
Stable tag: master
Expand Down
2 changes: 2 additions & 0 deletions vendor/class-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ protected function parse_readme( $file ) {
if ( ! empty( $headers['tags'] ) ) {
$this->tags = explode( ',', $headers['tags'] );
$this->tags = array_map( 'trim', $this->tags );
$this->tags = array_filter( $this->tags );
$this->tags = array_slice( $this->tags, 0, 5 );
}
if ( ! empty( $headers['requires'] ) ) {
$this->requires = $headers['requires'];
Expand Down

0 comments on commit 9505369

Please sign in to comment.