WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24280, comment 9


Ignore:
Timestamp:
05/13/2015 12:41:14 AM (6 years ago)
Author:
chriscct7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24280, comment 9

    initial v1  
    33>
    44That's the intention. In the comments it is noted the publish_post cap doesn't exist at that point.
    5 
    6 
    7 
    8 > Replying to [comment:2 fgauthier]:
    9 > > In fact, I meant functions like blogger_newPost($args) and mw_newPost($args) that do not check the edit_post privilege when the status of the new post is set to 'publish'.
    10 >
    11 > `blogger_newPost()` and `mw_newPost()` both check the `edit_posts` cap too. Those functions, along with `mt_publishPost()`, all look correct to me. In order to publish a post, you also need the ability to edit that post.
    12 >
    13 > I think this ticket is invalid.