populate_roles_250() – Create and modify WordPress roles for WordPress 2.5.

You appear to be a bot. Output may be restricted

Description

Create and modify WordPress roles for WordPress 2.5.

Usage

populate_roles_250();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/schema.php
Lines:

1 to 7 of 7
function populate_roles_250() {
  $role = get_role( 'administrator' );

  if ( ! empty( $role ) ) {
    $role->add_cap( 'edit_dashboard' );
  }
}
 

 View on GitHub View on Trac