Changeset 7130 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 03/02/2008 08:17:30 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/dashboard.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r7088 r7130 111 111 $arg, $arg, $arg... (further args passed to callbacks) 112 112 ); 113 113 114 114 // optional: if you want users to be able to edit the settings of your widget, you need to register a widget_control 115 115 wp_register_widget_control( $widget_id, $widget_control_title, $control_output_callback, … … 317 317 $date = ''; 318 318 $link = clean_url( strip_tags( $item['link'] ) ); 319 319 320 320 if ( isset( $item['author_uri'] ) ) 321 321 $site_link = clean_url( strip_tags( $item['author_uri'] ) ); 322 322 323 323 if ( !$publisher = wp_specialchars( strip_tags( isset($item['dc']['publisher']) ? $item['dc']['publisher'] : $item['author_name'] ) ) ) 324 324 $publisher = __( 'Somebody' ); … … 327 327 else 328 328 $publisher = "<strong>$publisher</strong>"; 329 329 330 330 if ( isset($item['description']) ) 331 331 $content = $item['description']; … … 344 344 else 345 345 $text = _c( '%1$s linked here saying, "%3$s"|feed_display' ); 346 346 347 347 if ( $show_date ) { 348 348 if ( $show_author || $show_summary ) … … 352 352 $date = gmdate( get_option( 'date_format' ), $date ); 353 353 } 354 354 355 355 echo "\t<li>" . sprintf( _c( "$text|feed_display" ), $publisher, $link, $content, $date ) . "</li>\n"; 356 356 }
Note: See TracChangeset
for help on using the changeset viewer.