Edit File by line
/home/barbar84/public_h.../wp-inclu.../SimplePi...
File: Locator.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* SimplePie
[2] Fix | Delete
*
[3] Fix | Delete
* A PHP-Based RSS and Atom Feed Framework.
[4] Fix | Delete
* Takes the hard work out of managing a complete RSS/Atom solution.
[5] Fix | Delete
*
[6] Fix | Delete
* Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
[7] Fix | Delete
* All rights reserved.
[8] Fix | Delete
*
[9] Fix | Delete
* Redistribution and use in source and binary forms, with or without modification, are
[10] Fix | Delete
* permitted provided that the following conditions are met:
[11] Fix | Delete
*
[12] Fix | Delete
* * Redistributions of source code must retain the above copyright notice, this list of
[13] Fix | Delete
* conditions and the following disclaimer.
[14] Fix | Delete
*
[15] Fix | Delete
* * Redistributions in binary form must reproduce the above copyright notice, this list
[16] Fix | Delete
* of conditions and the following disclaimer in the documentation and/or other materials
[17] Fix | Delete
* provided with the distribution.
[18] Fix | Delete
*
[19] Fix | Delete
* * Neither the name of the SimplePie Team nor the names of its contributors may be used
[20] Fix | Delete
* to endorse or promote products derived from this software without specific prior
[21] Fix | Delete
* written permission.
[22] Fix | Delete
*
[23] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
[24] Fix | Delete
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
[25] Fix | Delete
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS
[26] Fix | Delete
* AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
[27] Fix | Delete
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
[28] Fix | Delete
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
[29] Fix | Delete
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
[30] Fix | Delete
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
[31] Fix | Delete
* POSSIBILITY OF SUCH DAMAGE.
[32] Fix | Delete
*
[33] Fix | Delete
* @package SimplePie
[34] Fix | Delete
* @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
[35] Fix | Delete
* @author Ryan Parman
[36] Fix | Delete
* @author Sam Sneddon
[37] Fix | Delete
* @author Ryan McCue
[38] Fix | Delete
* @link http://simplepie.org/ SimplePie
[39] Fix | Delete
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
[40] Fix | Delete
*/
[41] Fix | Delete
[42] Fix | Delete
/**
[43] Fix | Delete
* Used for feed auto-discovery
[44] Fix | Delete
*
[45] Fix | Delete
*
[46] Fix | Delete
* This class can be overloaded with {@see SimplePie::set_locator_class()}
[47] Fix | Delete
*
[48] Fix | Delete
* @package SimplePie
[49] Fix | Delete
*/
[50] Fix | Delete
class SimplePie_Locator
[51] Fix | Delete
{
[52] Fix | Delete
var $useragent;
[53] Fix | Delete
var $timeout;
[54] Fix | Delete
var $file;
[55] Fix | Delete
var $local = array();
[56] Fix | Delete
var $elsewhere = array();
[57] Fix | Delete
var $cached_entities = array();
[58] Fix | Delete
var $http_base;
[59] Fix | Delete
var $base;
[60] Fix | Delete
var $base_location = 0;
[61] Fix | Delete
var $checked_feeds = 0;
[62] Fix | Delete
var $max_checked_feeds = 10;
[63] Fix | Delete
var $force_fsockopen = false;
[64] Fix | Delete
var $curl_options = array();
[65] Fix | Delete
protected $registry;
[66] Fix | Delete
[67] Fix | Delete
public function __construct(SimplePie_File $file, $timeout = 10, $useragent = null, $max_checked_feeds = 10, $force_fsockopen = false, $curl_options = array())
[68] Fix | Delete
{
[69] Fix | Delete
$this->file = $file;
[70] Fix | Delete
$this->useragent = $useragent;
[71] Fix | Delete
$this->timeout = $timeout;
[72] Fix | Delete
$this->max_checked_feeds = $max_checked_feeds;
[73] Fix | Delete
$this->force_fsockopen = $force_fsockopen;
[74] Fix | Delete
$this->curl_options = $curl_options;
[75] Fix | Delete
[76] Fix | Delete
if (class_exists('DOMDocument'))
[77] Fix | Delete
{
[78] Fix | Delete
$this->dom = new DOMDocument();
[79] Fix | Delete
[80] Fix | Delete
set_error_handler(array('SimplePie_Misc', 'silence_errors'));
[81] Fix | Delete
$this->dom->loadHTML($this->file->body);
[82] Fix | Delete
restore_error_handler();
[83] Fix | Delete
}
[84] Fix | Delete
else
[85] Fix | Delete
{
[86] Fix | Delete
$this->dom = null;
[87] Fix | Delete
}
[88] Fix | Delete
}
[89] Fix | Delete
[90] Fix | Delete
public function set_registry(SimplePie_Registry $registry)
[91] Fix | Delete
{
[92] Fix | Delete
$this->registry = $registry;
[93] Fix | Delete
}
[94] Fix | Delete
[95] Fix | Delete
public function find($type = SIMPLEPIE_LOCATOR_ALL, &$working = null)
[96] Fix | Delete
{
[97] Fix | Delete
if ($this->is_feed($this->file))
[98] Fix | Delete
{
[99] Fix | Delete
return $this->file;
[100] Fix | Delete
}
[101] Fix | Delete
[102] Fix | Delete
if ($this->file->method & SIMPLEPIE_FILE_SOURCE_REMOTE)
[103] Fix | Delete
{
[104] Fix | Delete
$sniffer = $this->registry->create('Content_Type_Sniffer', array($this->file));
[105] Fix | Delete
if ($sniffer->get_type() !== 'text/html')
[106] Fix | Delete
{
[107] Fix | Delete
return null;
[108] Fix | Delete
}
[109] Fix | Delete
}
[110] Fix | Delete
[111] Fix | Delete
if ($type & ~SIMPLEPIE_LOCATOR_NONE)
[112] Fix | Delete
{
[113] Fix | Delete
$this->get_base();
[114] Fix | Delete
}
[115] Fix | Delete
[116] Fix | Delete
if ($type & SIMPLEPIE_LOCATOR_AUTODISCOVERY && $working = $this->autodiscovery())
[117] Fix | Delete
{
[118] Fix | Delete
return $working[0];
[119] Fix | Delete
}
[120] Fix | Delete
[121] Fix | Delete
if ($type & (SIMPLEPIE_LOCATOR_LOCAL_EXTENSION | SIMPLEPIE_LOCATOR_LOCAL_BODY | SIMPLEPIE_LOCATOR_REMOTE_EXTENSION | SIMPLEPIE_LOCATOR_REMOTE_BODY) && $this->get_links())
[122] Fix | Delete
{
[123] Fix | Delete
if ($type & SIMPLEPIE_LOCATOR_LOCAL_EXTENSION && $working = $this->extension($this->local))
[124] Fix | Delete
{
[125] Fix | Delete
return $working[0];
[126] Fix | Delete
}
[127] Fix | Delete
[128] Fix | Delete
if ($type & SIMPLEPIE_LOCATOR_LOCAL_BODY && $working = $this->body($this->local))
[129] Fix | Delete
{
[130] Fix | Delete
return $working[0];
[131] Fix | Delete
}
[132] Fix | Delete
[133] Fix | Delete
if ($type & SIMPLEPIE_LOCATOR_REMOTE_EXTENSION && $working = $this->extension($this->elsewhere))
[134] Fix | Delete
{
[135] Fix | Delete
return $working[0];
[136] Fix | Delete
}
[137] Fix | Delete
[138] Fix | Delete
if ($type & SIMPLEPIE_LOCATOR_REMOTE_BODY && $working = $this->body($this->elsewhere))
[139] Fix | Delete
{
[140] Fix | Delete
return $working[0];
[141] Fix | Delete
}
[142] Fix | Delete
}
[143] Fix | Delete
return null;
[144] Fix | Delete
}
[145] Fix | Delete
[146] Fix | Delete
public function is_feed($file, $check_html = false)
[147] Fix | Delete
{
[148] Fix | Delete
if ($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE)
[149] Fix | Delete
{
[150] Fix | Delete
$sniffer = $this->registry->create('Content_Type_Sniffer', array($file));
[151] Fix | Delete
$sniffed = $sniffer->get_type();
[152] Fix | Delete
$mime_types = array('application/rss+xml', 'application/rdf+xml',
[153] Fix | Delete
'text/rdf', 'application/atom+xml', 'text/xml',
[154] Fix | Delete
'application/xml', 'application/x-rss+xml');
[155] Fix | Delete
if ($check_html)
[156] Fix | Delete
{
[157] Fix | Delete
$mime_types[] = 'text/html';
[158] Fix | Delete
}
[159] Fix | Delete
[160] Fix | Delete
return in_array($sniffed, $mime_types);
[161] Fix | Delete
}
[162] Fix | Delete
elseif ($file->method & SIMPLEPIE_FILE_SOURCE_LOCAL)
[163] Fix | Delete
{
[164] Fix | Delete
return true;
[165] Fix | Delete
}
[166] Fix | Delete
else
[167] Fix | Delete
{
[168] Fix | Delete
return false;
[169] Fix | Delete
}
[170] Fix | Delete
}
[171] Fix | Delete
[172] Fix | Delete
public function get_base()
[173] Fix | Delete
{
[174] Fix | Delete
if ($this->dom === null)
[175] Fix | Delete
{
[176] Fix | Delete
throw new SimplePie_Exception('DOMDocument not found, unable to use locator');
[177] Fix | Delete
}
[178] Fix | Delete
$this->http_base = $this->file->url;
[179] Fix | Delete
$this->base = $this->http_base;
[180] Fix | Delete
$elements = $this->dom->getElementsByTagName('base');
[181] Fix | Delete
foreach ($elements as $element)
[182] Fix | Delete
{
[183] Fix | Delete
if ($element->hasAttribute('href'))
[184] Fix | Delete
{
[185] Fix | Delete
$base = $this->registry->call('Misc', 'absolutize_url', array(trim($element->getAttribute('href')), $this->http_base));
[186] Fix | Delete
if ($base === false)
[187] Fix | Delete
{
[188] Fix | Delete
continue;
[189] Fix | Delete
}
[190] Fix | Delete
$this->base = $base;
[191] Fix | Delete
$this->base_location = method_exists($element, 'getLineNo') ? $element->getLineNo() : 0;
[192] Fix | Delete
break;
[193] Fix | Delete
}
[194] Fix | Delete
}
[195] Fix | Delete
}
[196] Fix | Delete
[197] Fix | Delete
public function autodiscovery()
[198] Fix | Delete
{
[199] Fix | Delete
$done = array();
[200] Fix | Delete
$feeds = array();
[201] Fix | Delete
$feeds = array_merge($feeds, $this->search_elements_by_tag('link', $done, $feeds));
[202] Fix | Delete
$feeds = array_merge($feeds, $this->search_elements_by_tag('a', $done, $feeds));
[203] Fix | Delete
$feeds = array_merge($feeds, $this->search_elements_by_tag('area', $done, $feeds));
[204] Fix | Delete
[205] Fix | Delete
if (!empty($feeds))
[206] Fix | Delete
{
[207] Fix | Delete
return array_values($feeds);
[208] Fix | Delete
}
[209] Fix | Delete
[210] Fix | Delete
return null;
[211] Fix | Delete
}
[212] Fix | Delete
[213] Fix | Delete
protected function search_elements_by_tag($name, &$done, $feeds)
[214] Fix | Delete
{
[215] Fix | Delete
if ($this->dom === null)
[216] Fix | Delete
{
[217] Fix | Delete
throw new SimplePie_Exception('DOMDocument not found, unable to use locator');
[218] Fix | Delete
}
[219] Fix | Delete
[220] Fix | Delete
$links = $this->dom->getElementsByTagName($name);
[221] Fix | Delete
foreach ($links as $link)
[222] Fix | Delete
{
[223] Fix | Delete
if ($this->checked_feeds === $this->max_checked_feeds)
[224] Fix | Delete
{
[225] Fix | Delete
break;
[226] Fix | Delete
}
[227] Fix | Delete
if ($link->hasAttribute('href') && $link->hasAttribute('rel'))
[228] Fix | Delete
{
[229] Fix | Delete
$rel = array_unique($this->registry->call('Misc', 'space_separated_tokens', array(strtolower($link->getAttribute('rel')))));
[230] Fix | Delete
$line = method_exists($link, 'getLineNo') ? $link->getLineNo() : 1;
[231] Fix | Delete
[232] Fix | Delete
if ($this->base_location < $line)
[233] Fix | Delete
{
[234] Fix | Delete
$href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->base));
[235] Fix | Delete
}
[236] Fix | Delete
else
[237] Fix | Delete
{
[238] Fix | Delete
$href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->http_base));
[239] Fix | Delete
}
[240] Fix | Delete
if ($href === false)
[241] Fix | Delete
{
[242] Fix | Delete
continue;
[243] Fix | Delete
}
[244] Fix | Delete
[245] Fix | Delete
if (!in_array($href, $done) && in_array('feed', $rel) || (in_array('alternate', $rel) && !in_array('stylesheet', $rel) && $link->hasAttribute('type') && in_array(strtolower($this->registry->call('Misc', 'parse_mime', array($link->getAttribute('type')))), array('text/html', 'application/rss+xml', 'application/atom+xml'))) && !isset($feeds[$href]))
[246] Fix | Delete
{
[247] Fix | Delete
$this->checked_feeds++;
[248] Fix | Delete
$headers = array(
[249] Fix | Delete
'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1',
[250] Fix | Delete
);
[251] Fix | Delete
$feed = $this->registry->create('File', array($href, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options));
[252] Fix | Delete
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed, true))
[253] Fix | Delete
{
[254] Fix | Delete
$feeds[$href] = $feed;
[255] Fix | Delete
}
[256] Fix | Delete
}
[257] Fix | Delete
$done[] = $href;
[258] Fix | Delete
}
[259] Fix | Delete
}
[260] Fix | Delete
[261] Fix | Delete
return $feeds;
[262] Fix | Delete
}
[263] Fix | Delete
[264] Fix | Delete
public function get_links()
[265] Fix | Delete
{
[266] Fix | Delete
if ($this->dom === null)
[267] Fix | Delete
{
[268] Fix | Delete
throw new SimplePie_Exception('DOMDocument not found, unable to use locator');
[269] Fix | Delete
}
[270] Fix | Delete
[271] Fix | Delete
$links = $this->dom->getElementsByTagName('a');
[272] Fix | Delete
foreach ($links as $link)
[273] Fix | Delete
{
[274] Fix | Delete
if ($link->hasAttribute('href'))
[275] Fix | Delete
{
[276] Fix | Delete
$href = trim($link->getAttribute('href'));
[277] Fix | Delete
$parsed = $this->registry->call('Misc', 'parse_url', array($href));
[278] Fix | Delete
if ($parsed['scheme'] === '' || preg_match('/^(https?|feed)?$/i', $parsed['scheme']))
[279] Fix | Delete
{
[280] Fix | Delete
if (method_exists($link, 'getLineNo') && $this->base_location < $link->getLineNo())
[281] Fix | Delete
{
[282] Fix | Delete
$href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->base));
[283] Fix | Delete
}
[284] Fix | Delete
else
[285] Fix | Delete
{
[286] Fix | Delete
$href = $this->registry->call('Misc', 'absolutize_url', array(trim($link->getAttribute('href')), $this->http_base));
[287] Fix | Delete
}
[288] Fix | Delete
if ($href === false)
[289] Fix | Delete
{
[290] Fix | Delete
continue;
[291] Fix | Delete
}
[292] Fix | Delete
[293] Fix | Delete
$current = $this->registry->call('Misc', 'parse_url', array($this->file->url));
[294] Fix | Delete
[295] Fix | Delete
if ($parsed['authority'] === '' || $parsed['authority'] === $current['authority'])
[296] Fix | Delete
{
[297] Fix | Delete
$this->local[] = $href;
[298] Fix | Delete
}
[299] Fix | Delete
else
[300] Fix | Delete
{
[301] Fix | Delete
$this->elsewhere[] = $href;
[302] Fix | Delete
}
[303] Fix | Delete
}
[304] Fix | Delete
}
[305] Fix | Delete
}
[306] Fix | Delete
$this->local = array_unique($this->local);
[307] Fix | Delete
$this->elsewhere = array_unique($this->elsewhere);
[308] Fix | Delete
if (!empty($this->local) || !empty($this->elsewhere))
[309] Fix | Delete
{
[310] Fix | Delete
return true;
[311] Fix | Delete
}
[312] Fix | Delete
return null;
[313] Fix | Delete
}
[314] Fix | Delete
[315] Fix | Delete
public function get_rel_link($rel)
[316] Fix | Delete
{
[317] Fix | Delete
if ($this->dom === null)
[318] Fix | Delete
{
[319] Fix | Delete
throw new SimplePie_Exception('DOMDocument not found, unable to use '.
[320] Fix | Delete
'locator');
[321] Fix | Delete
}
[322] Fix | Delete
if (!class_exists('DOMXpath'))
[323] Fix | Delete
{
[324] Fix | Delete
throw new SimplePie_Exception('DOMXpath not found, unable to use '.
[325] Fix | Delete
'get_rel_link');
[326] Fix | Delete
}
[327] Fix | Delete
[328] Fix | Delete
$xpath = new DOMXpath($this->dom);
[329] Fix | Delete
$query = '//a[@rel and @href] | //link[@rel and @href]';
[330] Fix | Delete
foreach ($xpath->query($query) as $link)
[331] Fix | Delete
{
[332] Fix | Delete
$href = trim($link->getAttribute('href'));
[333] Fix | Delete
$parsed = $this->registry->call('Misc', 'parse_url', array($href));
[334] Fix | Delete
if ($parsed['scheme'] === '' ||
[335] Fix | Delete
preg_match('/^https?$/i', $parsed['scheme']))
[336] Fix | Delete
{
[337] Fix | Delete
if (method_exists($link, 'getLineNo') &&
[338] Fix | Delete
$this->base_location < $link->getLineNo())
[339] Fix | Delete
{
[340] Fix | Delete
$href =
[341] Fix | Delete
$this->registry->call('Misc', 'absolutize_url',
[342] Fix | Delete
array(trim($link->getAttribute('href')),
[343] Fix | Delete
$this->base));
[344] Fix | Delete
}
[345] Fix | Delete
else
[346] Fix | Delete
{
[347] Fix | Delete
$href =
[348] Fix | Delete
$this->registry->call('Misc', 'absolutize_url',
[349] Fix | Delete
array(trim($link->getAttribute('href')),
[350] Fix | Delete
$this->http_base));
[351] Fix | Delete
}
[352] Fix | Delete
if ($href === false)
[353] Fix | Delete
{
[354] Fix | Delete
return null;
[355] Fix | Delete
}
[356] Fix | Delete
$rel_values = explode(' ', strtolower($link->getAttribute('rel')));
[357] Fix | Delete
if (in_array($rel, $rel_values))
[358] Fix | Delete
{
[359] Fix | Delete
return $href;
[360] Fix | Delete
}
[361] Fix | Delete
}
[362] Fix | Delete
}
[363] Fix | Delete
return null;
[364] Fix | Delete
}
[365] Fix | Delete
[366] Fix | Delete
public function extension(&$array)
[367] Fix | Delete
{
[368] Fix | Delete
foreach ($array as $key => $value)
[369] Fix | Delete
{
[370] Fix | Delete
if ($this->checked_feeds === $this->max_checked_feeds)
[371] Fix | Delete
{
[372] Fix | Delete
break;
[373] Fix | Delete
}
[374] Fix | Delete
if (in_array(strtolower(strrchr($value, '.')), array('.rss', '.rdf', '.atom', '.xml')))
[375] Fix | Delete
{
[376] Fix | Delete
$this->checked_feeds++;
[377] Fix | Delete
[378] Fix | Delete
$headers = array(
[379] Fix | Delete
'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1',
[380] Fix | Delete
);
[381] Fix | Delete
$feed = $this->registry->create('File', array($value, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options));
[382] Fix | Delete
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
[383] Fix | Delete
{
[384] Fix | Delete
return array($feed);
[385] Fix | Delete
}
[386] Fix | Delete
else
[387] Fix | Delete
{
[388] Fix | Delete
unset($array[$key]);
[389] Fix | Delete
}
[390] Fix | Delete
}
[391] Fix | Delete
}
[392] Fix | Delete
return null;
[393] Fix | Delete
}
[394] Fix | Delete
[395] Fix | Delete
public function body(&$array)
[396] Fix | Delete
{
[397] Fix | Delete
foreach ($array as $key => $value)
[398] Fix | Delete
{
[399] Fix | Delete
if ($this->checked_feeds === $this->max_checked_feeds)
[400] Fix | Delete
{
[401] Fix | Delete
break;
[402] Fix | Delete
}
[403] Fix | Delete
if (preg_match('/(feed|rss|rdf|atom|xml)/i', $value))
[404] Fix | Delete
{
[405] Fix | Delete
$this->checked_feeds++;
[406] Fix | Delete
$headers = array(
[407] Fix | Delete
'Accept' => 'application/atom+xml, application/rss+xml, application/rdf+xml;q=0.9, application/xml;q=0.8, text/xml;q=0.8, text/html;q=0.7, unknown/unknown;q=0.1, application/unknown;q=0.1, */*;q=0.1',
[408] Fix | Delete
);
[409] Fix | Delete
$feed = $this->registry->create('File', array($value, $this->timeout, 5, null, $this->useragent, $this->force_fsockopen, $this->curl_options));
[410] Fix | Delete
if ($feed->success && ($feed->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed))
[411] Fix | Delete
{
[412] Fix | Delete
return array($feed);
[413] Fix | Delete
}
[414] Fix | Delete
else
[415] Fix | Delete
{
[416] Fix | Delete
unset($array[$key]);
[417] Fix | Delete
}
[418] Fix | Delete
}
[419] Fix | Delete
}
[420] Fix | Delete
return null;
[421] Fix | Delete
}
[422] Fix | Delete
}
[423] Fix | Delete
[424] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function