[glotpress-updates] [GlotPress] #278: Prevent notice when the sorting order isn't fully set in the user profile
GlotPress
noreply at wordpress.org
Mon Dec 2 20:35:28 UTC 2013
#278: Prevent notice when the sorting order isn't fully set in the user profile
-------------------+-----------------------
Reporter: yoavf | Type: defect
Status: new | Priority: major
Milestone: | Component: interface
Version: | Keywords:
-------------------+-----------------------
The code to set the sorting order according to the user preferences
generate a notice when only one of the defaults is set (i.e. only 'by' or
'how')
Happens because {{{$default_sort}}} is an array, but doesn't include all
the keys.
Can be nicely fixed by using{{{ wp_parse_args()}}}
--
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/278>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list