Changeset 17962
- Timestamp:
- 05/19/2011 01:34:34 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r17940 r17962 196 196 <div class="wrap"> 197 197 <?php screen_icon(); ?> 198 <h2><?php echo esc_html( $title ); ?>< /h2>198 <h2><?php echo esc_html( $title ); ?><?php if ( isset( $post_new_file ) ) : ?> <a href="<?php echo esc_url( $post_new_file ) ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a><?php endif; ?></h2> 199 199 <?php if ( $notice ) : ?> 200 200 <div id="notice" class="error"><p><?php echo $notice ?></p></div> -
trunk/wp-admin/post.php
r17743 r17962 162 162 $parent_file = "edit.php"; 163 163 $submenu_file = "edit.php"; 164 $post_new_file = "post-new.php"; 164 165 } else { 165 166 if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true ) … … 168 169 $parent_file = "edit.php?post_type=$post_type"; 169 170 $submenu_file = "edit.php?post_type=$post_type"; 171 $post_new_file = "post-new.php?post_type=$post_type"; 170 172 } 171 173
Note: See TracChangeset
for help on using the changeset viewer.