Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20917


Ignore:
Timestamp:
06/12/2012 12:12:25 PM (13 years ago)
Author:
duck_
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20917 – Description

    initial v1  
    55Triggered by a call to current_user_can() when building the View Post button for the tool bar.
    66
    7 current_user_can( 'read_post', $post_id ) will return an array containing arrays since [21046] for draft posts created by other users because map_meta_cap() returns an array and it's result is being put in an array.
     7current_user_can( 'read_post', $post_id ) will return an array containing arrays since [21046] for draft posts created by other users because map_meta_cap() returns an array and its result is being put in an array.