Changeset 18445 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 07/20/2011 10:04:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r18106 r18445 426 426 <?php 427 427 $metadata = has_meta($post->ID); 428 list_meta($metadata); 428 foreach ( $metadata as $key => $value ) { 429 if ( is_protected_meta( $metadata[ $key ][ 'meta_key' ], 'post' ) || ! current_user_can( 'edit_post_meta', $post->ID, $metadata[ $key ][ 'meta_key' ] ) ) 430 unset( $metadata[ $key ] ); 431 } 432 list_meta( $metadata ); 429 433 meta_form(); ?> 430 434 </div>
Note: See TracChangeset
for help on using the changeset viewer.