| Server IP : 185.252.147.100 / Your IP : 216.73.216.43 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/html/tour.mitrofanov.ru/public_04_11/wp-content/plugins/site-reviews/ |
Upload File : |
<?php
/**
* ╔═╗╔═╗╔╦╗╦╔╗╔╦ ╦ ╔═╗╔╗ ╔═╗
* ║ ╦║╣ ║║║║║║║║ ║ ╠═╣╠╩╗╚═╗
* ╚═╝╚═╝╩ ╩╩╝╚╝╩ ╩═╝╩ ╩╚═╝╚═╝.
*
* Plugin Name: Site Reviews
* Plugin URI: https://wordpress.org/plugins/site-reviews
* Description: Receive and display reviews on your website
* Version: 6.11.8
* Author: Paul Ryley
* Author URI: https://geminilabs.io
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Requires at least: 5.8
* Requires PHP: 7.2
* Text Domain: site-reviews
* Domain Path: languages
* WC requires at least: 6.4
* WC tested up to: 8.0
*/
defined('ABSPATH') || exit;
if (!class_exists('GL_Plugin_Check_v6')) {
require_once __DIR__.'/activate.php';
}
if ((new GL_Plugin_Check_v6(__FILE__))->canProceed()) {
require_once __DIR__.'/autoload.php';
require_once __DIR__.'/compatibility.php';
require_once __DIR__.'/deprecated.php';
require_once __DIR__.'/helpers.php';
require_once __DIR__.'/migration.php';
$app = GeminiLabs\SiteReviews\Application::load();
$app->make('Provider')->register($app);
register_deactivation_hook(__FILE__, [$app, 'deactivate']);
register_shutdown_function([$app, 'catchFatalError']);
$app->init();
}
/**
* Adds the message in plugin list view for the next version.
*
* @todo Remove this after the release.
*/
$pluginBasename = plugin_basename(__FILE__);
add_action("in_plugin_update_message-{$pluginBasename}", function () {
$title = __('Security update - Future Site Reviews versions will require PHP 7.4 and WordPress 6.1', 'site-reviews');
$message = __('The next Site Reviews update will change the PHP version requirement from 7.2 to 7.4 and the WordPress version requirement from 5.8 to 6.1.', 'site-reviews');
echo '<strong>'.esc_html($title).'</strong>';
echo wp_kses_post($message);
}, 100);