[wp-trac] [WordPress Trac] #45760: Tag with & not proprly saved by block editor

WordPress Trac noreply at wordpress.org
Mon Dec 24 20:27:13 UTC 2018


#45760: Tag with & not proprly saved by block editor
--------------------------+-----------------------------
 Reporter:  sterndata     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 See https://wordpress.org/support/topic/possible-tag-bug

 I'm unable to add at tag to a post when the tag has an ampersand in it.

 Otto says:

 ''I don't get an error, but I do have to save it twice for some reason.
 When I hit enter, the tag gets saved to the database, but shortly
 disappears from the field. Reentering it makes it show up in the quick
 selection, and selecting that actually puts the tag on the post

 In the database, the term is actually saved as "a & z". I think that
 disconnect between the entered tag and the one created to the database is
 confusing to the editor code which is why it disappears. When I reenter
 it, it fetchs from the DB with the amp; and now it's correct.''

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45760>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list