Changeset 12710 for trunk/wp-admin
- Timestamp:
- 01/12/2010 07:03:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r12708 r12710 86 86 $post_type_object = get_post_type_object($post_type); 87 87 $post_type_cap = $post_type_object->capability_type; 88 $form_post = 'post.php';89 if ( 'page' == $post_type )90 $form_post = 'page.php';91 88 92 89 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). … … 158 155 <div id="message" class="updated"><p><?php echo $message; ?></p></div> 159 156 <?php endif; ?> 160 <form name="post" action=" <?php echo $form_post; ?>" method="post" id="post">157 <form name="post" action="post.php" method="post" id="post"> 161 158 <?php wp_nonce_field($nonce_action); ?> 162 159 <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
Note: See TracChangeset
for help on using the changeset viewer.