[wp-trac] [WordPress Trac] #22435: Export API
WordPress Trac
noreply at wordpress.org
Wed Oct 23 14:36:19 UTC 2013
#22435: Export API
------------------------------------+------------------------------
Reporter: nbachiyski | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Export | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Changes (by dllh):
* cc: daryl@… (added)
Comment:
In working out how to handle taxonomy loops that can cause a WSOD, I
encountered some problems with the approach given here. For example, the
try/catch stuff in ```wp_export()``` returns things, but we never do
anything with it, which means that the error handling is basically moot.
Also, ```WP_Export_XML_Over_HTTP::write()``` just spews headers and
whatever output there is (even if it's empty because of a silent error),
which makes error handling problematic. The forthcoming patch includes
some tax loop handling but also rejiggers a couple of things to provide
better error handling (I hope). I'm not sure it's 100% of the way there,
but I thought I'd submit for consideration. It's a diff of the diff, to
isolate the changes I'm proposing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22435#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list