- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
977 B
PHP
Executable File
29 lines
977 B
PHP
Executable File
<?php
|
|
/**
|
|
* Factory Bootstrap
|
|
*
|
|
* Factory is an internal professional framework developed by OnePress Ltd
|
|
* for own needs. Please don't use it to create your own independent plugins.
|
|
* In future the one will be documentated and released for public.
|
|
*
|
|
* @author Paul Kashtanoff <paul@byonepress.com>
|
|
* @copyright (c) 2013, OnePress Ltd
|
|
*
|
|
* @package factory-bootstrap
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
// module provides function only for the admin area
|
|
if ( !is_admin() ) return;
|
|
|
|
if (defined('FACTORY_BOOTSTRAP_331_LOADED')) return;
|
|
define('FACTORY_BOOTSTRAP_331_LOADED', true);
|
|
|
|
define('FACTORY_BOOTSTRAP_331_DIR', dirname(__FILE__));
|
|
define('FACTORY_BOOTSTRAP_331_URL', plugins_url(null, __FILE__ ));
|
|
|
|
// sets version of admin interface
|
|
define('FACTORY_BOOTSTRAP_331_VERSION', 'FACTORY_BOOTSTRAP_331');
|
|
if ( !defined('FACTORY_FLAT_ADMIN')) define('FACTORY_FLAT_ADMIN', true);
|
|
|
|
include_once(FACTORY_BOOTSTRAP_331_DIR . '/includes/functions.php'); |