Changeset 1236
- Timestamp:
- 05/07/2004 09:05:02 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r1232 r1236 42 42 $me = 0 + $category->cat_ID; 43 43 $parent = 0 + $category->category_parent; 44 $array_category['children'] = $result[$me];44 if (isset($result[$me])) $array_category['children'] = $result[$me]; 45 45 $array_category['checked'] = in_array($category->cat_ID, $checked_categories); 46 46 $array_category['cat_name'] = stripslashes($category->cat_name); … … 59 59 if(isset($category['children'])) { 60 60 echo "\n<span class='cat-nest'>\n"; 61 write_nested_categories($category['children'] , $count);61 write_nested_categories($category['children']); 62 62 echo "</span>\n"; 63 63 } -
trunk/wp-admin/admin-header.php
r1205 r1236 72 72 ?> 73 73 74 <?php if ( $xfn) : ?>74 <?php if (isset($xfn)) : ?> 75 75 <script language="javascript" type="text/javascript"> 76 76 //<![CDATA[ -
trunk/wp-admin/edit-form-advanced.php
r1233 r1236 4 4 $messages[3] = __('Custom field deleted.'); 5 5 ?> 6 <?php if ( $_GET['message']) : ?>6 <?php if (isset($_GET['message'])) : ?> 7 7 <div class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div> 8 8 <?php endif; ?> … … 53 53 <input type="hidden" name="action" value='<?php echo $form_action ?>' /> 54 54 <?php echo $form_extra ?> 55 <?php if ( 2 > $_GET['message']) : ?>55 <?php if (isset($_GET['message']) && 2 > $_GET['message']) : ?> 56 56 <script type="text/javascript"> 57 57 <!-- -
trunk/wp-admin/menu.php
r1212 r1236 21 21 22 22 $self = preg_replace('|.*/wp-admin/|i', '', $_SERVER['PHP_SELF']); 23 if (!isset($parent_file)) $parent_file = ''; 23 24 foreach ($menu as $item) { 24 25 $class = ''; -
trunk/wp-admin/post.php
r1221 r1236 231 231 include('edit-form-advanced.php'); 232 232 233 include(ABSPATH.'wp-blog-header.php');234 233 $post = $wpdb->get_row("SELECT * FROM $tableposts WHERE ID = '$post_ID'"); 235 234 ?> -
trunk/wp-blog-header.php
r1235 r1236 7 7 die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='wp-admin/install-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file."); 8 8 9 require ($curpath.'/wp-config.php');9 require_once($curpath . '/wp-config.php'); 10 10 11 11 /* Process PATH_INFO, if set. */
Note: See TracChangeset
for help on using the changeset viewer.