Changeset 6815

Show
Ignore:
Timestamp:
02/13/08 17:54:08 (7 months ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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            }