Changeset 4571
- Timestamp:
- 12/23/2016 01:43:08 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php
r4562 r4571 127 127 128 128 /** 129 * These plugin tags are ignored. 130 * 131 * @var array 132 */ 133 private $ignore_tags = array( 134 'plugin', 135 'wordpress', 136 ); 137 138 /** 129 139 * Parser constructor. 130 140 * … … 209 219 $this->tags = array_map( 'trim', $this->tags ); 210 220 $this->tags = array_filter( $this->tags ); 221 $this->tags = array_diff( $this->tags, $this->ignore_tags ); 211 222 $this->tags = array_slice( $this->tags, 0, 5 ); 212 223 }
Note: See TracChangeset
for help on using the changeset viewer.