Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#58693 new defect (bug)

wordpress posts custom-meta box issue

Reported by: mdesignfa's profile mdesignfa Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: Options, Meta APIs Keywords: needs-testing
Focuses: ui, administration Cc:

Description

Hello to the WordPress development team!

im a wordpress plugin developer and I developed a Custom-Plugin for my customer (www.delbarbash.com) and I found a critical issue with post/products meta_box

when i disable custom_meta (checkbox) form the screen-options (top-page) and reload the admin posts page or products page But again, the field was taken by PHP rendered (I saw this from view-page-source)

Issue: and when i update some product meta value from database or by ajax or somewhere else and then update the post the post will send the old meta_keys and meta_values to the wpdb and it seems to be a bug or malfunction Of course I disabled entirely the meta_box with the aid of remove_meta_box function (in my plugin)

My suggestion: to get rid of this weird issue I suggest a new system that when a user disable this meta_box (or all other boxes) from screen option an JS Confirmation take effect and ask the user (if you dont have un-saved values on this page, we will reload the page again) After page reload the page must-not render that box with PHP again! (instead of hidden that box with just CSS)

Thanks a lot!

Thank you for considering and checking my request and believe that this can be a big problem!

Change History (1)

#1 @jrf
10 months ago

  • Focuses coding-standards removed
  • Severity changed from critical to normal
Note: See TracTickets for help on using tickets.