populate_roles_280() – Create and modify WordPress roles for WordPress 2.8.

You appear to be a bot. Output may be restricted

Description

Create and modify WordPress roles for WordPress 2.8.

Usage

populate_roles_280();

Parameters

Returns

void

Source

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

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

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

 View on GitHub View on Trac