summaryrefslogtreecommitdiffstats
path: root/wp-includes/capabilities.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-06-13 17:21:00 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-06-13 17:21:00 +0000
commit12de05107e4c8b006bde6ee8916f34eb476d08da (patch)
tree123ee54ecd1f3f777373b7df54a4604012d43640 /wp-includes/capabilities.php
parente51c7a9ca4bfdb45fa3ec7334bd33871e78c68b1 (diff)
downloadwordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.gz
wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.tar.xz
wordpress-mu-12de05107e4c8b006bde6ee8916f34eb476d08da.zip
WP Merge with revision 8075
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1328 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/capabilities.php')
-rw-r--r--wp-includes/capabilities.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php
index 85eaa77..875173d 100644
--- a/wp-includes/capabilities.php
+++ b/wp-includes/capabilities.php
@@ -34,7 +34,7 @@ class WP_Roles {
}
}
- function add_role($role, $display_name, $capabilities = '') {
+ function add_role($role, $display_name, $capabilities = array()) {
if ( isset($this->roles[$role]) )
return;
@@ -465,7 +465,7 @@ function get_role($role) {
return $wp_roles->get_role($role);
}
-function add_role($role, $display_name, $capabilities = '') {
+function add_role($role, $display_name, $capabilities = array()) {
global $wp_roles;
if ( ! isset($wp_roles) )