[wp-trac] [WordPress Trac] #21913: Detecting MIME Types in WXR Files

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 24 16:59:20 UTC 2012


#21913: Detecting MIME Types in WXR Files
--------------------------+----------------------------
 Reporter:  ReadyMadeWeb  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  WordPress.org
Component:  Import        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+----------------------------

Comment (by ReadyMadeWeb):

 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).

 All of these issues have been addressed and a new version of the patch is
 uploaded. Still not sure if I'm using this forum correctly.  Please excuse
 the excess comments.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21913#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list