Changeset 51285 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 06/30/2021 05:43:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r51121 r51285 1873 1873 $private_states = get_post_stati( array( 'private' => true ) ); 1874 1874 $where .= " AND ( p.post_status = 'publish'"; 1875 foreach ( (array)$private_states as $state ) {1875 foreach ( $private_states as $state ) { 1876 1876 if ( current_user_can( $read_private_cap ) ) { 1877 1877 $where .= $wpdb->prepare( ' OR p.post_status = %s', $state );
Note: See TracChangeset
for help on using the changeset viewer.