From c1573fd632ab5acd2d2e7ee21bd6be90aa5ff08e Mon Sep 17 00:00:00 2001 From: Robin Cornett Date: Sun, 26 Mar 2023 18:35:52 -0400 Subject: [PATCH] Update author capability check --- includes/widgets/fields/author-user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/widgets/fields/author-user.php b/includes/widgets/fields/author-user.php index 5074aa1..e8166e7 100644 --- a/includes/widgets/fields/author-user.php +++ b/includes/widgets/fields/author-user.php @@ -2,7 +2,7 @@ $users = get_users( array( - 'who' => 'authors', + 'capability' => array( 'edit_posts' ), ) ); $options = array(