Make WordPress Core

Ticket #23914: 23914-properties-2.diff

File 23914-properties-2.diff, 1.1 KB (added by DrewAPicture, 12 years ago)

_WP_Dependency properties only

  • src/wp-includes/class.wp-dependencies.php

     
    238238}
    239239
    240240class _WP_Dependency {
     241        /**
     242         * The handle name.
     243         *
     244         * @access public
     245         * @since 2.6.0
     246         * @var null
     247         */
    241248        var $handle;
     249
     250        /**
     251         * The handle source.
     252         *
     253         * @access public
     254         * @since 2.6.0
     255         * @var null
     256         */
    242257        var $src;
     258
     259        /**
     260         * An array of handle dependencies.
     261         *
     262         * @access public
     263         * @since 2.6.0
     264         * @var array
     265         */
    243266        var $deps = array();
     267
     268        /**
     269         * The handle version.
     270         *
     271         * Used for cache-busting.
     272         *
     273         * @access public
     274         * @since 2.6.0
     275         * @var bool|string
     276         */
    244277        var $ver = false;
    245         var $args = null;
    246278
     279        /**
     280         * Additional arguments for the handle.
     281         *
     282         * @access public
     283         * @since 2.6.0
     284         * @var null
     285         */
     286        var $args = null;  // Custom property, such as $in_footer or $media.
     287
     288        /**
     289         * Extra data to supply to the handle.
     290         *
     291         * @access public
     292         * @since 2.6.0
     293         * @var array
     294         */
    247295        var $extra = array();
    248296
    249297        function __construct() {