Skip to content

Commit

Permalink
Excess newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanclevenger91 committed Sep 17, 2024
1 parent e764924 commit c284c8b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/wp-includes/capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,6 @@ function get_role( $role ) {
* @param bool[]|string[] $capabilities List of capabilities keyed by the capability name,
* e.g. array( 'edit_posts' => true, 'delete_posts' => false ).
* Also supports an array of capabilities assumed to be granted.
*
* @return WP_Role|void WP_Role object, if the role is added.
*/
function add_role( $role, $display_name, $capabilities = array() ) {
Expand Down
1 change: 0 additions & 1 deletion src/wp-includes/class-wp-roles.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public function reinit() {
* e.g. array( 'edit_posts' => true, 'delete_posts' => false ).
* Also supports an array of capabilities assumed to be granted.
* Default empty array.
*
* @return WP_Role|void WP_Role object, if the role is added.
*/
public function add_role( $role, $display_name, $capabilities = array() ) {
Expand Down

0 comments on commit c284c8b

Please sign in to comment.