Make WordPress Core


Ignore:
Timestamp:
01/15/2010 11:49:09 PM (14 years ago)
Author:
ryan
Message:

Coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r12728 r12736  
    911911
    912912    $_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']) )
    914914        unset($_POST['post_category']);
    915915
     
    927927
    928928    $id = $revision_id = 0;
    929     if($_POST['post_ID'] < 0) {
     929    if ( $_POST['post_ID'] < 0 ) {
    930930        $_POST['post_status'] = 'draft';
    931931        $_POST['temp_ID'] = $_POST['post_ID'];
Note: See TracChangeset for help on using the changeset viewer.