[51962] and [51964] introduced two new functions: `rest_get_route_for_post_type_items()` and `rest_get_route_for_taxonomy_items()`. These functions replaced hardcoded references in all parts of core that reference taxonomy and post type rest controller endpoints. However, several instances were missed in the `wp-admin/site-editor.php` file. This commit replaces those remaining hardcoded instances. Follow-up to [51962], [51964], [52232]. Props spacedmonkey. Fixes #54536. Built from https://develop.svn.wordpress.org/trunk@52281 git-svn-id: http://core.svn.wordpress.org/trunk@51873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
4.8 KiB
4.8 KiB