Changeset 9745
- Timestamp:
- 11/18/2008 12:53:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc.php
r9696 r9745 1907 1907 $actual_post = wp_get_single_post($post_ID,ARRAY_A); 1908 1908 1909 if (!$actual_post ) {1909 if (!$actual_post || $actual_post['post_type'] != 'post') { 1910 1910 return new IXR_Error(404, __('Sorry, no such post.')); 1911 1911 } … … 1962 1962 $actual_post = wp_get_single_post($post_ID,ARRAY_A); 1963 1963 1964 if (!$actual_post ) {1964 if (!$actual_post || $actual_post['post_type'] != 'post') { 1965 1965 return new IXR_Error(404, __('Sorry, no such post.')); 1966 1966 }
Note: See TracChangeset
for help on using the changeset viewer.