[wp-trac] [WordPress Trac] #44687: Newly created network sites have some missing capabilities

WordPress Trac noreply at wordpress.org
Wed Aug 1 00:45:20 UTC 2018


#44687: Newly created network sites have some missing capabilities
---------------------------------------+-----------------------------
 Reporter:  programmin                 |      Owner:  (none)
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Networks and Sites         |    Version:  4.9.7
 Severity:  normal                     |   Keywords:
  Focuses:  administration, multisite  |
---------------------------------------+-----------------------------
 Steps to reproduce issue:

 In a multisite, go to sites->add new. Add a new one. Note the "Edit Site"
 has it id at the end of the link, so look in '[prefix]_[number]_options'
 table and find the newly created wp_[number]_options. The ending of this
 includes:

 {{{

 "author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}
 }}}


 What this means is effectively an author user on a multisite site is
 unable to "edit_published_pages", that is, they may not even edit pages
 that are assigned to them. This capability does exist and does work in a
 standard WP install though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44687>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list