From 6f0ddc2260caefb5e71a18b26f43d03c02428a8d Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 25 Sep 2023 10:00:19 +0000 Subject: [PATCH] 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 --- src/wp-admin/edit-form-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php index 6282f90f78..93dea2eb91 100644 --- a/src/wp-admin/edit-form-blocks.php +++ b/src/wp-admin/edit-form-blocks.php @@ -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(