[wp-trac] [WordPress Trac] #13354: wp_insert_post() not working correctly

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 25 19:58:40 UTC 2010


#13354: wp_insert_post() not working correctly
-------------------------------+--------------------------------------------
 Reporter:  christian_gnoth    |        Owner:            
     Type:  defect (bug)       |       Status:  closed    
 Priority:  high               |    Milestone:            
Component:  General            |      Version:  3.0.1     
 Severity:  major              |   Resolution:  worksforme
 Keywords:  close 2nd-opinion  |  
-------------------------------+--------------------------------------------
Changes (by mfields):

  * keywords:  2nd-opinion => close 2nd-opinion
  * status:  reopened => closed
  * resolution:  => worksforme


Comment:

 I agree with duck_ and have verified that defining $content inside the
 function works. Resolving ticket to worksforme. Testing has shown that
 wp_insert_post() does not truncate post_content at 255 chars or remove
 link attributes if logged in as administrator.

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


More information about the wp-trac mailing list