[wp-trac] [WordPress Trac] #20473: cap fixes in mw_editpost
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 18 05:52:08 UTC 2012
#20473: cap fixes in mw_editpost
--------------------------+-----------------------------
Reporter: nprasath002 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.4
Severity: critical | Keywords: has-patch
--------------------------+-----------------------------
the patch includes
* moved the cap check below post type check (first we need to check the
post type for capability check)
* expand the cap check for pages
* check cap for publishing post or setting it as private with post_ID
The checks were ok in 3.3 but changed in the trunk which breaks support
for 'pages'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20473>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list