[wp-trac] [WordPress Trac] #50617: REST API: Add modified_before and modified_after to WP_REST_Request attributes

WordPress Trac noreply at wordpress.org
Tue Jan 26 18:26:27 UTC 2021


#50617: REST API: Add modified_before and modified_after to WP_REST_Request
attributes
--------------------------------------+--------------------------
 Reporter:  claytoncollie             |       Owner:  johnbillion
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.7
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"50024" 50024]:
 {{{
 #!CommitTicketReference repository="" revision="50024"
 REST API: Introduce `modified_before` and `modified_after` query
 parameters for the posts endpoints.

 These parameters work just the same as `before` and `after` except they
 operate on the post modified date instead of the post published date.

 Props claytoncollie, TimothyBlynJacobs, hellofromTonya

 Fixes #50617
 }}}

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


More information about the wp-trac mailing list