Changeset 9747 for branches/2.6/xmlrpc.php
- Timestamp:
- 11/18/2008 01:00:29 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/xmlrpc.php
r8445 r9747 1344 1344 $actual_post = wp_get_single_post($post_ID,ARRAY_A); 1345 1345 1346 if (!$actual_post ) {1346 if (!$actual_post || $actual_post['post_type'] != 'post') { 1347 1347 return new IXR_Error(404, __('Sorry, no such post.')); 1348 1348 } … … 2367 2367 $actual_post = wp_get_single_post($post_ID, ARRAY_A); 2368 2368 2369 if (!$actual_post ) {2369 if (!$actual_post || $actual_post['post_type'] != 'post') { 2370 2370 return new IXR_Error(404, __('Sorry, no such post.')); 2371 2371 }
Note: See TracChangeset
for help on using the changeset viewer.