[wp-trac] [WordPress Trac] #29714: user_can_access_admin_page() returning false for edit.php?post_type=CPT

WordPress Trac noreply at wordpress.org
Sat Nov 22 15:50:30 UTC 2014


#29714: user_can_access_admin_page() returning false for edit.php?post_type=CPT
----------------------------------------+------------------------------
 Reporter:  bobbingwide                 |       Owner:
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Role/Capability             |     Version:  4.0
 Severity:  normal                      |  Resolution:  duplicate
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------
Changes (by bobbingwide):

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


Comment:

 After discussion with johnbillion at #wpldn contributor day we've agreed
 that this defect is a duplicate of #22895.

 We also note that my 29714-2.diff is a better fix than nacin's original
 since it doesn't have any downstream side effects.

 Also note that the workaround does NOT appear to work in 4.1-beta2,
 although I don't yet know why.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29714#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list