[wp-trac] [WordPress Trac] #20712: Wrong data type returned from get_option for "page_on_front" after update_option

WordPress Trac wp-trac at lists.automattic.com
Sun May 20 08:35:59 UTC 2012


#20712: Wrong data type returned from get_option for "page_on_front" after
update_option
--------------------------+------------------------------
 Reporter:  tszming       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dd32):

 Duplicate of #7383

 I do agree with the final resolution there, PHP doesn't care if it's an
 int or a string, both are interprated as a scalar and will be handled the
 same in any calculation.

 Perhaps you can explain about the actual issue that you've run into? As a
 way of explaining to others what the real problem is?

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


More information about the wp-trac mailing list