Ticket #20576: wp-scripts-notice-fix.diff
File wp-scripts-notice-fix.diff, 513 bytes (added by , 13 years ago) |
---|
-
wp-includes/class.wp-scripts.php
162 162 163 163 function set_group( $handle, $recursion, $group = false ) { 164 164 165 if ( $this->registered[$handle]->args === 1 )165 if ( isset( $this->registered[$handle] ) && $this->registered[$handle]->args === 1 ) 166 166 $grp = 1; 167 167 else 168 168 $grp = (int) $this->get_data( $handle, 'group' );