Ticket #11615: 11615.diff
| File 11615.diff, 1.5 KB (added by , 16 years ago) |
|---|
-
includes/post.php
504 504 add_meta( $post_ID ); 505 505 506 506 // Reunite any orphaned attachments with their parent 507 if ( !$draft_ids = get_user_option( 'autosave_draft_ids' ) )507 if ( !$draft_ids = get_user_option( 'autosave_draft_ids', 0, false ) ) 508 508 $draft_ids = array(); 509 509 if ( $draft_temp_id = (int) array_search( $post_ID, $draft_ids ) ) 510 510 _relocate_children( $draft_temp_id, $post_ID ); -
includes/template.php
3674 3674 return ''; 3675 3675 } 3676 3676 3677 $screen_layout_columns = get_user_option("screen_layout_$screen" );3677 $screen_layout_columns = get_user_option("screen_layout_$screen", 0, false); 3678 3678 $num = $columns[$screen]; 3679 3679 3680 3680 if ( ! $screen_layout_columns ) -
plugins.php
23 23 24 24 $plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : ''; 25 25 26 $default_status = get_user_option('plugins_last_view' );26 $default_status = get_user_option('plugins_last_view', 0, false); 27 27 if ( empty($default_status) ) 28 28 $default_status = 'all'; 29 29 $status = isset($_REQUEST['plugin_status']) ? $_REQUEST['plugin_status'] : $default_status;