[wp-trac] [WordPress Trac] #62292: Warning in WP_REST_Posts_Controller::get_items()

WordPress Trac noreply at wordpress.org
Thu Oct 24 07:01:55 UTC 2024


#62292: Warning in WP_REST_Posts_Controller::get_items()
--------------------------+-----------------------------
 Reporter:  apermo        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 On my sentry installation I get `Warning: Undefined array key "paged"` for
 `/wp/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in
 WP_REST_Posts_Controller::get_items at line 400`

 Same also technically applies to the
 `WP_REST_Global_Styles_Revisions_Controller` and
 `WP_REST_Revisions_Controller`.

 A Github PR for this follows.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62292>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list