WordPress.org

Make WordPress Core

Changeset 5512


Ignore:
Timestamp:
05/22/2007 07:53:33 PM (13 years ago)
Author:
markjaquith
Message:

Prevent current author from claiming authorship of posts from other authors when editing via desktop client. Props Erik Barzeski. fixes #4315 for 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/xmlrpc.php

    r5452 r5512  
    11511151        }
    11521152
    1153         $post_author = $user->ID;
     1153        $post_author = $postdata["post_author"];
    11541154
    11551155        // Only set the post_author if one is set.
Note: See TracChangeset for help on using the changeset viewer.