Ignore unauthorized meta keys in meta_form(). fixes #18786.

git-svn-id: https://develop.svn.wordpress.org/trunk@25591 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-09-24 01:30:31 +00:00
parent 05c7da77fa
commit d420b71d52
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ foreach ( $metadata as $key => $value ) {
unset( $metadata[ $key ] );
}
list_meta( $metadata );
meta_form(); ?>
meta_form( $post ); ?>
</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>
<?php