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/wp-conte.../plugins/embedpre.../EmbedPre...
File: Core.php
* @return array
[500] Fix | Delete
* @since 1.4.0
[501] Fix | Delete
* @static
[502] Fix | Delete
*
[503] Fix | Delete
*/
[504] Fix | Delete
public static function getPlugins () {
[505] Fix | Delete
return self::$plugins;
[506] Fix | Delete
}
[507] Fix | Delete
[508] Fix | Delete
/**
[509] Fix | Delete
* Handle links displayed below the plugin name in the WordPress Installed Plugins page.
[510] Fix | Delete
*
[511] Fix | Delete
* @return array
[512] Fix | Delete
* @since 1.4.0
[513] Fix | Delete
* @static
[514] Fix | Delete
*
[515] Fix | Delete
*/
[516] Fix | Delete
public static function handleActionLinks($links, $file)
[517] Fix | Delete
{
[518] Fix | Delete
$settingsLink = '<a href="' . admin_url('admin.php?page=embedpress') . '" aria-label="' . __('Open settings page',
[519] Fix | Delete
'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
[520] Fix | Delete
[521] Fix | Delete
array_unshift($links, $settingsLink);
[522] Fix | Delete
if ( !is_embedpress_pro_active() ) {
[523] Fix | Delete
$links[] = '<a href="https://wpdeveloper.com/in/upgrade-embedpress" target="_blank" class="embedpress-go-pro-action" style="color: green">'.__('Go Pro', 'embedpress').'</a>';
[524] Fix | Delete
}
[525] Fix | Delete
return $links;
[526] Fix | Delete
}
[527] Fix | Delete
[528] Fix | Delete
[529] Fix | Delete
/**
[530] Fix | Delete
* Method that ensures the API's url are whitelisted to WordPress external requests.
[531] Fix | Delete
*
[532] Fix | Delete
* @param boolean $isAllowed
[533] Fix | Delete
* @param string $host
[534] Fix | Delete
* @param string $url
[535] Fix | Delete
*
[536] Fix | Delete
* @return boolean
[537] Fix | Delete
* @since 1.4.0
[538] Fix | Delete
* @static
[539] Fix | Delete
*
[540] Fix | Delete
*/
[541] Fix | Delete
public static function allowApiHost ($isAllowed, $host, $url) {
[542] Fix | Delete
if ($host === EMBEDPRESS_LICENSES_API_HOST) {
[543] Fix | Delete
$isAllowed = true;
[544] Fix | Delete
}
[545] Fix | Delete
[546] Fix | Delete
return $isAllowed;
[547] Fix | Delete
}
[548] Fix | Delete
[549] Fix | Delete
public function extended_mime_types( $mimes ) {
[550] Fix | Delete
$mimes['ppsx'] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation';
[551] Fix | Delete
return $mimes;
[552] Fix | Delete
}
[553] Fix | Delete
[554] Fix | Delete
}
[555] Fix | Delete
[556] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function