Changeset 4953 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 02/27/2007 03:24:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4884 r4953 682 682 // No selected categories, strange 683 683 $checked_categories[] = $default; 684 } 684 } 685 685 } else { 686 686 $checked_categories[] = $default; … … 738 738 // No selected categories, strange 739 739 $checked_categories[] = $default; 740 } 740 } 741 741 } else { 742 742 $checked_categories[] = $default; … … 779 779 $output = ob_get_contents(); 780 780 ob_end_clean(); 781 781 782 782 $output = apply_filters('cat_rows', $output); 783 783 … … 1317 1317 if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$parent][$plugin_page] ) ) 1318 1318 return false; 1319 1319 1320 1320 if ( empty( $parent) ) { 1321 1321 if ( isset( $_wp_menu_nopriv[$pagenow] ) ) … … 1329 1329 return false; 1330 1330 if ( isset( $plugin_page ) && isset( $_wp_submenu_nopriv[$key][$plugin_page] ) ) 1331 return false; 1331 return false; 1332 1332 } 1333 1333 return true; … … 1451 1451 $parent_file = $_wp_real_parent_file[$parent_file]; 1452 1452 return $parent_file; 1453 } 1453 } 1454 1454 } 1455 1455 … … 1458 1458 if ( isset( $_wp_real_parent_file[$parent_file] ) ) 1459 1459 $parent_file = $_wp_real_parent_file[$parent_file]; 1460 return $parent_file; 1460 return $parent_file; 1461 1461 } 1462 1462 … … 1898 1898 // Compute the URL 1899 1899 $url = $uploads['url'] . "/$filename"; 1900 1900 1901 1901 $return = apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $type ) ); 1902 1902 … … 2057 2057 wp_clearcookie(); 2058 2058 // Set cookies for new paths. 2059 wp_setcookie( $user_login, $user_pass_md5, true, get_option( 'home' ), get_option( 'siteurl' )); 2059 wp_setcookie( $user_login, $user_pass_md5, true, get_option( 'home' ), get_option( 'siteurl' )); 2060 2060 } 2061 2061
Note: See TracChangeset
for help on using the changeset viewer.