PluginProbe
View Transitions / trunk
View Transitions vtrunk
trunk 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1
view-transitions / view-transitions.php

view-transitions.php in View Transitions trunk, at view-transitions.php

41 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: View Transitions
4 * Plugin URI: https://github.com/WordPress/performance/tree/trunk/plugins/view-transitions
5 * Description: Adds smooth transitions between navigations to your WordPress site.
6 * Requires at least: 6.9
7 * Requires PHP: 7.4
8 * Version: 1.2.1
9 * Author: WordPress Performance Team
10 * Author URI: https://make.wordpress.org/performance/
11 * License: GPLv2 or later
12 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
13 * Text Domain: view-transitions
14 *
15 * @package view-transitions
16 */
17
18 declare( strict_types = 1 );
19
20 // @codeCoverageIgnoreStart
21 if ( ! defined( 'ABSPATH' ) ) {
22 exit; // Exit if accessed directly.
23 }
24
25 // Define the constant.
26 if ( defined( 'VIEW_TRANSITIONS_VERSION' ) ) {
27 return;
28 }
29
30 define( 'VIEW_TRANSITIONS_VERSION', '1.2.1' );
31 define( 'VIEW_TRANSITIONS_MAIN_FILE', __FILE__ );
32
33 require_once __DIR__ . '/includes/admin.php';
34 require_once __DIR__ . '/includes/class-plvt-view-transition-animation.php';
35 require_once __DIR__ . '/includes/class-plvt-view-transition-animation-registry.php';
36 require_once __DIR__ . '/includes/functions.php';
37 require_once __DIR__ . '/includes/theme.php';
38 require_once __DIR__ . '/includes/settings.php';
39 require_once __DIR__ . '/hooks.php';
40 // @codeCoverageIgnoreEnd
41