diff --git src/wp-content/themes/twentyfourteen/functions.php src/wp-content/themes/twentyfourteen/functions.php
index 892d6ac939..0695bcce6d 100644
|
|
|
if ( ! function_exists( 'twentyfourteen_list_authors' ) ) : |
| 498 | 498 | 'capability' => array( 'edit_posts' ), |
| 499 | 499 | ); |
| 500 | 500 | |
| | 501 | // Capability queries were only introduced in WP 5.9. |
| | 502 | if ( version_compare( $GLOBALS['wp_version'], '5.9-alpha', '<' ) ) { |
| | 503 | $args['who'] = 'authors'; |
| | 504 | unset( $args['capability'] ); |
| | 505 | } |
| | 506 | |
| 501 | 507 | /** |
| 502 | 508 | * Filters query arguments for listing authors. |
| 503 | 509 | * |