Opened 11 days ago
Closed 10 days ago
#64871 closed defect (bug) (fixed)
Cleanup: remove unused variable $hidden_inputs in post.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | 5.0.2 |
| Component: | Editor | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
The variable $hidden_inputs in the_block_editor_meta_box_post_form_hidden_fields() was introduced in [44241], but never used. So we should remove it.
Change History (3)
This ticket was mentioned in PR #11271 on WordPress/wordpress-develop by @Soean.
11 days ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
This pull request makes a minor change to the
the_block_editor_meta_box_post_form_hidden_fieldsfunction insrc/wp-admin/includes/post.php. The change removes the unused$hidden_inputsvariable, simplifying the code and reducing clutter.Trac ticket: https://core.trac.wordpress.org/ticket/64871