[wp-trac] [WordPress Trac] #21913: Detecting MIME Types in WXR Files
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 3 05:02:59 UTC 2012
#21913: Detecting MIME Types in WXR Files
------------------------------------------------+--------------------------
Reporter: ReadyMadeWeb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Import | WordPress.org
Severity: normal | Version: 3.4.2
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
------------------------------------------------+--------------------------
Comment (by readymadeweb):
New patch is posted!
Replying to [comment:2 nacin]:
> Rather than using cURL, we have an HTTP API. You can use
wp_remote_head() to send a HEAD request, then use
wp_remote_retrieve_header() on the response to get a specific header.
>
> We also use lowercase true/false/null.
>
> Also, please use `svn diff` rather than the GNU `diff` tool to create
patches. It can still be applied with `patch` but contains SVN metadata
(and is properly recognized by our bug tracker).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21913#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list