WordPress.org

Make WordPress Core

Changeset 25321


Ignore:
Timestamp:
09/10/2013 06:41:05 PM (6 years ago)
Author:
nacin
Message:

Ignore user ID post data. Merges [25316] to 3.6.

Location:
branches/3.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6

  • branches/3.6/wp-admin/includes/post.php

    r24886 r25321  
    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.