Changeset 13523
- Timestamp:
- 04/15/2024 07:09:52 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php
r13475 r13523 310 310 311 311 if ( array_intersect( $this->tags, $this->ignore_tags ) ) { 312 $this-> tags = array_diff( $this->tags, $this->ignore_tags );313 $this-> warnings['ignored_tags'] = true;312 $this->warnings['ignored_tags'] = array_intersect( $this->tags, $this->ignore_tags ); 313 $this->tags = array_diff( $this->tags, $this->ignore_tags ); 314 314 } 315 315 316 316 if ( count( $this->tags ) > 5 ) { 317 317 $this->warnings['too_many_tags'] = array_slice( $this->tags, 5 ); 318 $this->tags = array_slice( $this->tags, 0, 5 );318 $this->tags = array_slice( $this->tags, 0, 5 ); 319 319 } 320 320 }
Note: See TracChangeset
for help on using the changeset viewer.