General: Minor fixes to Global Style related code.

Follow up to [52041,52049-52052,52054,52106,52108-52110].

Props swisspidy, TobiasBg, spacedmonkey, kebbet, oandregal.
See #54336.

git-svn-id: https://develop.svn.wordpress.org/trunk@52128 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2021-11-10 19:54:51 +00:00
parent f60e4ba84f
commit e1ac6c3fba
3 changed files with 5 additions and 4 deletions

View File

@@ -294,7 +294,7 @@ function create_initial_rest_routes() {
$controller->register_routes();
// Block Renderer.
$controller = new WP_REST_Block_Renderer_Controller;
$controller = new WP_REST_Block_Renderer_Controller();
$controller->register_routes();
// Block Types.