[wp-trac] [WordPress Trac] #53407: Widgets editor: HTML entities appear in Legacy Widget's description

WordPress Trac noreply at wordpress.org
Thu Jun 17 11:44:22 UTC 2021


#53407: Widgets editor: HTML entities appear in Legacy Widget's description
-------------------------------------------------+-------------------------
 Reporter:  ramonopoly                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.8
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:  rest-api
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * keywords:  has-patch has-unit-tests commit => has-patch has-unit-tests
     needs-refresh
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Is there a reason why single-quotes should not be decoded? For consistency
 with similar calls we should pass `ENT_QUOTES` as the second argument and
 also set the encoding to the value of `get_bloginfo( 'charset' )`.

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


More information about the wp-trac mailing list