Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040

git-svn-id: https://develop.svn.wordpress.org/trunk@18234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2011-06-10 17:02:03 +00:00
parent 740272025b
commit 2aea6faf97
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
* @return array Results.
*/
function wp_link_query( $args = array() ) {
$pts = get_post_types( array( 'publicly_queryable' => true ), 'objects' );
$pts = get_post_types( array( 'public' => true ), 'objects' );
$pt_names = array_keys( $pts );
$query = array(