Skip to content

Commit

Permalink
Fix one more return type
Browse files Browse the repository at this point in the history
  • Loading branch information
HPiirainen committed May 21, 2024
1 parent 7d368e2 commit 2fc4222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1111,8 +1111,8 @@ public function rename( $new_display_name ) {
/**
* Restrict post editing capabilities by post ids.
*
* @param array $blocked_posts An array of blocked post ids.
* @param string $capability Capability to restrict for the role.
* @param array $blocked_posts An array of blocked post ids.
* @param string|array $capability Capability to restrict for the role.
* @return void
*/
public function restrict_post_edit( $blocked_posts, $capability ) {
Expand Down

0 comments on commit 2fc4222

Please sign in to comment.