dist
1 year ago
includes
1 month ago
locale
2 months ago
res
1 year ago
src
1 month ago
templates
1 month ago
vendor-bin
3 years ago
Makefile
5 years ago
README.md
5 years ago
installer.php
1 month ago
loader.php
1 month ago
phpcs.compatibility.xml
1 year ago
phpcs.xml
5 years ago
phpunit.xml
10 months ago
repositories.xml
3 years ago
webpack.config.js
1 year ago
installer.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | include_once untrailingslashit( plugin_dir_path( __FILE__ ) ) . '/includes/class-otgs-installer-wp-share-local-components-setting.php'; |
| 5 | |
| 6 | if ( version_compare( $delegate['version'], '1.8.12', '>=' ) ) { |
| 7 | define( 'WP_INSTALLER_VERSION', $delegate['version'] ); |
| 8 | } |
| 9 | |
| 10 | include_once dirname( __FILE__ ) . '/includes/class-otgs-installer-autoloader.php'; |
| 11 | |
| 12 | $autoload = new OTGS_Installer_Autoloader(); |
| 13 | $autoload->initialize(); |
| 14 | |
| 15 | WP_Installer(); |
| 16 | WP_Installer_Channels(); |
| 17 | |
| 18 | $installer_loader = new OTGS_Installer_Loader( get_OTGS_Installer_Factory() ); |
| 19 | $installer_loader->init(); |
| 20 |