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
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/rumbleta...
File: rumbletalk.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Plugin Name: RumbleTalk Chat
[3] Fix | Delete
* Plugin URI: https://wordpress.org/plugins/rumbletalk-chat-a-chat-with-themes/
[4] Fix | Delete
* Description: Group chat room for WordPress and BuddyPress websites. Use one or many advanced stylish chat rooms for your community.
[5] Fix | Delete
* Tags: Group chat, BuddyPress
[6] Fix | Delete
* Version: 6.3.0
[7] Fix | Delete
* Author: RumbleTalk Ltd
[8] Fix | Delete
* Author URI: https://rumbletalk.com
[9] Fix | Delete
* License: GPL2
[10] Fix | Delete
*
[11] Fix | Delete
* Copyright 2012-2017 RumbleTalk Ltd (email : support@rumbletalk.com)
[12] Fix | Delete
*
[13] Fix | Delete
* This program is free trial software; you can redistribute it and/or modify
[14] Fix | Delete
* it under the terms of the GNU General Public License, version 2, as
[15] Fix | Delete
* published by the Free Software Foundation.
[16] Fix | Delete
*
[17] Fix | Delete
* This program is distributed in the hope that it will be useful,
[18] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[19] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[20] Fix | Delete
* GNU General Public License for more details.
[21] Fix | Delete
*
[22] Fix | Delete
* You should have received a copy of the GNU General Public License
[23] Fix | Delete
* along with this program; if not, write to the Free Software
[24] Fix | Delete
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
[25] Fix | Delete
*/
[26] Fix | Delete
[27] Fix | Delete
// If this file is called directly, abort.
[28] Fix | Delete
if (!defined('WPINC')) {
[29] Fix | Delete
die;
[30] Fix | Delete
}
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* Currently plugin version.
[34] Fix | Delete
* Start at version 1.0.0 and use SemVer - https://semver.org
[35] Fix | Delete
* Update this as you release new versions.
[36] Fix | Delete
*/
[37] Fix | Delete
define('RUMBLETALK_VERSION', '6.3.0');
[38] Fix | Delete
[39] Fix | Delete
add_filter('plugin_action_links', 'rumbletalk_settings_link', 10, 2);
[40] Fix | Delete
[41] Fix | Delete
function rumbletalk_settings_link($actions, $plugin_file)
[42] Fix | Delete
{
[43] Fix | Delete
static $plugin;
[44] Fix | Delete
[45] Fix | Delete
if (!isset($plugin)) {
[46] Fix | Delete
$plugin = plugin_basename(__FILE__);
[47] Fix | Delete
}
[48] Fix | Delete
[49] Fix | Delete
if ($plugin == $plugin_file) {
[50] Fix | Delete
$settings = array('settings' =>
[51] Fix | Delete
'<a href="' . admin_url('options-general.php?page=rumbletalk-chat') . '">Settings</a>');
[52] Fix | Delete
$actions = array_merge($settings, $actions);
[53] Fix | Delete
}
[54] Fix | Delete
[55] Fix | Delete
return $actions;
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'add_action_links');
[59] Fix | Delete
[60] Fix | Delete
function add_action_links($actions)
[61] Fix | Delete
{
[62] Fix | Delete
ob_start();
[63] Fix | Delete
?>
[64] Fix | Delete
<a href="https://www.youtube.com/embed/-Xodwu-hvBo"
[65] Fix | Delete
target="popup"
[66] Fix | Delete
onclick="window.open('https://www.youtube.com/embed/-Xodwu-hvBo', 'popup', 'width=1066, height=600'); return false;">
[67] Fix | Delete
Take a tour
[68] Fix | Delete
</a>
[69] Fix | Delete
<?php
[70] Fix | Delete
$anchor = ob_get_clean();
[71] Fix | Delete
return array_merge($actions, array($anchor));
[72] Fix | Delete
}
[73] Fix | Delete
[74] Fix | Delete
/**
[75] Fix | Delete
* The code that runs during plugin activation.
[76] Fix | Delete
* This action is documented in includes/class-rumbletalk-activator.php
[77] Fix | Delete
*/
[78] Fix | Delete
function activate_rumbletalk()
[79] Fix | Delete
{
[80] Fix | Delete
require_once plugin_dir_path(__FILE__) . 'includes/class-rumbletalk-activator.php';
[81] Fix | Delete
RumbleTalk_Activator::activate();
[82] Fix | Delete
}
[83] Fix | Delete
[84] Fix | Delete
/**
[85] Fix | Delete
* The code that runs during plugin deactivation.
[86] Fix | Delete
* This action is documented in includes/class-rumbletalk-deactivator.php
[87] Fix | Delete
*/
[88] Fix | Delete
function deactivate_rumbletalk()
[89] Fix | Delete
{
[90] Fix | Delete
require_once plugin_dir_path(__FILE__) . 'includes/class-rumbletalk-activator.php';
[91] Fix | Delete
RumbleTalk_Activator::deactivate();
[92] Fix | Delete
}
[93] Fix | Delete
[94] Fix | Delete
register_activation_hook(__FILE__, 'activate_rumbletalk');
[95] Fix | Delete
register_deactivation_hook(__FILE__, 'deactivate_rumbletalk');
[96] Fix | Delete
[97] Fix | Delete
/**
[98] Fix | Delete
* The core plugin class that is used to define internationalization,
[99] Fix | Delete
* admin-specific hooks, and public-facing site hooks.
[100] Fix | Delete
*/
[101] Fix | Delete
require plugin_dir_path(__FILE__) . 'includes/class-rumbletalk.php';
[102] Fix | Delete
[103] Fix | Delete
/**
[104] Fix | Delete
* Begins execution of the plugin.
[105] Fix | Delete
*
[106] Fix | Delete
* Since everything within the plugin is registered via hooks,
[107] Fix | Delete
* then kicking off the plugin from this point in the file does
[108] Fix | Delete
* not affect the page life cycle.
[109] Fix | Delete
*
[110] Fix | Delete
* @since 1.0.0
[111] Fix | Delete
*/
[112] Fix | Delete
function run_rumbletalk()
[113] Fix | Delete
{
[114] Fix | Delete
new RumbleTalk();
[115] Fix | Delete
}
[116] Fix | Delete
[117] Fix | Delete
run_rumbletalk();
[118] Fix | Delete
[119] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function