Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14520, comment 13


Ignore:
Timestamp:
09/29/2011 02:15:17 PM (12 years ago)
Author:
nestor_at_mash
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14520, comment 13

    initial v1  
    11Hi all,
    2 The edit_comment capability has not been defined on wp-admin\includes\schema.php
    3 I think, something like the following should be added to schema.php:
     2The edit_comment capability has not been defined on wp-admin\includes\schema.php[[BR]]
     3I think, something like the following should be added to schema.php:[[BR]][[BR]]
    44populate_roles_310(){
    55
    6         $roles = array('administrator', 'editor', 'author', 'contributor');
     6        $roles = array('administrator', 'editor', 'author', 'contributor');[[BR]]
     7
    78        foreach ($roles as $role) {
    89                $role =& get_role($role);