- Timestamp:
- 06/13/2023 06:21:33 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/plugins-themes.php
r12607 r12651 81 81 $items = get_user_items( $user ); 82 82 if ( $items ) { 83 echo '<p><strong>' . ucwords( $type ) . ' owned by this user:</strong></p>'; 83 $url = add_query_arg( [ 'post_type' => $repo_post_types[ $type ], 'author' => $user->ID ], admin_url( 'edit.php' ) ); 84 echo '<p><strong><a href="' . esc_url( $url ) . '">' . ucwords( $type ) . ' owned by this user:</a></strong></p>'; 84 85 85 86 display_items( $items );
Note: See TracChangeset
for help on using the changeset viewer.