Changeset 46684 for trunk/src/wp-includes/post.php
- Timestamp:
- 11/09/2019 12:57:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r46660 r46684 6333 6333 * @param string $cap Capability. 6334 6334 */ 6335 $cap = apply_filters ( 'pub_priv_sql_capability', '' );6335 $cap = apply_filters_deprecated( 'pub_priv_sql_capability', array( '' ), '3.2.0' ); 6336 6336 if ( ! $cap ) { 6337 6337 $cap = current_user_can( $post_type_obj->cap->read_private_posts ); … … 6742 6742 * @param int $post_id Post ID. 6743 6743 */ 6744 do_action ( 'private_to_published', $post->ID);6744 do_action_deprecated( 'private_to_published', array( $post->ID ), '2.3.0', 'private_to_publish' ); 6745 6745 } 6746 6746
Note: See TracChangeset
for help on using the changeset viewer.