Ticket #19116: 19116.diff
| File 19116.diff, 498 bytes (added by duck_, 19 months ago) |
|---|
-
wp-includes/post.php
4150 4150 // Private posts 4151 4151 $post_type_obj = get_post_type_object( $post_type ); 4152 4152 if ( ! $post_type_obj ) 4153 return ' 1 = 0 ';4153 return $full ? 'WHERE 1 = 0' : ' 1 = 0 '; 4154 4154 4155 4155 // This hook is deprecated. Why you'd want to use it, I dunno. 4156 4156 if ( ! $cap = apply_filters( 'pub_priv_sql_capability', '' ) )
