WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/29/2018 02:42:23 AM (14 months ago)
Author:
pento
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.

Props pento, peterwilsoncc.
Fixes #45172.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/edit-form-comment.php

    r43301 r43837  
    178178<div id="postbox-container-2" class="postbox-container">
    179179<?php
    180 /** This action is documented in wp-admin/edit-form-advanced.php */
     180/** This action is documented in wp-admin/includes/meta-boxes.php */
    181181do_action( 'add_meta_boxes', 'comment', $comment );
    182182
Note: See TracChangeset for help on using the changeset viewer.