Make WordPress Core

Opened 9 months ago

#59562 new defect (bug)

edit_form_after_title Hook Not Functional in Block Editor on New Post Page.

Reported by: danishwebaashi's profile danishwebaashi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.3.2
Component: Administration Keywords:
Focuses: Cc:

Description

Hey Team,

We trying to add custom button before Post/Page Title, but it seems not working with Block Editor UI.

Please check the following bug report -

Problem: edit_form_after_title Hook Not Functional in Block Editor on New Post Page

Version: WordPress Latest Version of WordPress

Description:

Steps to Reproduce:

  1. Log in to your WordPress dashboard.
  2. Go to the "Posts" section.
  3. Click on "Add New" to create a new post.
  4. Ensure you are using the Block Editor (Gutenberg).

Expected Behavior:

The edit_form_after_title hook should work correctly in the Block Editor on the New Post page, just as it does in the Classic Editor.

Actual Behavior:

The edit_form_after_title hook is not functioning as expected in the Block Editor on the New Post page. However, it works fine in the Classic Editor.

Additional Information:

  • This issue is specific to the Block Editor.
  • The edit_form_after_title hook is crucial for developers who rely on it to add custom content or functionality after the post title in the editor.
  • It appears that this hook is not properly integrated or supported in the Block Editor on the New Post page.
  • This issue could be affecting a wide range of WordPress users and developers who are transitioning to the Block Editor.

Proposed Solution:

  1. Investigate and identify the root cause of the edit_form_after_title hook not working in the Block Editor on the New Post page.
  2. Provide a fix or workaround for this issue.
  3. Ensure that the Block Editor fully supports the edit_form_after_title hook, bringing it in line with the Classic Editor's functionality.
  4. Test the fix thoroughly to confirm that it resolves the problem without introducing new issues.

Impact:

This bug affects developers and users who rely on the edit_form_after_title hook to extend the WordPress editor's functionality. Failure to address this issue could lead to a suboptimal user experience and hinder the adoption of the Block Editor.

References:

Change History (0)

Note: See TracTickets for help on using tickets.