Changeset 13100 for trunk/wp-admin/link-manager.php
- Timestamp:
- 02/13/2010 08:49:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r12895 r13100 100 100 <div class="tablenav"> 101 101 102 <?php 103 if ( 'all' == $cat_id ) 104 $cat_id = ''; 105 $args = array( 'category' => $cat_id, 'hide_invisible' => 0, 'orderby' => $sqlorderby, 'hide_empty' => 0 ); 106 if ( ! empty( $_GET['s'] ) ) 107 $args['search'] = $_GET['s']; 108 $links = get_bookmarks( $args ); 109 if ( $links ) { 110 ?> 111 102 112 <div class="alignleft actions"> 103 113 <select name="action"> … … 136 146 137 147 <?php 138 if ( 'all' == $cat_id )139 $cat_id = '';140 $args = array('category' => $cat_id, 'hide_invisible' => 0, 'orderby' => $sqlorderby, 'hide_empty' => 0);141 if ( !empty($_GET['s']) )142 $args['search'] = $_GET['s'];143 $links = get_bookmarks( $args );144 if ( $links ) {145 148 $link_columns = get_column_headers('link-manager'); 146 149 $hidden = get_hidden_columns('link-manager'); … … 252 255 </table> 253 256 254 <?php } else { ?>255 <p><?php _e('No links found.') ?></p>256 <?php } ?>257 258 257 <div class="tablenav"> 259 258 … … 266 265 </div> 267 266 267 <?php } else { ?> 268 <p><?php _e( 'No links found.' ) ?></p> 269 <?php } ?> 270 268 271 <br class="clear" /> 269 272 </div>
Note: See TracChangeset
for help on using the changeset viewer.