Post filter rework. see #4546

git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-07-11 19:57:43 +00:00
parent 701989a76d
commit 9fe6a868ca
4 changed files with 103 additions and 34 deletions

View File

@@ -1290,7 +1290,9 @@ function smilies_init() {
}
function wp_parse_args( $args, $defaults = '' ) {
if ( is_array( $args ) )
if ( is_object($args) )
$r = get_object_vars($args);
else if ( is_array( $args ) )
$r =& $args;
else
wp_parse_str( $args, $r );