Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/fyntric.com/wp-content/themes/smart-mag/lib/vendor/plugins/ |
Upload File : |
PK 03YsB�� � sphere-post-views/log-view.php<?php /** * A very fast custom endpoint for AJAX logging. * * Note: Plugin hooks will not work as it uses SHORTINIT. */ use Sphere\PostViews\Admin\OptionsData; use Sphere\PostViews\Endpoint; use Sphere\PostViews\Options; use Sphere\PostViews\Plugin; define('DOING_AJAX', true); define('SHORTINIT', true); $wp_load = '../../../wp-load.php'; // Send 500 if WordPress cannot be loaded. if (!file_exists($wp_load)) { http_response_code(500); exit; } require_once $wp_load; // Required for nonces in the endpoint. See Helper::create_token() if (!function_exists('wp_hash')) { require ABSPATH . WPINC . '/pluggable.php'; } // Not really needed in the endpoint, but just a polyfill as plugin_dir_url() uses it // but it's not available in SHORTINIT. if (!function_exists('plugins_url')) { function plugins_url($path = '', $plugin = '') { return ''; } } /** * Launch the plugin. */ require_once __DIR__ . '/inc/plugin.php'; $plugin = Plugin::get_instance(); $plugin->plugin_file = __FILE__; $plugin->register_autoloader(); $endpoint = new Endpoint( new Options(OptionsData::OPTIONS_KEY) ); // Test to check if 500 or success. Ensures everything loaded. if (isset($_GET['test'])) { die('Successful'); } $endpoint->update_views();PK 03Y��6 6 sphere-post-views/readme.txt=== Sphere Post Views === Contributors: asadkn, ThemeSphere Tags: views, post views, views counter Requires at least: 5.5 Tested up to: 6.0 Requires PHP: 7.1 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html Post views counters for ThemeSphere themes, slightly based on WP Popular Posts. == Description == A post views plugin with advanced performance optimization features, for ThemeSphere themes. == Changelog == = 1.0.1 = * Fixed: WPML counters not being counted. * Fixed: PHP 8.1 warning on type declaration. = 1.0.0 = * Initial release.PK 03Y5� '