- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/internal-linking.php
r18234 r17340 17 17 */ 18 18 function wp_link_query( $args = array() ) { 19 $pts = get_post_types( array( 'public ' => true ), 'objects' );19 $pts = get_post_types( array( 'publicly_queryable' => true ), 'objects' ); 20 20 $pt_names = array_keys( $pts ); 21 21 … … 77 77 <p class="howto"><?php _e( 'Enter the destination URL' ); ?></p> 78 78 <div> 79 <label ><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" name="href" /></label>79 <label for="url-field"><span><?php _e( 'URL' ); ?></span><input id="url-field" type="text" tabindex="10" autocomplete="off" /></label> 80 80 </div> 81 81 <div> 82 <label ><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" name="linktitle" /></label>82 <label for="link-title-field"><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" autocomplete="off" /></label> 83 83 </div> 84 84 <div class="link-target"> 85 <label ><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label>85 <label for="link-target-checkbox"><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window/tab' ); ?></label> 86 86 </div> 87 87 </div> … … 90 90 <div id="search-panel"<?php if ( ! $show_internal ) echo ' style="display:none"'; ?>> 91 91 <div class="link-search-wrapper"> 92 <label >92 <label for="search-field"> 93 93 <span><?php _e( 'Search' ); ?></span> 94 94 <input type="text" id="search-field" class="link-search-field" tabindex="60" autocomplete="off" />
Note: See TracChangeset
for help on using the changeset viewer.