Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/blogvaul.../callback/wings
File: info.php
}
[500] Fix | Delete
$plugin_data = get_plugin_data(WP_PLUGIN_DIR . '/' . $plugin_file);
[501] Fix | Delete
if ($plugin_data && isset($plugin_data['Version'])) {
[502] Fix | Delete
$result['version'] = $plugin_data['Version'];
[503] Fix | Delete
}
[504] Fix | Delete
[505] Fix | Delete
return $result;
[506] Fix | Delete
}
[507] Fix | Delete
[508] Fix | Delete
function fetchPluginApiData($slug, $action) {
[509] Fix | Delete
$args = array('slug' => wp_unslash($slug));
[510] Fix | Delete
$args = (object) $args;
[511] Fix | Delete
$args = apply_filters('plugins_api_args', $args, $action);
[512] Fix | Delete
$data = apply_filters('plugins_api', false, $action, $args);
[513] Fix | Delete
[514] Fix | Delete
return $data;
[515] Fix | Delete
}
[516] Fix | Delete
[517] Fix | Delete
public function process($request) {
[518] Fix | Delete
$db = $this->db;
[519] Fix | Delete
$params = $request->params;
[520] Fix | Delete
switch ($request->method) {
[521] Fix | Delete
case "activateinfo":
[522] Fix | Delete
$resp = array('actinfo' => $this->activate());
[523] Fix | Delete
break;
[524] Fix | Delete
case "ckeyinfo":
[525] Fix | Delete
$resp = array('cookieinfo' => $this->cookieInfo());
[526] Fix | Delete
break;
[527] Fix | Delete
case "gtpsts":
[528] Fix | Delete
$count = 5;
[529] Fix | Delete
if (array_key_exists('count', $params))
[530] Fix | Delete
$count = $params['count'];
[531] Fix | Delete
$resp = $this->getPosts($params['post_type'], $count);
[532] Fix | Delete
break;
[533] Fix | Delete
case "gtsts":
[534] Fix | Delete
$resp = $this->getStats();
[535] Fix | Delete
break;
[536] Fix | Delete
case "gtdbvariables":
[537] Fix | Delete
$variable = (array_key_exists('variable', $params)) ? $params['variable'] : "";
[538] Fix | Delete
$resp = $this->db->showDbVariables($variable);
[539] Fix | Delete
break;
[540] Fix | Delete
case "gtplgs":
[541] Fix | Delete
$resp = $this->getPlugins();
[542] Fix | Delete
break;
[543] Fix | Delete
case "gtthms":
[544] Fix | Delete
$resp = $this->getThemes();
[545] Fix | Delete
break;
[546] Fix | Delete
case "gtsym":
[547] Fix | Delete
$resp = array('sys' => $this->getSystemInfo());
[548] Fix | Delete
break;
[549] Fix | Delete
case "gtwp":
[550] Fix | Delete
$resp = array('wp' => $this->getWpInfo());
[551] Fix | Delete
break;
[552] Fix | Delete
case "gtallhdrs":
[553] Fix | Delete
$data = (function_exists('getallheaders')) ? getallheaders() : false;
[554] Fix | Delete
$resp = array("allhdrs" => $data);
[555] Fix | Delete
break;
[556] Fix | Delete
case "gtsvr":
[557] Fix | Delete
$resp = array("svr" => $_SERVER);
[558] Fix | Delete
break;
[559] Fix | Delete
case "getoption":
[560] Fix | Delete
$resp = array("option" => $this->settings->getOption($params['name']));
[561] Fix | Delete
break;
[562] Fix | Delete
case "gtusrs":
[563] Fix | Delete
$full = false;
[564] Fix | Delete
if (array_key_exists('full', $params))
[565] Fix | Delete
$full = true;
[566] Fix | Delete
$resp = array('users' => $this->getUsers($full, $params['args']));
[567] Fix | Delete
break;
[568] Fix | Delete
case "gttrnsnt":
[569] Fix | Delete
$resp = $this->getTransient($params['name'], array_key_exists('asarray', $params));
[570] Fix | Delete
break;
[571] Fix | Delete
case "gthost":
[572] Fix | Delete
$resp = array('host_info' => $this->getHostInfo());
[573] Fix | Delete
break;
[574] Fix | Delete
case "gtplsinfo":
[575] Fix | Delete
$resp = array("plugins_info" => array());
[576] Fix | Delete
$file_by_slug = $params["file_by_slug"];
[577] Fix | Delete
foreach ($params['slugs'] as $slug) {
[578] Fix | Delete
$data = $this->fetchPluginApiData($slug, $params['action']);
[579] Fix | Delete
if (is_object($data) && !property_exists($data, 'version') && isset($file_by_slug[$slug])) {
[580] Fix | Delete
$plugin_data = $this->getPluginFileData($file_by_slug[$slug]);
[581] Fix | Delete
$data->version = $plugin_data['version'];
[582] Fix | Delete
}
[583] Fix | Delete
$resp['plugins_info'][$slug] = $data;
[584] Fix | Delete
}
[585] Fix | Delete
break;
[586] Fix | Delete
case "gtplinfo":
[587] Fix | Delete
$data = $this->fetchPluginApiData($params['slug'], $params['action']);
[588] Fix | Delete
$resp = array("plugins_info" => $data);
[589] Fix | Delete
break;
[590] Fix | Delete
case "gtpostactinfo":
[591] Fix | Delete
$resp = $this->getPostActivateInfo($params);
[592] Fix | Delete
break;
[593] Fix | Delete
case "gtsteinfo":
[594] Fix | Delete
$resp = $this->getSiteInfo($params);
[595] Fix | Delete
break;
[596] Fix | Delete
case "psinfo":
[597] Fix | Delete
$resp = $this->getPluginServicesInfo($params);
[598] Fix | Delete
break;
[599] Fix | Delete
default:
[600] Fix | Delete
$resp = false;
[601] Fix | Delete
}
[602] Fix | Delete
return $resp;
[603] Fix | Delete
}
[604] Fix | Delete
}
[605] Fix | Delete
endif;
[606] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function