Move error notice to the top of Custom Fields postbox, props Simek, fixes #8138
git-svn-id: http://svn.automattic.com/wordpress/trunk@9608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f5a70545d
commit
330e07bfa4
|
@ -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