[wp-trac] [WordPress Trac] #24180: Update option

WordPress Trac noreply at wordpress.org
Wed Apr 24 20:45:20 UTC 2013


#24180: Update option
--------------------------+-----------------------------
 Reporter:  Looimaster    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 {{{
 $widget_text = array (
         2 => array (
                 'title' => '',
                 'text' => '<div>Copyright &copy; 2000–2013. All right
 reserved.</div>',
                 'filter' => false,
         )
 );
 update_option( 'widget_text', $widget_text );
 }}}

 The above returns error on 2000–2013 part (I bet it tries to evaluate
 that) and database table contains a string that stops at exactly 2000 part
 (minus is skipped).

 WP3.6 alpha.

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


More information about the wp-trac mailing list