Make WordPress Core


Ignore:
Timestamp:
09/29/2011 09:47:52 PM (14 years ago)
Author:
azaozz
Message:

Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235

File:
1 edited

Legend:

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

    r18809 r18823  
    37293729    clean_post_cache($post_ID);
    37303730
    3731     if ( isset($post_parent) && $post_parent < 0 )
    3732         add_post_meta($post_ID, '_wp_attachment_temp_parent', $post_parent, true);
    3733 
    37343731    if ( ! empty( $context ) )
    37353732        add_post_meta( $post_ID, '_wp_attachment_context', $context, true );
Note: See TracChangeset for help on using the changeset viewer.