[wp-trac] [WordPress Trac] #32376: Urls are encoded incorrectly in WP_Posts_List_Table::get_views()

WordPress Trac noreply at wordpress.org
Sat Sep 12 17:12:27 UTC 2015


#32376: Urls are encoded incorrectly in WP_Posts_List_Table::get_views()
-------------------------------+-----------------------------
 Reporter:  BdN3504            |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  4.2.2
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34084"]:
 {{{
 #!CommitTicketReference repository="" revision="34084"
 `WP_Posts_List_Table`: there are a cadre of `edit.php` URLs that are
 generated by string-building instead of using our handy functions. Create
 a helper method, `->get_edit_link()` that standardizes the generation and
 escaping of these URLs.

 Props BdN3504 for the initial patch on the ticket.
 Fixes #32376.
 }}}

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


More information about the wp-trac mailing list