mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user