mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
`use_block_editor_for_post_type` and `use_block_editor_for_post` can be very useful in more contexts than wp-admin, especially when a site is in transition. For example, you may want to do things on init that are different. Neither function depends on other functions that are available only in wp-admin (other than use_block_editor_for_post() relying on use_block_editor_for_post_type() and an admin-referrer check that's historically gated by a query variable and now also gated by is_admin), therefore moving them to wp-includes seems both feasible and beneficial Props ethitter, jorbin. Fixes #51819. git-svn-id: https://develop.svn.wordpress.org/trunk@53559 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| includesComment.php | ||
| includesFile.php | ||
| includesMisc.php | ||
| includesPlugin.php | ||
| includesPost.php | ||
| includesSchema.php | ||
| includesScreen.php | ||
| includesTemplate.php | ||
| includesTheme.php | ||
| includesUser.php | ||
| wpCommentsListTable.php | ||
| wpCommunityEvents.php | ||
| wpMediaListTable.php | ||
| wpPostsListTable.php | ||
| wpPrivacyRequestsTable.php | ||