WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
05/12/2015 11:52:57 PM (6 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24280, comment 8

    initial v1  
    44> 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'.
    55
    6 `blogger_newPost()` and `blogger_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.
     6`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.
    77
    88I think this ticket is invalid.