vk-all-in-one-expansion-unit
Last commit date
admin
4 years ago
assets
4 years ago
bin
5 years ago
inc
4 years ago
languages
4 years ago
tests
4 years ago
.node-version
4 years ago
.phpcs.xml.dist
5 years ago
.svnignore
5 years ago
.wp-env.json
5 years ago
Dockerfile
6 years ago
LICENSE
6 years ago
composer.json
4 years ago
composer.lock
4 years ago
docker-compose.yml
6 years ago
gulpfile.js
4 years ago
initialize.php
4 years ago
package-lock.json
4 years ago
package.json
4 years ago
phpunit.xml
4 years ago
phpunit.xml.dist
4 years ago
readme.txt
4 years ago
screenshot-1.png
6 years ago
screenshot-2.png
6 years ago
uninstaller.php
4 years ago
veu-package-manager.php
4 years ago
veu-packages.php
4 years ago
vkExUnit.php
4 years ago
vkExUnit.php
71 lines
| 1 | <?php // phpcs:ignore |
| 2 | /** |
| 3 | * Plugin Name: VK All in One Expansion Unit |
| 4 | * Plugin URI: https://ex-unit.nagoya |
| 5 | * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more! |
| 6 | * Version: 9.70.0.0 |
| 7 | * Requires PHP: 7.0 |
| 8 | * Author: Vektor,Inc. |
| 9 | * Text Domain: vk-all-in-one-expansion-unit |
| 10 | * Domain Path: /languages |
| 11 | * Author URI: https://vektor-inc.co.jp |
| 12 | * GitHub Plugin URI: vektor-inc/VK-All-in-One-Expansion-Unit |
| 13 | * GitHub Plugin URI: https://github.com/vektor-inc/VK-All-in-One-Expansion-Unit |
| 14 | * License: GPL2 |
| 15 | * |
| 16 | * @package VK All in One Expansion Unit |
| 17 | */ |
| 18 | |
| 19 | /* |
| 20 | Copyright 2015-2021 Vektor,Inc. ( email : kurudrive@gmail.com ) |
| 21 | |
| 22 | This program is free software; you can redistribute it and/or modify |
| 23 | it under the terms of the GNU General Public License, version 2, as |
| 24 | published by the Free Software Foundation. |
| 25 | |
| 26 | This program is distributed in the hope that it will be useful, |
| 27 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 28 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 29 | GNU General Public License for more details. |
| 30 | |
| 31 | You should have received a copy of the GNU General Public License |
| 32 | along with this program; if not, write to the Free Software |
| 33 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 34 | */ |
| 35 | |
| 36 | define( 'VEU_FONT_AWESOME_DEFAULT_VERSION', 5 ); |
| 37 | define( 'VEU_DIRECTORY_PATH', dirname( __FILE__ ) ); |
| 38 | define( 'VEU_DIRECTORY_URI', plugins_url( '', __FILE__ ) ); |
| 39 | |
| 40 | // Set Plugin version. |
| 41 | $data = get_file_data( __FILE__, array( 'version' => 'Version' ) ); |
| 42 | define( 'VEU_VERSION', $data['version'] ); |
| 43 | |
| 44 | require_once VEU_DIRECTORY_PATH . '/initialize.php'; |
| 45 | |
| 46 | if ( function_exists( 'register_deactivation_hook' ) ) { |
| 47 | register_deactivation_hook( __FILE__, 'veu_uninstall_function' ); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Uninstall function |
| 52 | * |
| 53 | * @return void |
| 54 | */ |
| 55 | function veu_uninstall_function() { |
| 56 | require_once VEU_DIRECTORY_PATH . '/initialize.php'; |
| 57 | include VEU_DIRECTORY_PATH . '/uninstaller.php'; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Modify the height of a specific CSS class to fix an issue in Chrome 77 with Gutenberg. |
| 62 | * |
| 63 | * @see https://github.com/WordPress/gutenberg/issues/17406 |
| 64 | */ |
| 65 | add_action( |
| 66 | 'admin_head', |
| 67 | function() { |
| 68 | echo '<style>.block-editor-writing-flow { height: auto; }</style>'; // phpcs:ignore |
| 69 | } |
| 70 | ); |
| 71 |