Editor: Add missing parameter to the block_editor_no_javascript_message filter after [56672].

Props mukesh27.

Fixes #59229.


git-svn-id: https://develop.svn.wordpress.org/trunk@56675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2023-09-25 10:00:19 +00:00
parent 2423ed55a5
commit 6f0ddc2260

View File

@ -351,7 +351,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* @param WP_Post $post The post being edited.
* @param bool $installed Whether the classic editor is installed.
*/
$message = apply_filters( 'block_editor_no_javascript_message', $message, $post );
$message = apply_filters( 'block_editor_no_javascript_message', $message, $post, $installed );
wp_admin_notice(
$message,
array(