[wp-trac] [WordPress Trac] #60131: Global styles controllers: extend classes with WP_REST_Posts_Controller and WP_REST_Revisions_Controller

WordPress Trac noreply at wordpress.org
Tue Feb 13 23:56:37 UTC 2024


#60131: Global styles controllers: extend classes with WP_REST_Posts_Controller and
WP_REST_Revisions_Controller
-------------------------------------------------+-------------------------
 Reporter:  ramonopoly                           |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.5
Component:  REST API                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by ramonopoly):

 > Out of interest, which constructor's signature was the problem?

 Okay, sorry. Now I see.



 `Fatal error: Uncaught ArgumentCountError: Too few arguments to function
 WP_REST_Global_Styles_Revisions_Controller::__construct(), 0`


 > Was a specific "proper fix" discussed at all?


 I see the commmit in the
 [https://core.trac.wordpress.org/ticket/60131#comment:30 message above].

 Thanks everyone for helping with this!

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


More information about the wp-trac mailing list