Changeset 45590 for trunk/src/wp-includes/author-template.php
- Timestamp:
- 07/02/2019 11:41:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r45580 r45590 542 542 global $wpdb; 543 543 544 if ( false === ( $is_multi_author = get_transient( 'is_multi_author' ) ) ) { 544 $is_multi_author = get_transient( 'is_multi_author' ); 545 if ( false === $is_multi_author ) { 545 546 $rows = (array) $wpdb->get_col( "SELECT DISTINCT post_author FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' LIMIT 2" ); 546 547 $is_multi_author = 1 < count( $rows ) ? 1 : 0;
Note: See TracChangeset
for help on using the changeset viewer.