wp-includes/SimplePie/src/Enclosure.php:229Constructor, used to input the data
$linkoptionalnull$typeoptionalnull$lengthoptionalnull$javascriptoptionalnull$bitrateoptionalnull$captionsoptionalnull$categoriesoptionalnull$channelsoptionalnull$copyrightoptionalnull$creditsoptionalnull$descriptionoptionalnull$durationoptionalnull$expressionoptionalnull$framerateoptionalnull$hashesoptionalnull$heightoptionalnull$keywordsoptionalnull$langoptionalnull$mediumoptionalnull$playeroptionalnull$ratingsoptionalnull$restrictionsoptionalnull$samplingrateoptionalnull$thumbnailsoptionalnull$titleoptionalnull$widthoptionalnull public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitrate = null, $captions = null, $categories = null, $channels = null, $copyright = null, $credits = null, $description = null, $duration = null, $expression = null, $framerate = null, $hashes = null, $height = null, $keywords = null, $lang = null, $medium = null, $player = null, $ratings = null, $restrictions = null, $samplingrate = null, $thumbnails = null, $title = null, $width = null) { $this->bitrate = $bitrate; $this->captions = $captions; $this->categories = $categories; $this->channels = $channels; $this->copyright = $copyright; $this->credits = $credits; $this->description = $description; $this->duration = $duration; $this->expression = $expression; $this->framerate = $framerate; $this->hashes = $hashes; $this->height = $height; $this->keywords = $keywords; $this->lang = $lang; $this->length = $length; $this->link = $link; $this->medium = $medium; $this->player = $player; $this->ratings = $ratings; $this->restrictions = $restrictions; $this->samplingrate = $samplingrate; $this->thumbnails = $thumbnails; $this->title = $title; $this->type = $type; $this->width = $width; if (class_exists('idna_convert')) { $idn = new \idna_convert(); $parsed = \SimplePie\Misc::parse_url($link); $this->link = \SimplePie\Misc::compress_parse_url($parsed['scheme'], $idn->encode($parsed['authority']), $parsed['path'], $parsed['query'], $parsed['fragment']); } $this->handler = $this->get_handler(); // Needs to load last }26 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$link retyped from untyped to ?string.verified against source$type retyped from untyped to ?string.verified against source$length retyped from untyped to ?int.verified against source$javascript retyped from untyped to null.verified against source$bitrate retyped from untyped to ?string.verified against source$captions retyped from untyped to SimplePie\Caption[]|null.verified against source$categories retyped from untyped to SimplePie\Category[]|null.verified against source$channels retyped from untyped to ?int.verified against source$copyright retyped from untyped to ?\SimplePie\Copyright.verified against source$credits retyped from untyped to SimplePie\Credit[]|null.verified against source$description retyped from untyped to ?string.verified against source$duration retyped from untyped to ?int.verified against source$expression retyped from untyped to ?string.verified against source$framerate retyped from untyped to ?string.verified against source$hashes retyped from untyped to string[]|null.verified against source$height retyped from untyped to ?string.verified against source$keywords retyped from untyped to string[]|null.verified against source$lang retyped from untyped to ?string.verified against source$medium retyped from untyped to ?string.verified against source$player retyped from untyped to ?string.verified against source$ratings retyped from untyped to SimplePie\Rating[]|null.verified against source$restrictions retyped from untyped to SimplePie\Restriction[]|null.verified against source$samplingrate retyped from untyped to ?string.verified against source$thumbnails retyped from untyped to string[]|null.verified against source$title retyped from untyped to ?string.verified against source$width retyped from untyped to ?string.verified against sourcesrc/wp-includes/SimplePie/src/Enclosure.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.