Move error notice to the top of Custom Fields postbox, props Simek, fixes #8138
git-svn-id: https://develop.svn.wordpress.org/trunk@9608 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
48466e519d
commit
491c09ffaf
|
@ -357,12 +357,12 @@ add_meta_box('trackbacksdiv', __('Trackbacks and Pings'), 'post_trackback_meta_b
|
||||||
function post_custom_meta_box($post) {
|
function post_custom_meta_box($post) {
|
||||||
?>
|
?>
|
||||||
<div id="postcustomstuff">
|
<div id="postcustomstuff">
|
||||||
|
<div id="ajax-response"></div>
|
||||||
<?php
|
<?php
|
||||||
$metadata = has_meta($post->ID);
|
$metadata = has_meta($post->ID);
|
||||||
list_meta($metadata);
|
list_meta($metadata);
|
||||||
meta_form();
|
meta_form();
|
||||||
?>
|
?>
|
||||||
<div id="ajax-response"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
|
<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue