Make WordPress Core


Ignore:
Timestamp:
12/16/2018 01:18:22 AM (4 years ago)
Author:
jeremyfelt
Message:

Block Editor: Fix meta boxes not showing.

The block editor needs to duplicate the classic meta box behaviour, so it can extract the registered meta boxes, and import them into the block editor.

To match the classic editor behaviour as closely as possible, this moves the relevant code from the classic editor, into a new function, so it can be called by both.

Merges [43837] from the 5.0 branch to trunk.

Props pento, peterwilsoncc.
Fixes #45172.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-admin/edit-form-comment.php

    r43571 r44214  
    196196<div id="postbox-container-2" class="postbox-container">
    197197<?php
    198 /** This action is documented in wp-admin/edit-form-advanced.php */
     198/** This action is documented in wp-admin/includes/meta-boxes.php */
    199199do_action( 'add_meta_boxes', 'comment', $comment );
    200200
Note: See TracChangeset for help on using the changeset viewer.