[wpmu-trac] [WordPress MU Trac] #1135: change post_author value on submit

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Oct 28 17:07:10 UTC 2009


#1135: change post_author value on submit
-------------------------------+--------------------------------------------
 Reporter:  abdullah_elshaikh  |        Owner:  somebody
     Type:  defect             |       Status:  closed  
 Priority:  high               |    Milestone:          
Component:  Administration     |      Version:          
 Severity:  critical           |   Resolution:  fixed   
 Keywords:                     |  
-------------------------------+--------------------------------------------
Changes (by donncha):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The function edit_post() checks if the current_user can edit a post or
 page so even though the post_author can be set to a subscriber, it doesn't
 mean that the subscriber in question can actually edit the post.

 I have added a check to make sure the post is owned by someone on the
 current blog. See the change in [1966]

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1135#comment:7>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list