Make WordPress Core


Ignore:
Timestamp:
06/10/2011 05:02:03 PM (15 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/internal-linking.php

    r18207 r18234  
    1717 */
    1818function wp_link_query( $args = array() ) {
    19         $pts = get_post_types( array( 'publicly_queryable' => true ), 'objects' );
     19        $pts = get_post_types( array( 'public' => true ), 'objects' );
    2020        $pt_names = array_keys( $pts );
    2121
Note: See TracChangeset for help on using the changeset viewer.