[wp-trac] [WordPress Trac] #43960: Support for sorting columns in WP_Privacy_Requests_Table

WordPress Trac noreply at wordpress.org
Mon Jul 16 09:17:39 UTC 2018


#43960: Support for sorting columns in WP_Privacy_Requests_Table
------------------------------------------+-----------------------------
 Reporter:  birgire                       |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.9.8
Component:  Privacy                       |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  gdp has-patch has-unit-tests  |     Focuses:  administration
------------------------------------------+-----------------------------
Changes (by birgire):

 * keywords:  gdp has-patch 2nd-opinion => gdp has-patch has-unit-tests


Comment:

 [attachment:"43960.5.diff"] uses a mock builder to pass the screen
 argument to the constructor and reflection property to set the protected
 post type and request type.

 ps: I added {{{@since}}} to the
 {{{WP_Privacy_Requests_Table::prepare_items()}}} method for the new column
 sorting support.

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


More information about the wp-trac mailing list