Making WordPress.org

Opened 2 months ago

Closed 2 months ago

#7559 closed defect (bug) (fixed)

Inconsistent warning message when there are ignored header tags

Reported by: ironprogrammer's profile ironprogrammer Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

For Classic Editor, there are 6 tags defined in the header:

gutenberg, disable, disable gutenberg, editor, classic editor, block editor

However, after the latest plugin update, the following notice is now visible on the plugin page, which indicates that 2 of the 6 tags were ignored:

During the last import of your plugin the following warnings were encountered. This message is visible only to the plugin authors & committers.
One or more tags were ignored: classic editor, block editor. Please limit your plugin to 5 tags.

https://cldup.com/OD5l2Eq4ju.png

Additionally, the "tag cloud" has 5 terms, including classic editor, which the notice erroneously warns was ignored:

https://cldup.com/OOPUum0_Vo.png

It is expected that the warning message matches the ignored tags/count.

Change History (2)

#1 @dd32
2 months ago

  • Owner set to dd32
  • Status changed from new to accepted

#2 @dd32
2 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 13475:

Plugin Directory: Readme Validator: Fix an off-by-one in the readme validator for number of ignored tags.

Props ironprogrammer.
Fixes #7559.

Note: See TracTickets for help on using tickets.