Changeset 6814

Show
Ignore:
Timestamp:
02/13/08 17:53:52 (5 months ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.3/xmlrpc.php

    r6715 r6814  
    987987                $post_type = 'page'; 
    988988            } 
    989             elseif( $content_type['post_type'] == 'post' ) { 
     989            elseif( $content_struct['post_type'] == 'post' ) { 
    990990                // This is the default, no changes needed 
    991991            } 
     
    12081208                $post_type = 'page'; 
    12091209            } 
    1210             elseif( $content_type['post_type'] == 'post' ) { 
     1210            elseif( $content_struct['post_type'] == 'post' ) { 
    12111211                // This is the default, no changes needed 
    12121212            }