Changeset 14139
- Timestamp:
- 04/18/2010 06:14:45 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 50 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-activate.php
r14070 r14139 5 5 require( dirname(__FILE__) . '/wp-load.php' ); 6 6 7 require( ' wp-blog-header.php' );7 require( './wp-blog-header.php' ); 8 8 9 9 if ( !is_multisite() ) { -
trunk/wp-admin/admin-ajax.php
r14124 r14139 20 20 die('-1'); 21 21 22 require_once(' includes/admin.php');22 require_once('./includes/admin.php'); 23 23 @header('Content-Type: text/html; charset=' . get_option('blog_charset')); 24 24 send_nosniff_header(); -
trunk/wp-admin/admin-header.php
r13833 r14139 8 8 9 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 10 if (!isset($_GET["page"])) require_once(' admin.php');10 if (!isset($_GET["page"])) require_once('./admin.php'); 11 11 12 12 get_admin_page_title(); -
trunk/wp-admin/async-upload.php
r11904 r14139 22 22 $_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie']; 23 23 unset($current_user); 24 require_once(' admin.php');24 require_once('./admin.php'); 25 25 26 26 header('Content-Type: text/plain; charset=' . get_option('blog_charset')); -
trunk/wp-admin/comment.php
r13571 r14139 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 $parent_file = 'edit-comments.php'; … … 37 37 function comment_footer_die( $msg ) { 38 38 echo "<div class='wrap'><p>$msg</p></div>"; 39 include(' admin-footer.php');39 include('./admin-footer.php'); 40 40 die; 41 41 } … … 47 47 48 48 wp_enqueue_script('comment'); 49 require_once(' admin-header.php');49 require_once('./admin-header.php'); 50 50 51 51 $comment_id = absint( $_GET['c'] ); … … 62 62 $comment = get_comment_to_edit( $comment_id ); 63 63 64 include(' edit-form-comment.php');64 include('./edit-form-comment.php'); 65 65 66 66 break; … … 89 89 } 90 90 91 require_once(' admin-header.php');91 require_once('./admin-header.php'); 92 92 93 93 $formaction = $action . 'comment'; … … 277 277 } // end switch 278 278 279 include(' admin-footer.php');279 include('./admin-footer.php'); 280 280 281 281 ?> -
trunk/wp-admin/edit-comments.php
r13770 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !current_user_can('edit_posts') ) … … 106 106 $title = __('Edit Comments'); 107 107 108 require_once(' admin-header.php');108 require_once('./admin-header.php'); 109 109 110 110 $mode = ( empty($_GET['mode']) ) ? 'detail' : esc_attr($_GET['mode']); … … 469 469 wp_comment_reply('-1', true, 'detail'); 470 470 wp_comment_trashnotice(); 471 include(' admin-footer.php'); ?>471 include('./admin-footer.php'); ?> -
trunk/wp-admin/edit-form-advanced.php
r14137 r14139 103 103 104 104 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). 105 require_once(' includes/meta-boxes.php');105 require_once('./includes/meta-boxes.php'); 106 106 107 107 add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', $post_type, 'side', 'core'); … … 166 166 add_contextual_help($current_screen, drag_drop_help()); 167 167 168 require_once(' admin-header.php');168 require_once('./admin-header.php'); 169 169 ?> 170 170 -
trunk/wp-admin/edit-link-categories.php
r13852 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 // Handle bulk actions … … 228 228 229 229 <?php inline_edit_term_row('edit-link-categories', 'link_category'); ?> 230 <?php include(' admin-footer.php'); ?>230 <?php include('./admin-footer.php'); ?> -
trunk/wp-admin/edit-link-form.php
r14044 r14139 23 23 } 24 24 25 require_once(' includes/meta-boxes.php');25 require_once('./includes/meta-boxes.php'); 26 26 27 27 add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', 'link', 'side', 'core'); -
trunk/wp-admin/edit-tags.php
r13876 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 wp_reset_vars( array('action', 'tag', 'taxonomy', 'post_type') ); … … 123 123 124 124 $tag = get_term($tag_ID, $taxonomy, OBJECT, 'edit'); 125 include(' edit-tag-form.php');125 include('./edit-tag-form.php'); 126 126 127 127 break; … … 403 403 } 404 404 405 include(' admin-footer.php');406 407 ?> 405 include('./admin-footer.php'); 406 407 ?> -
trunk/wp-admin/edit.php
r13987 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !isset($_GET['post_type']) ) … … 157 157 $num_pages = $wp_query->max_num_pages; 158 158 159 require_once(' admin-header.php');159 require_once('./admin-header.php'); 160 160 161 161 if ( empty($_GET['mode']) ) … … 376 376 <div class="clear"></div> 377 377 378 <?php include( ' edit-post-rows.php' ); ?>378 <?php include( './edit-post-rows.php' ); ?> 379 379 380 380 <div class="tablenav"> … … 426 426 427 427 <?php 428 include(' admin-footer.php');428 include('./admin-footer.php'); -
trunk/wp-admin/export.php
r13733 r14139 14 14 15 15 /** Load WordPress export API */ 16 require_once(' includes/export.php');16 require_once('./includes/export.php'); 17 17 $title = __('Export'); 18 18 -
trunk/wp-admin/index-extra.php
r13409 r14139 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once( ' admin.php' );10 require_once( './admin.php' ); 11 11 12 12 /** Load WordPress Administration Dashboard API */ 13 require( ' includes/dashboard.php' );13 require( './includes/dashboard.php' ); 14 14 15 15 @header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); -
trunk/wp-admin/index.php
r12728 r14139 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 /** Load WordPress dashboard API */ … … 27 27 add_contextual_help($current_screen, '<p>' . __('The modules on this screen can be arranged in several columns. You can select the number of columns from the Screen Options tab.') . "</p>\n" . drag_drop_help() ); 28 28 29 require_once(' admin-header.php');29 require_once('./admin-header.php'); 30 30 31 31 $today = current_time('mysql', 1); -
trunk/wp-admin/link-add.php
r11764 r14139 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can('manage_links') ) … … 25 25 26 26 $link = get_default_link_to_edit(); 27 include(' edit-link-form.php');27 include('./edit-link-form.php'); 28 28 29 require(' admin-footer.php');29 require('./admin-footer.php'); 30 30 ?> -
trunk/wp-admin/link-category.php
r9967 r14139 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once(' admin.php');13 require_once('./admin.php'); 14 14 15 15 wp_reset_vars(array('action', 'cat')); … … 68 68 $cat_ID = (int) $_GET['cat_ID']; 69 69 $category = get_term_to_edit($cat_ID, 'link_category'); 70 include(' edit-link-category-form.php');71 include(' admin-footer.php');70 include('./edit-link-category-form.php'); 71 include('./admin-footer.php'); 72 72 exit; 73 73 break; -
trunk/wp-admin/link-manager.php
r13770 r14139 279 279 280 280 <?php 281 include(' admin-footer.php');281 include('./admin-footer.php'); -
trunk/wp-admin/media-new.php
r9232 r14139 9 9 $_GET['inline'] = 'true'; 10 10 /** Administration bootstrap */ 11 require_once(' admin.php');12 require_once(' media-upload.php');11 require_once('./admin.php'); 12 require_once('./media-upload.php'); 13 13 14 14 ?> -
trunk/wp-admin/media-upload.php
r12007 r14139 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once(' admin.php');13 require_once('./admin.php'); 14 14 15 15 if (!current_user_can('upload_files')) … … 57 57 $title = __('Upload New Media'); 58 58 $parent_file = 'upload.php'; 59 require_once(' admin-header.php'); ?>59 require_once('./admin-header.php'); ?> 60 60 <div class="wrap"> 61 61 <?php screen_icon(); ?> … … 87 87 88 88 <?php 89 include(' admin-footer.php');89 include('./admin-footer.php'); 90 90 91 91 } else { -
trunk/wp-admin/media.php
r13521 r14139 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 $parent_file = 'upload.php'; … … 68 68 wp_enqueue_style('imgareaselect'); 69 69 70 require( ' admin-header.php' );70 require( './admin-header.php' ); 71 71 72 72 $parent_file = 'upload.php'; … … 115 115 <?php 116 116 117 require( ' admin-footer.php' );117 require( './admin-footer.php' ); 118 118 119 119 exit; -
trunk/wp-admin/ms-upgrade-network.php
r14070 r14139 75 75 </div> 76 76 77 <?php include(' admin-footer.php'); ?>77 <?php include('./admin-footer.php'); ?> -
trunk/wp-admin/nav-menus.php
r14031 r14139 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once( ' admin.php' );13 require_once( './admin.php' ); 14 14 15 15 // Load all the nav menu interface functions … … 236 236 237 237 // Get the admin header 238 require_once( ' admin-header.php' );238 require_once( './admin-header.php' ); 239 239 ?> 240 240 <div class="wrap"> … … 346 346 </div><!-- /#menu-item-settings--> 347 347 348 <?php include( ' admin-footer.php' ); ?>348 <?php include( './admin-footer.php' ); ?> -
trunk/wp-admin/options-discussion.php
r14070 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 16 16 $parent_file = 'options-general.php'; 17 17 18 include(' admin-header.php');18 include('./admin-header.php'); 19 19 ?> 20 20 -
trunk/wp-admin/options-media.php
r13750 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 16 16 $parent_file = 'options-general.php'; 17 17 18 include(' admin-header.php');18 include('./admin-header.php'); 19 19 20 20 ?> -
trunk/wp-admin/options-permalink.php
r14051 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 71 71 add_filter('admin_head', 'add_js'); 72 72 73 include(' admin-header.php');73 include('./admin-header.php'); 74 74 75 75 $home_path = get_home_path(); -
trunk/wp-admin/options-reading.php
r13971 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( ' admin.php' );10 require_once( './admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 16 16 $parent_file = 'options-general.php'; 17 17 18 include( ' admin-header.php' );18 include( './admin-header.php' ); 19 19 ?> 20 20 -
trunk/wp-admin/options-writing.php
r13754 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 16 16 $parent_file = 'options-general.php'; 17 17 18 include(' admin-header.php');18 include('./admin-header.php'); 19 19 ?> 20 20 -
trunk/wp-admin/options.php
r14070 r14139 17 17 18 18 /** WordPress Administration Bootstrap */ 19 require_once(' admin.php');19 require_once('./admin.php'); 20 20 21 21 $title = __('Settings'); … … 162 162 } 163 163 164 include(' admin-header.php'); ?>164 include('./admin-header.php'); ?> 165 165 166 166 <div class="wrap"> … … 215 215 216 216 <?php 217 include(' admin-footer.php');217 include('./admin-footer.php'); 218 218 ?> -
trunk/wp-admin/plugin-editor.php
r13859 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !current_user_can('edit_plugins') ) … … 103 103 } 104 104 105 require_once(' admin-header.php');105 require_once('./admin-header.php'); 106 106 107 107 update_recently_edited(WP_PLUGIN_DIR . '/' . $file); … … 240 240 break; 241 241 } 242 include(" admin-footer.php");242 include("./admin-footer.php"); -
trunk/wp-admin/plugin-install.php
r12752 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can('install_plugins') ) … … 55 55 add_contextual_help($current_screen, plugins_search_help()); 56 56 57 include(' admin-header.php');57 include('./admin-header.php'); 58 58 ?> 59 59 <div class="wrap"> … … 76 76 </div> 77 77 <?php 78 include(' admin-footer.php');78 include('./admin-footer.php'); -
trunk/wp-admin/plugins.php
r14003 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can( 'activate_plugins' ) ) … … 110 110 $parent_file = 'plugins.php'; 111 111 112 require_once( ' admin-header.php' );112 require_once( './admin-header.php' ); 113 113 114 114 echo '<div class="wrap">'; … … 122 122 echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>"; 123 123 echo '</div>'; 124 require_once( ' admin-footer.php' );124 require_once( './admin-footer.php' ); 125 125 exit; 126 126 break; … … 207 207 if ( ! isset($_REQUEST['verify-delete']) ) { 208 208 wp_enqueue_script('jquery'); 209 require_once(' admin-header.php');209 require_once('./admin-header.php'); 210 210 ?> 211 211 <div class="wrap"> … … 285 285 </div> 286 286 <?php 287 require_once(' admin-footer.php');287 require_once('./admin-footer.php'); 288 288 exit; 289 289 } //Endif verify-delete … … 319 319 320 320 $title = __('Manage Plugins'); 321 require_once(' admin-header.php');321 require_once('./admin-header.php'); 322 322 323 323 $invalid = validate_active_plugins(); … … 777 777 778 778 <?php 779 include(' admin-footer.php');780 ?> 779 include('./admin-footer.php'); 780 ?> -
trunk/wp-admin/post.php
r14107 r14139 10 10 11 11 /** WordPress Administration Bootstrap */ 12 require_once(' admin.php');12 require_once('./admin.php'); 13 13 14 14 $parent_file = 'edit.php'; … … 186 186 } 187 187 188 include(' edit-form-advanced.php');188 include('./edit-form-advanced.php'); 189 189 190 190 break; … … 275 275 break; 276 276 } // end switch 277 include(' admin-footer.php');277 include('./admin-footer.php'); 278 278 ?> -
trunk/wp-admin/press-this.php
r14069 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 12 12 -
trunk/wp-admin/profile.php
r8645 r14139 16 16 17 17 /** Load User Editing Page */ 18 require_once(' user-edit.php');18 require_once('./user-edit.php'); 19 19 ?> -
trunk/wp-admin/revision.php
r13209 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 wp_enqueue_script('list-revisions'); … … 50 50 if ( $left_revision->ID == $right_revision->ID ) { 51 51 $redirect = get_edit_post_link( $left_revision->ID ); 52 include( ' js/revisions-js.php' );52 include( './js/revisions-js.php' ); 53 53 break; 54 54 } … … 143 143 $parent_file = $submenu_file = 'edit.php'; 144 144 145 require_once( ' admin-header.php' );145 require_once( './admin-header.php' ); 146 146 147 147 ?> … … 219 219 <?php 220 220 221 require_once( ' admin-footer.php' );221 require_once( './admin-footer.php' ); -
trunk/wp-admin/sidebar.php
r11204 r14139 14 14 15 15 /** WordPress Administration Bootstrap */ 16 require_once(' admin.php');16 require_once('./admin.php'); 17 17 18 18 if ( ! current_user_can('edit_posts') ) -
trunk/wp-admin/theme-editor.php
r13191 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !current_user_can('edit_themes') ) … … 80 80 default: 81 81 82 require_once(' admin-header.php');82 require_once('./admin-header.php'); 83 83 84 84 update_recently_edited($file); … … 241 241 } 242 242 243 include(" admin-footer.php");243 include("./admin-footer.php"); -
trunk/wp-admin/theme-install.php
r13533 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can('install_themes') ) … … 56 56 add_contextual_help($current_screen, plugins_search_help()); 57 57 58 include(' admin-header.php');58 include('./admin-header.php'); 59 59 ?> 60 60 <div class="wrap"> … … 77 77 </div> 78 78 <?php 79 include(' admin-footer.php');79 include('./admin-footer.php'); -
trunk/wp-admin/themes.php
r14046 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !current_user_can('switch_themes') ) … … 43 43 wp_enqueue_script( 'theme-preview' ); 44 44 45 require_once(' admin-header.php');45 require_once('./admin-header.php'); 46 46 if ( is_multisite() && current_user_can('edit_themes') ) { 47 47 ?><div id="message0" class="updated"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php … … 314 314 </div> 315 315 316 <?php require(' admin-footer.php'); ?>316 <?php require('./admin-footer.php'); ?> -
trunk/wp-admin/tools.php
r13981 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 $title = __('Tools'); 13 13 14 require_once(' admin-header.php');14 require_once('./admin-header.php'); 15 15 16 16 ?> … … 46 46 </div> 47 47 <?php 48 include(' admin-footer.php');48 include('./admin-footer.php'); 49 49 ?> -
trunk/wp-admin/update-core.php
r14070 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( ! current_user_can('update_plugins') ) … … 377 377 if ( 'upgrade-core' == $action ) { 378 378 wp_version_check(); 379 require_once(' admin-header.php');379 require_once('./admin-header.php'); 380 380 core_upgrade_preamble(); 381 381 } elseif ( 'do-core-upgrade' == $action || 'do-core-reinstall' == $action ) { … … 389 389 do_undismiss_core_update(); 390 390 391 require_once(' admin-header.php');391 require_once('./admin-header.php'); 392 392 if ( 'do-core-reinstall' == $action ) 393 393 $reinstall = true; … … 415 415 $title = __('Update Plugins'); 416 416 417 require_once(' admin-header.php');417 require_once('./admin-header.php'); 418 418 echo '<div class="wrap">'; 419 419 screen_icon('plugins'); … … 438 438 $title = __('Update Themes'); 439 439 440 require_once(' admin-header.php');440 require_once('./admin-header.php'); 441 441 echo '<div class="wrap">'; 442 442 screen_icon('themes'); … … 446 446 } 447 447 448 include(' admin-footer.php');448 include('./admin-footer.php'); -
trunk/wp-admin/update.php
r14017 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; … … 53 53 $parent_file = 'plugins.php'; 54 54 $submenu_file = 'plugins.php'; 55 require_once(' admin-header.php');55 require_once('./admin-header.php'); 56 56 57 57 $nonce = 'upgrade-plugin_' . $plugin; … … 61 61 $upgrader->upgrade($plugin); 62 62 63 include(' admin-footer.php');63 include('./admin-footer.php'); 64 64 65 65 } elseif ('activate-plugin' == $action ) { … … 106 106 $parent_file = 'plugins.php'; 107 107 $submenu_file = 'plugin-install.php'; 108 require_once(' admin-header.php');108 require_once('./admin-header.php'); 109 109 110 110 $title = sprintf( __('Installing Plugin: %s'), $api->name . ' ' . $api->version ); … … 116 116 $upgrader->install($api->download_link); 117 117 118 include(' admin-footer.php');118 include('./admin-footer.php'); 119 119 120 120 } elseif ( 'upload-plugin' == $action ) { … … 130 130 $parent_file = 'plugins.php'; 131 131 $submenu_file = 'plugin-install.php'; 132 require_once(' admin-header.php');132 require_once('./admin-header.php'); 133 133 134 134 $title = sprintf( __('Installing Plugin from uploaded file: %s'), basename( $file_upload->filename ) ); … … 140 140 $upgrader->install( $file_upload->package ); 141 141 142 include(' admin-footer.php');142 include('./admin-footer.php'); 143 143 144 144 } elseif ( 'upgrade-theme' == $action ) { … … 154 154 $parent_file = 'themes.php'; 155 155 $submenu_file = 'themes.php'; 156 require_once(' admin-header.php');156 require_once('./admin-header.php'); 157 157 158 158 $nonce = 'upgrade-theme_' . $theme; … … 162 162 $upgrader->upgrade($theme); 163 163 164 include(' admin-footer.php');164 include('./admin-footer.php'); 165 165 } elseif ( 'update-selected-themes' == $action ) { 166 166 if ( ! current_user_can( 'update_themes' ) ) … … 207 207 $parent_file = 'themes.php'; 208 208 $submenu_file = 'themes.php'; 209 require_once(' admin-header.php');209 require_once('./admin-header.php'); 210 210 211 211 $title = sprintf( __('Installing Theme: %s'), $api->name . ' ' . $api->version ); … … 217 217 $upgrader->install($api->download_link); 218 218 219 include(' admin-footer.php');219 include('./admin-footer.php'); 220 220 221 221 } elseif ( 'upload-theme' == $action ) { … … 233 233 add_thickbox(); 234 234 wp_enqueue_script('theme-preview'); 235 require_once(' admin-header.php');235 require_once('./admin-header.php'); 236 236 237 237 $title = sprintf( __('Installing Theme from uploaded file: %s'), basename( $file_upload->filename ) ); … … 243 243 $upgrader->install( $file_upload->package ); 244 244 245 include(' admin-footer.php');245 include('./admin-footer.php'); 246 246 247 247 } else { -
trunk/wp-admin/upload.php
r13978 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 wp_enqueue_script( 'wp-ajax-response' ); 12 12 wp_enqueue_script( 'jquery-ui-draggable' ); … … 162 162 163 163 wp_enqueue_script('media'); 164 require_once(' admin-header.php');164 require_once('./admin-header.php'); 165 165 ?> 166 166 … … 449 449 450 450 } else { 451 include( ' edit-attachment-rows.php' );451 include( './edit-attachment-rows.php' ); 452 452 } ?> 453 453 … … 493 493 494 494 <?php 495 include(' admin-footer.php');495 include('./admin-footer.php'); -
trunk/wp-admin/user-edit.php
r14106 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 wp_reset_vars(array('action', 'redirect', 'profile', 'user_id', 'wp_http_referer')); … … 375 375 } 376 376 377 include(' admin-footer.php');378 ?> 377 include('./admin-footer.php'); 378 ?> -
trunk/wp-admin/user-new.php
r14110 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 if ( !current_user_can('create_users') ) … … 256 256 </div> 257 257 <?php 258 include(' admin-footer.php');259 ?> 258 include('./admin-footer.php'); 259 ?> -
trunk/wp-admin/users.php
r13961 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once(' admin.php');10 require_once('./admin.php'); 11 11 12 12 /** WordPress Registration API */ … … 207 207 } 208 208 209 include(' admin-header.php');209 include('./admin-header.php'); 210 210 211 211 $usersearch = isset($_GET['usersearch']) ? $_GET['usersearch'] : null; … … 422 422 } // end of the $doaction switch 423 423 424 include(' admin-footer.php');424 include('./admin-footer.php'); 425 425 ?> -
trunk/wp-admin/widgets.php
r13525 r14139 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( ' admin.php' );10 require_once( './admin.php' ); 11 11 12 12 /** WordPress Administration Widgets API */ … … 129 129 if ( count($wp_registered_sidebars) == 1 ) { 130 130 // If only "wp_inactive_widgets" is defined the theme has no sidebars, die. 131 require_once( ' admin-header.php' );131 require_once( './admin-header.php' ); 132 132 ?> 133 133 … … 142 142 143 143 <?php 144 require_once( ' admin-footer.php' );144 require_once( './admin-footer.php' ); 145 145 exit; 146 146 } … … 253 253 $key = isset($_GET['key']) ? (int) $_GET['key'] : 0; 254 254 255 require_once( ' admin-header.php' ); ?>255 require_once( './admin-header.php' ); ?> 256 256 <div class="wrap"> 257 257 <?php screen_icon(); ?> … … 318 318 </div> 319 319 <?php 320 require_once( ' admin-footer.php' );320 require_once( './admin-footer.php' ); 321 321 exit; 322 322 } … … 331 331 ); 332 332 333 require_once( ' admin-header.php' ); ?>333 require_once( './admin-header.php' ); ?> 334 334 335 335 <div class="wrap"> … … 404 404 <?php 405 405 do_action( 'sidebar_admin_page' ); 406 require_once( ' admin-footer.php' );406 require_once( './admin-footer.php' ); -
trunk/wp-includes/compat.php
r13863 r14139 130 130 131 131 if ( !is_a($wp_json, 'Services_JSON') ) { 132 require_once( ' class-json.php' );132 require_once( './class-json.php' ); 133 133 $wp_json = new Services_JSON(); 134 134 } … … 143 143 144 144 if ( !is_a($wp_json, 'Services_JSON') ) { 145 require_once( ' class-json.php' );145 require_once( './class-json.php' ); 146 146 $wp_json = new Services_JSON(); 147 147 } -
trunk/wp-includes/media.php
r14105 r14139 1333 1333 */ 1334 1334 function wp_oembed_get( $url, $args = '' ) { 1335 require_once( ' class-oembed.php' );1335 require_once( './class-oembed.php' ); 1336 1336 $oembed = _wp_oembed_get_object(); 1337 1337 return $oembed->get_html( $url, $args ); … … 1351 1351 */ 1352 1352 function wp_oembed_add_provider( $format, $provider, $regex = false ) { 1353 require_once( ' class-oembed.php' );1353 require_once( './class-oembed.php' ); 1354 1354 $oembed = _wp_oembed_get_object(); 1355 1355 $oembed->providers[$format] = array( $provider, $regex ); -
trunk/wp-signup.php
r14070 r14139 6 6 add_action( 'wp_head', 'signuppageheaders' ) ; 7 7 8 require( ' wp-blog-header.php' );8 require( './wp-blog-header.php' ); 9 9 require_once( ABSPATH . WPINC . '/registration.php' ); 10 10
Note: See TracChangeset
for help on using the changeset viewer.