populate_roles_270()

 

File: wp-admin/includes/schema.php

function populate_roles_270() {
	$role = get_role( 'administrator' );

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

参数:populate_roles_270()

{acontent5}{acontent3}

You must log in before being able to contribute a note or feedback.

33.33% (1) 次Baidu访问
33.33% (1) 次Google访问
33.33% (1) 次Sogou访问
  • 蜘蛛:Baidu,1次,更新时间:2019-05-19 03:07:27
  • 蜘蛛:Google,1次,更新时间:2019-05-13 22:52:54
  • 蜘蛛:Sogou,1次,更新时间:2019-04-25 14:21:10

参与评论