WordPress.org

Make WordPress Core

Changeset 9133


Ignore:
Timestamp:
10/13/2008 09:28:28 PM (10 years ago)
Author:
ryan
Message:

Return empty post list instead of fault code when there are no posts. Props josephscott. fixes #7287

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r9089 r9133  
    25992599
    26002600        if (!$posts_list) {
    2601             $this->error = new IXR_Error(500, __('Either there are no posts, or something went wrong.'));
    2602             return $this->error;
     2601            return array( );
    26032602        }
    26042603
Note: See TracChangeset for help on using the changeset viewer.