[wp-trac] [WordPress Trac] #52440: "Leave site? Changes you made may not be saved" on custom taxonomy pages after WP 5.6.1 update

WordPress Trac noreply at wordpress.org
Thu Feb 4 17:30:05 UTC 2021


#52440: "Leave site? Changes you made may not be saved" on custom taxonomy pages
after WP 5.6.1 update
-----------------------------------------+---------------------
 Reporter:  archon810                    |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  high                         |   Milestone:  5.6.2
Component:  Editor                       |     Version:  5.6.1
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:
-----------------------------------------+---------------------
Changes (by Clorith):

 * keywords:  has-screenshots has-patch needs-testing => needs-patch has-
     screenshots


Comment:

 I don't think we should use the classification of `undefined` here,
 instead we should confirm that a selector exists before trying to use it
 in the first place, this would probably make the patch slightly more
 involved though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52440#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list