[wp-trac] [WordPress Trac] #26734: wp_insert_post is stripping target="_blank" in version 3.8

WordPress Trac noreply at wordpress.org
Fri Dec 27 23:56:45 UTC 2013


#26734: wp_insert_post is stripping target="_blank" in version 3.8
--------------------------+-----------------------------
 Reporter:  wpmate        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.8
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When using the wp_insert_post function in php code it strips out the
 'target="_blank"' tag from the $post_data[\'post_content\']. This is
 occurring in version 3.8

 When manually creating a post the tags are not stripped.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26734>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list