Make WordPress Core


Ignore:
Timestamp:
11/23/2008 06:37:15 AM (16 years ago)
Author:
azaozz
Message:

Gallery settings for TinyMCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r9836 r9847  
    4040    }
    4141
    42     if ( typeof o === 'object' ) {
    43         for (var v in o)
    44             o[v] = c(o[v]);
    45         return o;
    46     } else if ( typeof o === 'string' )
     42    if ( typeof o === 'string' )
    4743        return c(o);
     44    else if ( typeof o === 'object' )
     45        for (var v in o) {
     46            if ( typeof o[v] === 'string' )
     47                o[v] = c(o[v]);
     48        }
     49    return o;
    4850};
    4951//]]>
Note: See TracChangeset for help on using the changeset viewer.