Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 12 months ago

#5412 closed defect (bug) (fixed)

Trailing comma creates blank tag

Reported by: matt Owned by: ionfish
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords: has-patch 2nd-opinion
Focuses: Cc:


In the tag box, put a trailing comma, like this:


It will create a blank tag and attach it to the post.

Expected: tags with nothing but whitespace aren't created.

Attachments (1)

dont_add_blank_tags.patch (455 bytes) - added by ionfish 14 years ago.
Trims whitespace and trailing commas.

Download all attachments as: .zip

Change History (6)

14 years ago

Trims whitespace and trailing commas.

#1 @ionfish
14 years ago

  • Keywords has-patch 2nd-opinion added
  • Owner changed from anonymous to ionfish
  • Status changed from new to assigned

#2 @lloydbudd
14 years ago

  • Milestone changed from 2.3.2 to 2.4

#3 @westi
14 years ago

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

(In [6407]) Don't create empty tags. Fixes #5412 props ionfish

This ticket was mentioned in PR #520 on WordPress/wordpress-develop by dd32.

14 months ago

Allow WP_AUTO_UPDATE_CORE to be set to 'rc' or 'beta' to signify to the API that we want to opt-in to Beta and/or RC releases but run the latest stable otherwise (ie. not trunk).

See https://meta.trac.wordpress.org/ticket/5412 for background.

Trac ticket:

Note: See TracTickets for help on using tickets.