Use default priority for user_has_cap filter

This commit is contained in:
Illimar Tambek 2013-09-06 17:53:25 +03:00
parent 7ec8a687f6
commit 0a7137e747
1 changed files with 1 additions and 1 deletions

View File

@ -313,4 +313,4 @@ function woocommerce_customer_has_capability( $allcaps, $caps, $args ) {
}
return $allcaps;
}
add_filter( 'user_has_cap', 'woocommerce_customer_has_capability', 11, 3);
add_filter( 'user_has_cap', 'woocommerce_customer_has_capability', 10, 3);