GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — cloudinary_wordpress/cloudinary.php at master · cloudinary/cloudinary_wordpress Expand file tree/ Copy pathcloudinary.phpMore file actions 65 lines (59 loc) · 2.45 KB / Copy pathcloudinary.phpFile metadata and controls65 lines (59 loc) · 2.45 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 <?php /** * Plugin Name: Cloudinary * Plugin URI: https://cloudinary.com/documentation/wordpress_integration * Description: With the Cloudinary plugin, you can upload and manage your media assets in the cloud, then deliver them to your users through a fast content delivery network, improving your website’s loading speed and overall user experience. Apply multiple transformations and take advantage of a full digital asset management solution without leaving WordPress. * Version: STABLETAG * Author: Cloudinary Ltd., XWP * Author URI: https://cloudinary.com/ * License: GPLv2+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: cloudinary * Domain Path: /languages * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 or, at * your discretion, any later version, as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * @package Cloudinary */ namespace Cloudinary; use WP_CLI; // Define Cloudinary Constants. define( 'CLDN_CORE', __FILE__ ); define( 'CLDN_PATH', plugin_dir_path( __FILE__ ) ); if ( version_compare( phpversion(), '7.4', '>=' ) ) { require_once __DIR__ . '/instance.php'; register_activation_hook( __FILE__, array( 'Cloudinary\Utils', 'install' ) ); register_deactivation_hook( __FILE__, array( 'Cloudinary\Analytics', 'record_deactivation' ) ); } else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found if ( defined( 'WP_CLI' ) ) { WP_CLI::warning( php_version_text() ); } else { add_action( 'admin_notices', __NAMESPACE__ . '\php_version_error' ); } } /** * Admin notice for incompatible versions of PHP. */ function php_version_error() { printf( '<div class="error"><p>%s</p></div>', esc_html( php_version_text() ) ); } /** * String describing the minimum PHP version. * * @return string */ function php_version_text() { return __( 'Cloudinary plugin error: Your version of PHP is too old to run this plugin. You must be running PHP 7.4 or higher.', 'cloudinary' ); } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |