[wp-trac] [WordPress Trac] #27132: Activity module shown by default for 'subscribers' includes scheduled posts

WordPress Trac noreply at wordpress.org
Sat Feb 15 21:20:03 UTC 2014


#27132: Activity module shown by default for 'subscribers' includes scheduled posts
----------------------------+---------------------------------
 Reporter:  kirrus          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.8.2
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui, administration
----------------------------+---------------------------------

Comment (by helen):

 kirrus: You should be able to use `remove_meta_box()` to get rid of it in
 the interim - can dig up some code if you'd like.

 jackreichert: I'd probably just move the `wp_add_dashboard_widget()` call
 up a few lines to be within the same conditional as Right Now, as I don't
 see anything particularly valuable for somebody who can't edit posts. That
 said, though, there should also be various cap checks within the widget
 itself, since people can be doing any number of things with caps and
 roles.

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


More information about the wp-trac mailing list