Ticket #7080: widgets.patch
| File widgets.patch, 638 bytes (added by , 18 years ago) |
|---|
-
widgets.php
old new 891 891 } 892 892 893 893 function wp_widget_recent_entries($args) { 894 global $post; 895 $postBackup = $post; 896 894 897 if ( '%BEG_OF_TITLE%' != $args['before_title'] ) { 895 898 if ( $output = wp_cache_get('widget_recent_entries', 'widget') ) 896 899 return print($output); … … 924 927 925 928 if ( '%BEG_OF_TITLE%' != $args['before_title'] ) 926 929 wp_cache_add('widget_recent_entries', ob_get_flush(), 'widget'); 930 931 $post = $postBackup; 932 setup_postdata( $post ); 927 933 } 928 934 929 935 function wp_flush_widget_recent_entries() {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)