mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
Adds a new `WP_Block_Editor_Context::$name` and field. This allows plugin developers to tell which block editor is being loaded when using filters such as `allowed_block_types_all` and `block_editor_rest_api_preload_paths`. Fixes #55301. Props talldanwp, gziolo, andraganescu. git-svn-id: https://develop.svn.wordpress.org/trunk@52942 602fd350-edb4-49c9-b593-d223f7449a82