Changeset 25616
- Timestamp:
- 09/25/2013 12:17:40 AM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 105 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r25001 r25616 15 15 16 16 /** Loads the WordPress Environment and Template */ 17 require( './wp-blog-header.php');17 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); -
trunk/src/wp-activate.php
r25537 r25616 12 12 require( dirname(__FILE__) . '/wp-load.php' ); 13 13 14 require( './wp-blog-header.php' );14 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); 15 15 16 16 if ( !is_multisite() ) { -
trunk/src/wp-admin/about.php
r24952 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $title = __( 'About' ); -
trunk/src/wp-admin/admin-header.php
r25499 r25616 9 9 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 10 10 if ( ! defined( 'WP_ADMIN' ) ) 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 // In case admin-header.php is included in a function. -
trunk/src/wp-admin/admin-post.php
r25589 r25616 15 15 require_once(ABSPATH . 'wp-load.php'); 16 16 else 17 require_once( '../wp-load.php');17 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 18 18 19 19 /** Allow for cross-domain requests (from the frontend). */ -
trunk/src/wp-admin/async-upload.php
r24593 r25616 12 12 require_once(ABSPATH . 'wp-load.php'); 13 13 else 14 require_once( '../wp-load.php');14 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 15 15 16 16 if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) { … … 25 25 } 26 26 27 require_once( './admin.php');27 require_once( ABSPATH . 'wp-admin/admin.php' ); 28 28 29 29 if ( !current_user_can('upload_files') ) -
trunk/src/wp-admin/comment.php
r25282 r25616 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/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( ABSPATH . 'wp-admin/admin-footer.php' ); 40 40 die; 41 41 } … … 61 61 62 62 wp_enqueue_script('comment'); 63 require_once( './admin-header.php');63 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 64 64 65 65 $comment_id = absint( $_GET['c'] ); … … 76 76 $comment = get_comment_to_edit( $comment_id ); 77 77 78 include( './edit-form-comment.php');78 include( ABSPATH . 'wp-admin/edit-form-comment.php' ); 79 79 80 80 break; … … 105 105 } 106 106 107 require_once( './admin-header.php');107 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 108 108 109 109 $formaction = $action . 'comment'; … … 301 301 } // end switch 302 302 303 include( './admin-footer.php');303 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/credits.php
r25491 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $title = __( 'Credits' ); -
trunk/src/wp-admin/customize.php
r24734 r25616 10 10 define( 'IFRAME_REQUEST', true ); 11 11 12 require_once( './admin.php' );12 require_once( dirname( __FILE__ ) . '/admin.php' ); 13 13 if ( ! current_user_can( 'edit_theme_options' ) ) 14 14 wp_die( __( 'Cheatin’ uh?' ) ); -
trunk/src/wp-admin/edit-comments.php
r25439 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 if ( !current_user_can('edit_posts') ) 12 12 wp_die(__('Cheatin’ uh?')); … … 137 137 ); 138 138 139 require_once( './admin-header.php');139 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 140 140 ?> 141 141 … … 253 253 wp_comment_reply('-1', true, 'detail'); 254 254 wp_comment_trashnotice(); 255 include( './admin-footer.php'); ?>255 include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/edit-form-advanced.php
r25572 r25616 108 108 109 109 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). 110 require_once( './includes/meta-boxes.php');110 require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); 111 111 112 112 … … 310 310 } 311 311 312 require_once( './admin-header.php');312 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 313 313 ?> 314 314 -
trunk/src/wp-admin/edit-link-form.php
r23925 r25616 23 23 } 24 24 25 require_once( './includes/meta-boxes.php');25 require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); 26 26 27 27 add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', null, 'side', 'core'); … … 55 55 ); 56 56 57 require_once ('admin-header.php');57 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 58 58 ?> 59 59 -
trunk/src/wp-admin/edit-tags.php
r25158 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! $taxnow ) … … 127 127 if ( ! $tag ) 128 128 wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); 129 require_once ( 'admin-header.php' );130 include( './edit-tag-form.php' );129 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 130 include( ABSPATH . 'wp-admin/edit-tag-form.php' ); 131 131 132 132 break; … … 248 248 } 249 249 250 require_once ('admin-header.php');250 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 251 251 252 252 if ( !current_user_can($tax->cap->edit_terms) ) … … 463 463 } 464 464 465 include( './admin-footer.php');465 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/edit.php
r25577 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! $typenow ) … … 263 263 $bulk_counts = array_filter( $bulk_counts ); 264 264 265 require_once( './admin-header.php');265 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 266 266 ?> 267 267 <div class="wrap"> … … 323 323 324 324 <?php 325 include( './admin-footer.php');325 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/export.php
r25490 r25616 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once ('admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !current_user_can('export') ) … … 14 14 15 15 /** Load WordPress export API */ 16 require_once( './includes/export.php');16 require_once( ABSPATH . 'wp-admin/includes/export.php' ); 17 17 $title = __('Export'); 18 18 … … 108 108 } 109 109 110 require_once ('admin-header.php');110 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 111 111 112 112 /** … … 242 242 </div> 243 243 244 <?php include( 'admin-footer.php'); ?>244 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/freedoms.php
r24913 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $title = __( 'Freedoms' ); -
trunk/src/wp-admin/import.php
r22632 r25616 10 10 11 11 /** Load WordPress Bootstrap */ 12 require_once ('admin.php');12 require_once( dirname( __FILE__ ) . '/admin.php' ); 13 13 14 14 if ( !current_user_can('import') ) … … 48 48 wp_enqueue_script( 'plugin-install' ); 49 49 50 require_once ('admin-header.php');50 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 51 51 $parent_file = 'tools.php'; 52 52 ?> … … 131 131 <?php 132 132 133 include ('admin-footer.php');133 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/index.php
r25273 r25616 8 8 9 9 /** Load WordPress Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 /** Load WordPress dashboard API */ -
trunk/src/wp-admin/install.php
r25115 r25616 37 37 38 38 /** Load WordPress Administration Upgrade API */ 39 require_once( dirname( __FILE__ ) . '/includes/upgrade.php' );39 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 40 40 41 41 /** Load wpdb */ 42 require_once( dirname(dirname(__FILE__)) . '/wp-includes/wp-db.php');42 require_once( ABSPATH . 'wp-includes/wp-db.php' ); 43 43 44 44 $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0; -
trunk/src/wp-admin/link-add.php
r23445 r25616 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/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( ABSPATH . 'wp-admin/edit-link-form.php' ); 28 28 29 require( './admin-footer.php');29 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/link-manager.php
r23567 r25616 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once ('admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 if ( ! current_user_can( 'manage_links' ) ) 12 12 wp_die( __( 'You do not have sufficient permissions to edit the links for this site.' ) ); … … 62 62 ); 63 63 64 include_once ('./admin-header.php');64 include_once( ABSPATH . 'wp-admin/admin-header.php' ); 65 65 66 66 if ( ! current_user_can('manage_links') ) … … 98 98 99 99 <?php 100 include( './admin-footer.php');100 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/link.php
r23445 r25616 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once ('admin.php');13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 15 wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) ); … … 112 112 wp_die(__('Link not found.')); 113 113 114 include ('edit-link-form.php');115 include ('admin-footer.php');114 include( ABSPATH . 'wp-admin/edit-link-form.php' ); 115 include( ABSPATH . 'wp-admin/admin-footer.php' ); 116 116 break; 117 117 -
trunk/src/wp-admin/maint/repair.php
r23413 r25616 8 8 define('WP_REPAIRING', true); 9 9 10 require_once( '../../wp-load.php');10 require_once( dirname( dirname( dirname( __FILE__ ) ) ) . '/wp-load.php' ); 11 11 12 12 header( 'Content-Type: text/html; charset=utf-8' ); -
trunk/src/wp-admin/media-new.php
r23739 r25616 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once( './admin.php');13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 15 if (!current_user_can('upload_files')) -
trunk/src/wp-admin/media-upload.php
r22751 r25616 14 14 15 15 /** Load WordPress Administration Bootstrap */ 16 require_once( './admin.php');16 require_once( dirname( __FILE__ ) . '/admin.php' ); 17 17 18 18 if (!current_user_can('upload_files')) -
trunk/src/wp-admin/media.php
r23554 r25616 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $parent_file = 'upload.php'; … … 85 85 ); 86 86 87 require( './admin-header.php' );87 require( ABSPATH . 'wp-admin/admin-header.php' ); 88 88 89 89 $parent_file = 'upload.php'; … … 137 137 <?php 138 138 139 require( './admin-footer.php' );139 require( ABSPATH . 'wp-admin/admin-footer.php' ); 140 140 141 141 exit; -
trunk/src/wp-admin/moderation.php
r19712 r25616 8 8 * @subpackage Administration 9 9 */ 10 require_once( '../wp-load.php');10 require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 11 11 wp_redirect( admin_url('edit-comments.php?comment_status=moderated') ); 12 12 exit; -
trunk/src/wp-admin/ms-admin.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url() ); -
trunk/src/wp-admin/ms-delete-site.php
r25424 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !is_multisite() ) … … 30 30 $title = __( 'Delete Site' ); 31 31 $parent_file = 'tools.php'; 32 require_once( './admin-header.php' );32 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 33 33 34 34 echo '<div class="wrap">'; … … 90 90 echo '</div>'; 91 91 92 include( './admin-footer.php' );92 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/ms-edit.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url() ); -
trunk/src/wp-admin/ms-options.php
r15481 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url('settings.php') ); -
trunk/src/wp-admin/ms-sites.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url('sites.php') ); -
trunk/src/wp-admin/ms-themes.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url('themes.php') ); -
trunk/src/wp-admin/ms-upgrade-network.php
r19712 r25616 8 8 */ 9 9 10 require_once( 'admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url('upgrade.php') ); -
trunk/src/wp-admin/ms-users.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_redirect( network_admin_url('users.php') ); -
trunk/src/wp-admin/my-sites.php
r19712 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !is_multisite() ) … … 50 50 ); 51 51 52 require_once( './admin-header.php' );52 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 53 53 54 54 if ( $updated ) { ?> … … 118 118 </div> 119 119 <?php 120 include( './admin-footer.php' );120 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/nav-menus.php
r25218 r25616 11 11 12 12 /** Load WordPress Administration Bootstrap */ 13 require_once( './admin.php' );13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 15 // Load all the nav menu interface functions … … 531 531 532 532 // Get the admin header 533 require_once( './admin-header.php' );533 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 534 534 ?> 535 535 <div class="wrap"> … … 763 763 <?php endif; ?> 764 764 </div><!-- /.wrap--> 765 <?php include( './admin-footer.php' ); ?>765 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/network.php
r24648 r25616 14 14 15 15 /** WordPress Administration Bootstrap */ 16 require_once( './admin.php' );16 require_once( dirname( __FILE__ ) . '/admin.php' ); 17 17 18 18 if ( ! is_super_admin() ) -
trunk/src/wp-admin/network/about.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../about.php' );16 require( ABSPATH . 'wp-admin/about.php' ); -
trunk/src/wp-admin/network/credits.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../credits.php' );16 require( ABSPATH . 'wp-admin/credits.php' ); -
trunk/src/wp-admin/network/edit.php
r19712 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) -
trunk/src/wp-admin/network/freedoms.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../freedoms.php' );16 require( ABSPATH . 'wp-admin/freedoms.php' ); -
trunk/src/wp-admin/network/index.php
r25457 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 /** Load WordPress dashboard API */ … … 63 63 add_screen_option('layout_columns', array('max' => 4, 'default' => 2) ); 64 64 65 require_once( '../admin-header.php' );65 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 66 66 67 67 ?> … … 80 80 </div><!-- wrap --> 81 81 82 <?php include( '../admin-footer.php' ); ?>82 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/network/plugin-editor.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../plugin-editor.php' );16 require( ABSPATH . 'wp-admin/plugin-editor.php' ); -
trunk/src/wp-admin/network/plugin-install.php
r16658 r25616 12 12 13 13 /** Load WordPress Administration Bootstrap */ 14 require_once( './admin.php' );14 require_once( dirname( __FILE__ ) . '/admin.php' ); 15 15 16 16 if ( ! is_multisite() ) 17 17 wp_die( __( 'Multisite support is not enabled.' ) ); 18 18 19 require( '../plugin-install.php' );19 require( ABSPATH . 'wp-admin/plugin-install.php' ); -
trunk/src/wp-admin/network/plugins.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../plugins.php' );16 require( ABSPATH . 'wp-admin/plugins.php' ); -
trunk/src/wp-admin/network/profile.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../profile.php' );16 require( ABSPATH . 'wp-admin/profile.php' ); -
trunk/src/wp-admin/network/settings.php
r24993 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 72 72 } 73 73 74 include( '../admin-header.php' );74 include( ABSPATH . 'wp-admin/admin-header.php' ); 75 75 76 76 if ( isset( $_GET['updated'] ) ) { … … 301 301 </div> 302 302 303 <?php include( '../admin-footer.php' ); ?>303 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/network/setup.php
r17340 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../network.php' );16 require( ABSPATH . 'wp-admin/network.php' ); -
trunk/src/wp-admin/network/site-info.php
r25261 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 92 92 $submenu_file = 'sites.php'; 93 93 94 require( '../admin-header.php');94 require( ABSPATH . 'wp-admin/admin-header.php' ); 95 95 96 96 ?> … … 178 178 </div> 179 179 <?php 180 require( '../admin-footer.php');180 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/network/site-new.php
r23567 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 108 108 $parent_file = 'sites.php'; 109 109 110 require( '../admin-header.php');110 require( ABSPATH . 'wp-admin/admin-header.php' ); 111 111 112 112 ?> … … 151 151 </div> 152 152 <?php 153 require( '../admin-footer.php');153 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/network/site-settings.php
r24120 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 78 78 $submenu_file = 'sites.php'; 79 79 80 require( '../admin-header.php');80 require( ABSPATH . 'wp-admin/admin-header.php' ); 81 81 82 82 ?> … … 153 153 </div> 154 154 <?php 155 require( '../admin-footer.php');155 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/network/site-themes.php
r21903 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 133 133 $submenu_file = 'sites.php'; 134 134 135 require( '../admin-header.php'); ?>135 require( ABSPATH . 'wp-admin/admin-header.php' ); ?> 136 136 137 137 <div class="wrap"> -
trunk/src/wp-admin/network/site-users.php
r24509 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 168 168 wp_enqueue_script( 'user-suggest' ); 169 169 170 require( '../admin-header.php'); ?>170 require( ABSPATH . 'wp-admin/admin-header.php' ); ?> 171 171 172 172 <script type='text/javascript'> … … 308 308 </div> 309 309 <?php 310 require( '../admin-footer.php');310 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/network/sites.php
r23567 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 226 226 $wp_list_table->prepare_items(); 227 227 228 require_once( '../admin-header.php' );228 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 229 229 ?> 230 230 … … 255 255 <?php 256 256 257 require_once( '../admin-footer.php' ); ?>257 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/network/theme-editor.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../theme-editor.php' );16 require( ABSPATH . 'wp-admin/theme-editor.php' ); -
trunk/src/wp-admin/network/theme-install.php
r17340 r25616 12 12 13 13 /** Load WordPress Administration Bootstrap */ 14 require_once( './admin.php' );14 require_once( dirname( __FILE__ ) . '/admin.php' ); 15 15 16 16 if ( ! is_multisite() ) 17 17 wp_die( __( 'Multisite support is not enabled.' ) ); 18 18 19 require( '../theme-install.php' );19 require( ABSPATH . 'wp-admin/theme-install.php' ); -
trunk/src/wp-admin/network/themes.php
r24558 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) -
trunk/src/wp-admin/network/update-core.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../update-core.php' );16 require( ABSPATH . 'wp-admin/update-core.php' ); -
trunk/src/wp-admin/network/update.php
r16860 r25616 12 12 13 13 /** Load WordPress Administration Bootstrap */ 14 require_once( './admin.php' );14 require_once( dirname( __FILE__ ) . '/admin.php' ); 15 15 16 16 if ( ! is_multisite() ) 17 17 wp_die( __( 'Multisite support is not enabled.' ) ); 18 18 19 require( '../update.php' );19 require( ABSPATH . 'wp-admin/update.php' ); -
trunk/src/wp-admin/network/upgrade.php
r25237 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 34 34 ); 35 35 36 require_once( '../admin-header.php');36 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 37 37 38 38 if ( ! current_user_can( 'manage_network' ) ) … … 100 100 </div> 101 101 102 <?php include( '../admin-footer.php'); ?>102 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/network/user-edit.php
r16272 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) 14 14 wp_die( __( 'Multisite support is not enabled.' ) ); 15 15 16 require( '../user-edit.php' );16 require( ABSPATH . 'wp-admin/user-edit.php' ); -
trunk/src/wp-admin/network/user-new.php
r24383 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 67 67 $parent_file = 'users.php'; 68 68 69 require( '../admin-header.php'); ?>69 require( ABSPATH . 'wp-admin/admin-header.php' ); ?> 70 70 71 71 <div class="wrap"> … … 105 105 </div> 106 106 <?php 107 require( '../admin-footer.php');107 require( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/network/users.php
r21501 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 13 if ( ! is_multisite() ) … … 102 102 $title = __( 'Users' ); 103 103 $parent_file = 'users.php'; 104 require_once( '../admin-header.php' );104 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 105 105 echo '<div class="wrap">'; 106 106 confirm_delete_users( $_POST['allusers'] ); 107 107 echo '</div>'; 108 require_once( '../admin-footer.php' );108 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); 109 109 } else { 110 110 wp_redirect( network_admin_url( 'users.php' ) ); … … 131 131 $title = __( 'Users' ); 132 132 $parent_file = 'users.php'; 133 require_once( '../admin-header.php' );133 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 134 134 echo '<div class="wrap">'; 135 135 confirm_delete_users( $_POST['allusers'] ); 136 136 echo '</div>'; 137 require_once( '../admin-footer.php' );137 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); 138 138 exit(); 139 139 break; … … 246 246 ); 247 247 248 require_once( '../admin-header.php' );248 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 249 249 250 250 if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( $_REQUEST['action'] ) ) { … … 297 297 </div> 298 298 299 <?php require_once( '../admin-footer.php' ); ?>299 <?php require_once( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-discussion.php
r25295 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 29 29 ); 30 30 31 include( './admin-header.php');31 include( ABSPATH . 'wp-admin/admin-header.php' ); 32 32 ?> 33 33 … … 250 250 </div> 251 251 252 <?php include( './admin-footer.php'); ?>252 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-general.php
r22299 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 81 81 ); 82 82 83 include( './admin-header.php');83 include( ABSPATH . 'wp-admin/admin-header.php' ); 84 84 ?> 85 85 … … 325 325 </div> 326 326 327 <?php include( './admin-footer.php')?>327 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-media.php
r25552 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 36 36 ); 37 37 38 include( './admin-header.php');38 include( ABSPATH . 'wp-admin/admin-header.php' ); 39 39 40 40 ?> … … 135 135 </div> 136 136 137 <?php include( './admin-footer.php'); ?>137 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-permalink.php
r25456 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 287 287 </div> 288 288 289 <?php require( './admin-footer.php'); ?>289 <?php require( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-reading.php
r22653 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 73 73 ); 74 74 75 include( './admin-header.php' );75 include( ABSPATH . 'wp-admin/admin-header.php' ); 76 76 ?> 77 77 … … 168 168 </form> 169 169 </div> 170 <?php include( './admin-footer.php' ); ?>170 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options-writing.php
r25412 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'manage_options' ) ) … … 59 59 ); 60 60 61 include( './admin-header.php');61 include( ABSPATH . 'wp-admin/admin-header.php' ); 62 62 ?> 63 63 … … 193 193 </div> 194 194 195 <?php include( './admin-footer.php')?>195 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/options.php
r25372 r25616 17 17 18 18 /** WordPress Administration Bootstrap */ 19 require_once( './admin.php');19 require_once( dirname( __FILE__ ) . '/admin.php' ); 20 20 21 21 $title = __('Settings'); … … 198 198 } 199 199 200 include( './admin-header.php'); ?>200 include( ABSPATH . 'wp-admin/admin-header.php' ); ?> 201 201 202 202 <div class="wrap"> … … 254 254 255 255 <?php 256 include( './admin-footer.php');256 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/plugin-editor.php
r25534 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( is_multisite() && ! is_network_admin() ) { -
trunk/src/wp-admin/plugin-install.php
r25512 r25616 13 13 * WordPress Administration Bootstrap. 14 14 */ 15 require_once( './admin.php');15 require_once( dirname( __FILE__ ) . '/admin.php' ); 16 16 17 17 if ( ! current_user_can('install_plugins') ) -
trunk/src/wp-admin/plugins.php
r24320 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can('activate_plugins') ) -
trunk/src/wp-admin/post-new.php
r25453 r25616 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !isset($_GET['post_type']) ) … … 63 63 $post = get_default_post_to_edit( $post_type, true ); 64 64 $post_ID = $post->ID; 65 include( 'edit-form-advanced.php');66 include( './admin-footer.php');65 include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); 66 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/post.php
r24593 r25616 10 10 11 11 /** WordPress Administration Bootstrap */ 12 require_once( './admin.php');12 require_once( dirname( __FILE__ ) . '/admin.php' ); 13 13 14 14 $parent_file = 'edit.php'; … … 196 196 } 197 197 198 include( './edit-form-advanced.php');198 include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); 199 199 200 200 break; … … 310 310 break; 311 311 } // end switch 312 include( './admin-footer.php');312 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/press-this.php
r25131 r25616 10 10 11 11 /** WordPress Administration Bootstrap */ 12 require_once( './admin.php');12 require_once( dirname( __FILE__ ) . '/admin.php' ); 13 13 14 14 header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); -
trunk/src/wp-admin/profile.php
r19712 r25616 16 16 17 17 /** Load User Editing Page */ 18 require_once( './user-edit.php');18 require_once( dirname( __FILE__ ) . '/user-edit.php' ); -
trunk/src/wp-admin/revision.php
r25419 r25616 17 17 18 18 /** WordPress Administration Bootstrap */ 19 require_once( './admin.php');19 require_once( dirname( __FILE__ ) . '/admin.php' ); 20 20 21 21 require ABSPATH . 'wp-admin/includes/revision.php'; … … 120 120 get_current_screen()->set_help_sidebar( $revisions_sidebar ); 121 121 122 require_once( './admin-header.php' );122 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 123 123 124 124 ?> … … 217 217 218 218 <?php 219 require_once( './admin-footer.php' );219 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/theme-editor.php
r25099 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( is_multisite() && ! is_network_admin() ) { -
trunk/src/wp-admin/theme-install.php
r24320 r25616 11 11 12 12 /** WordPress Administration Bootstrap */ 13 require_once( './admin.php');13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 15 if ( ! current_user_can('install_themes') ) -
trunk/src/wp-admin/themes.php
r24320 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !current_user_can('switch_themes') && !current_user_can('edit_theme_options') ) … … 92 92 wp_enqueue_script( 'customize-loader' ); 93 93 94 require_once( './admin-header.php');94 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 95 95 ?> 96 96 … … 214 214 if ( ! current_user_can( 'switch_themes' ) ) { 215 215 echo '</div>'; 216 require( './admin-footer.php' );216 require( ABSPATH . 'wp-admin/admin-footer.php' ); 217 217 exit; 218 218 } … … 309 309 </div> 310 310 311 <?php require( './admin-footer.php'); ?>311 <?php require( ABSPATH . 'wp-admin/admin-footer.php' ); ?> -
trunk/src/wp-admin/tools.php
r23314 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 $title = __('Tools'); … … 30 30 ); 31 31 32 require_once( './admin-header.php');32 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 33 33 34 34 ?> … … 69 69 </div> 70 70 <?php 71 include( './admin-footer.php');71 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/update-core.php
r25307 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_enqueue_style( 'plugin-install' ); -
trunk/src/wp-admin/update.php
r24474 r25616 11 11 12 12 /** WordPress Administration Bootstrap */ 13 require_once( './admin.php');13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 15 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; -
trunk/src/wp-admin/upgrade.php
r23570 r25616 16 16 17 17 /** Load WordPress Bootstrap */ 18 require( '../wp-load.php' );18 require( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); 19 19 20 20 nocache_headers(); -
trunk/src/wp-admin/upload.php
r24207 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( !current_user_can('upload_files') ) … … 174 174 ); 175 175 176 require_once( './admin-header.php');176 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 177 177 ?> 178 178 … … 248 248 249 249 <?php 250 include( './admin-footer.php');250 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/user-edit.php
r25606 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 wp_reset_vars( array( 'action', 'user_id', 'wp_http_referer' ) ); -
trunk/src/wp-admin/user-new.php
r25470 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php');10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( is_multisite() ) { … … 202 202 } 203 203 204 require_once( 'admin-header.php' );204 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 205 205 206 206 if ( isset($_GET['update']) ) { … … 419 419 </div> 420 420 <?php 421 include( './admin-footer.php');421 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/user/about.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 require( '../about.php' );13 require( ABSPATH . 'wp-admin/about.php' ); -
trunk/src/wp-admin/user/credits.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 require( '../credits.php' );13 require( ABSPATH . 'wp-admin/credits.php' ); -
trunk/src/wp-admin/user/freedoms.php
r22798 r25616 9 9 10 10 /** Load WordPress Administration Bootstrap */ 11 require_once( './admin.php' );11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 require( '../freedoms.php' );13 require( ABSPATH . 'wp-admin/freedoms.php' ); -
trunk/src/wp-admin/user/index.php
r17748 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 require( '../index.php' );12 require( ABSPATH . 'wp-admin/index.php' ); -
trunk/src/wp-admin/user/profile.php
r17748 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 require( '../profile.php' );12 require( ABSPATH . 'wp-admin/profile.php' ); -
trunk/src/wp-admin/user/user-edit.php
r15879 r25616 8 8 */ 9 9 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 require( '../user-edit.php' );12 require( ABSPATH . 'wp-admin/user-edit.php' ); -
trunk/src/wp-admin/users.php
r23591 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 if ( ! current_user_can( 'list_users' ) ) … … 212 212 add_action( 'admin_head', 'delete_users_add_js' ); 213 213 214 include ('admin-header.php');214 include( ABSPATH . 'wp-admin/admin-header.php' ); 215 215 ?> 216 216 <form action="" method="post" name="updateusers" id="updateusers"> … … 317 317 $userids = $_REQUEST['users']; 318 318 319 include ('admin-header.php');319 include( ABSPATH . 'wp-admin/admin-header.php' ); 320 320 ?> 321 321 <form action="" method="post" name="updateusers" id="updateusers"> … … 369 369 } 370 370 371 include( './admin-header.php');371 include( ABSPATH . 'wp-admin/admin-header.php' ); 372 372 373 373 $messages = array(); … … 456 456 } // end of the $doaction switch 457 457 458 include( './admin-footer.php');458 include( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-admin/widgets.php
r25226 r25616 8 8 9 9 /** WordPress Administration Bootstrap */ 10 require_once( './admin.php' );10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 12 /** WordPress Administration Widgets API */ … … 223 223 $key = isset($_GET['key']) ? (int) $_GET['key'] : 0; 224 224 225 require_once( './admin-header.php' ); ?>225 require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> 226 226 <div class="wrap"> 227 227 <?php screen_icon(); ?> … … 290 290 </div> 291 291 <?php 292 require_once( './admin-footer.php' );292 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); 293 293 exit; 294 294 } … … 303 303 ); 304 304 305 require_once( './admin-header.php' ); ?>305 require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> 306 306 307 307 <div class="wrap"> … … 398 398 <?php 399 399 do_action( 'sidebar_admin_page' ); 400 require_once( './admin-footer.php' );400 require_once( ABSPATH . 'wp-admin/admin-footer.php' ); -
trunk/src/wp-cron.php
r25290 r25616 24 24 if ( !defined('ABSPATH') ) { 25 25 /** Set up WordPress environment */ 26 require_once( './wp-load.php');26 require_once( dirname( __FILE__ ) . '/wp-load.php' ); 27 27 } 28 28 -
trunk/src/wp-includes/class-feed.php
r24917 r25616 2 2 3 3 if ( !class_exists('SimplePie') ) 4 require_once (ABSPATH . WPINC . '/class-simplepie.php');4 require_once( ABSPATH . WPINC . '/class-simplepie.php' ); 5 5 6 6 class WP_Feed_Cache extends SimplePie_Cache { -
trunk/src/wp-includes/feed.php
r24997 r25616 528 528 */ 529 529 function fetch_feed( $url ) { 530 require_once 530 require_once( ABSPATH . WPINC . '/class-feed.php' ); 531 531 532 532 $feed = new SimplePie(); -
trunk/src/wp-includes/js/tinymce/wp-mce-help.php
r23090 r25616 7 7 8 8 /** @ignore */ 9 require_once( '../../../wp-load.php');9 require_once( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/wp-load.php' ); 10 10 header('Content-Type: text/html; charset=' . get_bloginfo('charset')); 11 11 ?> -
trunk/src/wp-includes/rss-functions.php
r19712 r25616 7 7 8 8 _deprecated_file( basename(__FILE__), '2.1', WPINC . '/rss.php' ); 9 require_once (ABSPATH . WPINC . '/rss.php');9 require_once( ABSPATH . WPINC . '/rss.php' ); -
trunk/src/wp-links-opml.php
r25480 r25616 13 13 */ 14 14 15 require_once( './wp-load.php');15 require_once( dirname( __FILE__ ) . '/wp-load.php' ); 16 16 17 17 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); -
trunk/src/wp-signup.php
r25600 r25616 6 6 add_action( 'wp_head', 'wp_no_robots' ); 7 7 8 require( './wp-blog-header.php' );8 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); 9 9 10 10 if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { -
trunk/src/wp-trackback.php
r25564 r25616 10 10 11 11 if (empty($wp)) { 12 require_once( './wp-load.php');12 require_once( dirname( __FILE__ ) . '/wp-load.php' ); 13 13 wp( array( 'tb' => '1' ) ); 14 14 }
Note: See TracChangeset
for help on using the changeset viewer.