[wp-trac] Re: [WordPress Trac] #7552: Bring crazyhorse to stable
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 22 21:50:55 GMT 2008
#7552: Bring crazyhorse to stable
---------------------+------------------------------------------------------
Reporter: ryan | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by azaozz):
Replying to [comment:25 santosj]:
> Are you sure type casting is the correct fix? What is causing the error
in the first place? Shouldn't it be looked at to see if the code needs to
be changed to return the fix for correcting the error?
The output from
{{{
get_user_option( "meta-box-hidden_$page" )
}}}
is expected to be an array. If the option is not set it returns
'''false'''. Can either typecast or use a conditional.
--
Ticket URL: <http://trac.wordpress.org/ticket/7552#comment:26>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list