Make WordPress Core


Ignore:
Timestamp:
07/20/2011 10:04:35 PM (14 years ago)
Author:
ryan
Message:

Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r18414 r18445  
    738738        foreach ( (array) $keys as $key ) {
    739739            $keyt = trim($key);
    740             if ( '_' == $keyt[0] )
     740            if ( is_protected_meta( $keyt, 'post' ) )
    741741                continue;
    742742            $values = array_map('trim', get_post_custom_values($key));
Note: See TracChangeset for help on using the changeset viewer.