Changeset 13286 for trunk/wp-admin/custom-navigation.php
- Timestamp:
- 02/22/2010 12:26:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-navigation.php
r13284 r13286 135 135 if (isset($_POST['dbid'.$k])) { $db_id = $_POST['dbid'.$k]; } else { $db_id = 0; } 136 136 if (isset($_POST['postmenu'.$k])) { $object_id = $_POST['postmenu'.$k]; } else { $object_id = 0; } 137 //@todo implement heirarchy138 137 if (isset($_POST['parent'.$k])) { $parent_id = $_POST['parent'.$k]; } else { $parent_id = 0; } 139 138 if (isset($_POST['title'.$k])) { $custom_title = $_POST['title'.$k]; } else { $custom_title = ''; } … … 155 154 else 156 155 $post['post_content_filtered'] = ''; 156 if ( $parent_id > 0 && isset( $_POST[ 'dbid' . $parent_id ] ) ) 157 $post[ 'post_parent' ] = (int) $_POST[ 'dbid' . $parent_id ]; 157 158 158 159 // New menu item
Note: See TracChangeset
for help on using the changeset viewer.