WordPress.org

Make WordPress Core

Changeset 25316


Ignore:
Timestamp:
09/10/13 17:57:14 (4 years ago)
Author:
nacin
Message:

Ignore user ID post data.

File:
1 edited

Legend:

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

    r25028 r25316  
    5353        $post_data['to_ping'] = $post_data['trackback_url']; 
    5454 
    55     if ( !isset($post_data['user_ID']) ) 
    56         $post_data['user_ID'] = $GLOBALS['user_ID']; 
     55    $post_data['user_ID'] = $GLOBALS['user_ID']; 
    5756 
    5857    if (!empty ( $post_data['post_author_override'] ) ) { 
Note: See TracChangeset for help on using the changeset viewer.