mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-28 02:19:19 +00:00
Ensures that the ::get_rest_controller() method will always return an instanceof the expected controller class, or null. Removes unused private static property $post_type_controllers. Props dlh, TimothyBlynJacobs. Fixes #45677. Built from https://develop.svn.wordpress.org/trunk@46435 git-svn-id: http://core.svn.wordpress.org/trunk@46233 1a063a9b-81f0-0310-95a4-ce76da25c4cd