WordPress.org

Make WordPress Core

Ticket #40134: 40134.patch

File 40134.patch, 640 bytes (added by sebastian.pisula, 5 years ago)
  • wp-includes/class.wp-dependencies.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    218218                if ( isset($this->registered[$handle]) )
    219219                        return false;
    220220                $this->registered[$handle] = new _WP_Dependency( $handle, $src, $deps, $ver, $args );
     221
     222                if ( $args === 1 ) {
     223                        $this->add_data( $handle, 'group', 1 );
     224                }
     225
    221226                return true;
    222227        }
    223228