Changeset 5820
- Timestamp:
- 07/27/2007 09:28:01 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r5640 r5820 50 50 51 51 <?php 52 require(ABSPATH . ' /wp-admin/menu-header.php');52 require(ABSPATH . 'wp-admin/menu-header.php'); 53 53 54 54 if ( $parent_file == 'options-general.php' ) { 55 require(ABSPATH . ' /wp-admin/options-head.php');55 require(ABSPATH . 'wp-admin/options-head.php'); 56 56 } 57 57 ?> -
trunk/wp-admin/admin.php
r5542 r5820 36 36 } 37 37 38 require(ABSPATH . ' /wp-admin/menu.php');38 require(ABSPATH . 'wp-admin/menu.php'); 39 39 40 40 // Handle plugin admin pages. … … 45 45 do_action('load-' . $page_hook); 46 46 if (! isset($_GET['noheader'])) 47 require_once(ABSPATH . ' /wp-admin/admin-header.php');47 require_once(ABSPATH . 'wp-admin/admin-header.php'); 48 48 49 49 do_action($page_hook); … … 59 59 60 60 if (! isset($_GET['noheader'])) 61 require_once(ABSPATH . ' /wp-admin/admin-header.php');61 require_once(ABSPATH . 'wp-admin/admin-header.php'); 62 62 63 63 include(ABSPATH . PLUGINDIR . "/$plugin_page"); -
trunk/wp-admin/import/mt.php
r5700 r5820 178 178 function select_authors() { 179 179 if ( $_POST['upload_type'] === 'ftp' ) { 180 $file['file'] = ABSPATH . ' /wp-content/mt-export.txt';180 $file['file'] = ABSPATH . 'wp-content/mt-export.txt'; 181 181 if ( !file_exists($file['file']) ) 182 182 $file['error'] = __('<code>mt-export.txt</code> does not exist</code>'); … … 412 412 $this->id = (int) $_GET['id']; 413 413 if ( $this->id == 0 ) 414 $this->file = ABSPATH . ' /wp-content/mt-export.txt';414 $this->file = ABSPATH . 'wp-content/mt-export.txt'; 415 415 else 416 416 $this->file = get_attached_file($this->id); -
trunk/wp-admin/includes/upgrade.php
r5815 r5820 3 3 if ( file_exists(ABSPATH . 'wp-content/install.php') ) 4 4 require (ABSPATH . 'wp-content/install.php'); 5 require_once(ABSPATH . ' /wp-admin/includes/admin.php');6 require_once(ABSPATH . ' /wp-admin/includes/schema.php');5 require_once(ABSPATH . 'wp-admin/includes/admin.php'); 6 require_once(ABSPATH . 'wp-admin/includes/schema.php'); 7 7 8 8 if ( !function_exists('wp_install') ) : -
trunk/wp-admin/upgrade.php
r5665 r5820 6 6 require('../wp-config.php'); 7 7 timer_start(); 8 require_once(ABSPATH . ' /wp-admin/includes/upgrade.php');8 require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); 9 9 10 10 if (isset($_GET['step'])) -
trunk/wp-includes/functions.php
r5810 r5820 486 486 include_once (ABSPATH . WPINC . '/class-IXR.php'); 487 487 488 $log = debug_fopen(ABSPATH . ' /enclosures.log', 'a');488 $log = debug_fopen(ABSPATH . 'enclosures.log', 'a'); 489 489 $post_links = array(); 490 490 debug_fwrite($log, 'BEGIN '.date('YmdHis', time())."\n"); -
trunk/wp-includes/template-loader.php
r5149 r5820 9 9 return; 10 10 } else if ( is_trackback() ) { 11 include(ABSPATH . ' /wp-trackback.php');11 include(ABSPATH . 'wp-trackback.php'); 12 12 return; 13 13 } else if ( is_404() && $template = get_404_template() ) { … … 69 69 return; 70 70 } else if ( is_trackback() ) { 71 include(ABSPATH . ' /wp-trackback.php');71 include(ABSPATH . 'wp-trackback.php'); 72 72 return; 73 73 } -
trunk/wp-settings.php
r5700 r5820 197 197 // Check for hacks file if the option is enabled 198 198 if (get_option('hack_file')) { 199 if (file_exists(ABSPATH . ' /my-hacks.php'))200 require(ABSPATH . ' /my-hacks.php');199 if (file_exists(ABSPATH . 'my-hacks.php')) 200 require(ABSPATH . 'my-hacks.php'); 201 201 } 202 202
Note: See TracChangeset
for help on using the changeset viewer.