[wp-gsoc] [Summer of Code] #341: Importer iterator state increments regardless of success or failure
Summer of Code
noreply at wordpress.org
Tue Aug 6 04:17:13 UTC 2013
#341: Importer iterator state increments regardless of success or failure
-------------------------------------+-------------------------------
Reporter: frederick.ding | Owner: frederick.ding
Type: defect | Status: accepted
Priority: major | Milestone: 2013 Final (1.0)
Component: Migration & Portability | Resolution:
Keywords: |
-------------------------------------+-------------------------------
Comment (by frederick.ding):
Since the legacy code skips already-processed items by checking
{{{
if ( isset( $this->processed_posts[$post['post_id']] )
}}}
It's unnecessary to store the state of the iterator at all. Changed in
next commit.
--
Ticket URL: <http://gsoc.trac.wordpress.org/ticket/341#comment:2>
Summer of Code <http://gsoc.trac.wordpress.org>
My example project
More information about the wp-gsoc
mailing list