Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta Boxes: Don't hide disabled meta boxes by modifying DOM #12628

Merged
merged 1 commit into from
Dec 9, 2018

Commits on Dec 5, 2018

  1. Meta Boxes: Don't hide disabled meta boxes by modifying DOM

    Hiding disabled meta boxes by setting `element.style.display = 'none'`
    interferes with plugins like ACF which rely on being able to show and
    hide meta boxes using `$.hide()` and `$.show()`.
    
    Hiding the meta box using a new `.edit-post-meta-boxes-area .is-hidden`
    class ensures that we don't interfere with third party code.
    noisysocks committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    bf05b26 View commit details
    Browse the repository at this point in the history