Make WordPress Core

Changeset 6815


Ignore:
Timestamp:
02/13/2008 05:54:08 PM (17 years ago)
Author:
ryan
Message:

metaWeblog.newPost fix. Props malex. fixes #5814 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r6726 r6815  
    11421142                $post_type = 'page';
    11431143            }
    1144             elseif( $content_type['post_type'] == 'post' ) {
     1144            elseif( $content_struct['post_type'] == 'post' ) {
    11451145                // This is the default, no changes needed
    11461146            }
     
    13911391                $post_type = 'page';
    13921392            }
    1393             elseif( $content_type['post_type'] == 'post' ) {
     1393            elseif( $content_struct['post_type'] == 'post' ) {
    13941394                // This is the default, no changes needed
    13951395            }
Note: See TracChangeset for help on using the changeset viewer.