Opened 8 months ago
Closed 8 months ago
#64871 closed defect (bug) (fixed)
Cleanup: remove unused variable $hidden_inputs in post.php
| Reported by: | Soean | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | Editor | Version: | 5.0.2 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
8 months 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