Changeset 12736 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 01/15/2010 11:49:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r12728 r12736 911 911 912 912 $_POST['post_category'] = explode(",", $_POST['catslist']); 913 if ($_POST['post_type'] == 'page' || empty($_POST['post_category']))913 if ( $_POST['post_type'] == 'page' || empty($_POST['post_category']) ) 914 914 unset($_POST['post_category']); 915 915 … … 927 927 928 928 $id = $revision_id = 0; 929 if ($_POST['post_ID'] < 0) {929 if ( $_POST['post_ID'] < 0 ) { 930 930 $_POST['post_status'] = 'draft'; 931 931 $_POST['temp_ID'] = $_POST['post_ID'];
Note: See TracChangeset
for help on using the changeset viewer.