Changeset 8894 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
- Timestamp:
- 05/30/2019 04:20:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r8655 r8894 795 795 796 796 // Author Archives need to be created 797 if ( $wp_query->is_main_query() && ( isset( $wp_query->query['author_name'] ) || isset( $wp_query->query['author'] )) ) {797 if ( $wp_query->is_main_query() && $wp_query->is_author() ) { 798 798 $user = isset( $wp_query->query['author_name'] ) ? $wp_query->query['author_name'] : get_user_by( 'id', $wp_query->query['author'] )->user_nicename; 799 799
Note: See TracChangeset
for help on using the changeset viewer.