PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
jetpack
<?php /** * Load all Jetpack files that do not get loaded via the autoloader. * * @package automattic/jetpack */ /** * Returns the location of Jetpack's lib directory. This filter is applied * in require_lib(). * * @since 4.0.2 * * @return string Location of Jetpack library directory. * * @filter require_lib_dir */ function jetpack_require_lib_dir() { return JETPACK__PLUGIN_DIR . '_inc/lib'; } add_filter( 'jetpack_require_lib_dir', 'jetpack_require_lib_dir' ); /** * Checks if the code debug mode turned on, and returns false if it is. When Jetpack is in * code debug mode, it shouldn't use minified assets. Note that this filter is not being used * in every place where assets are enqueued. The filter is added at priority 9 to be overridden * by any default priority filter that runs after it. * * @since 6.2.0 * * @return boolean * * @filter jetpack_should_use_minified_assets */ function jetpack_should_use_minified_assets() { return ! defined( 'SCRIPT_DEBUG' ) || ! SCRIPT_DEBUG; } add_filter( 'jetpack_should_use_minified_assets', 'jetpack_should_use_minified_assets', 9 ); // @todo: Abstract out the admin functions, and only include them if is_admin() require_once JETPACK__PLUGIN_DIR . 'class.jetpack.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-network.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-client-server.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-user-agent.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-post-images.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-heartbeat.php'; require_once JETPACK__PLUGIN_DIR . 'class.photon.php'; require_once JETPACK__PLUGIN_DIR . 'functions.photon.php'; require_once JETPACK__PLUGIN_DIR . 'functions.global.php'; require_once JETPACK__PLUGIN_DIR . 'functions.compat.php'; require_once JETPACK__PLUGIN_DIR . 'functions.gallery.php'; require_once JETPACK__PLUGIN_DIR . 'functions.cookies.php'; require_once JETPACK__PLUGIN_DIR . 'require-lib.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-autoupdate.php'; require_once JETPACK__PLUGIN_DIR . 'class.frame-nonce-preview.php'; require_once JETPACK__PLUGIN_DIR . 'modules/module-headings.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-connection-banner.php'; require_once JETPACK__PLUGIN_DIR . 'class.jetpack-plan.php'; require_once JETPACK__PLUGIN_DIR . 'class-jetpack-xmlrpc-methods.php'; Jetpack_XMLRPC_Methods::init(); require_once JETPACK__PLUGIN_DIR . 'class-jetpack-connection-status.php'; Jetpack_Connection_Status::init(); jetpack_require_lib( 'class-jetpack-recommendations' ); require_once JETPACK__PLUGIN_DIR . 'class-jetpack-recommendations-banner.php'; if ( is_admin() ) { require_once JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php'; jetpack_require_lib( 'debugger' ); } // Play nice with https://wp-cli.org/. if ( defined( 'WP_CLI' ) && WP_CLI ) { require_once JETPACK__PLUGIN_DIR . 'class.jetpack-cli.php'; } require_once JETPACK__PLUGIN_DIR . '_inc/lib/class.core-rest-api-endpoints.php'; add_action( 'updating_jetpack_version', array( 'Jetpack', 'do_version_bump' ), 10, 2 ); add_filter( 'is_jetpack_site', '__return_true' ); if ( JETPACK__SANDBOX_DOMAIN ) { require_once JETPACK__PLUGIN_DIR . '_inc/jetpack-server-sandbox.php'; } require_once JETPACK__PLUGIN_DIR . '3rd-party/3rd-party.php'; Jetpack::init();
[+]
_inc
[-] uninstall.php
[edit]
[-] jest.config.js
[edit]
[-] composer.json
[edit]
[-] class-jetpack-xmlrpc-methods.php
[edit]
[-] class-jetpack-connection-status.php
[edit]
[-] class.jetpack-affiliate.php
[edit]
[-] class.jetpack-ixr-client.php
[edit]
[-] class.json-api.php
[edit]
[-] class.jetpack-post-images.php
[edit]
[-] wpml-config.xml
[edit]
[-] class-jetpack-pre-connection-jitms.php
[edit]
[+]
..
[-] class.jetpack-network.php
[edit]
[-] LICENSE.txt
[edit]
[-] class.jetpack-twitter-cards.php
[edit]
[-] functions.global.php
[edit]
[-] functions.compat.php
[edit]
[-] class.jetpack-network-sites-list-table.php
[edit]
[-] functions.gallery.php
[edit]
[+]
modules
[-] class.jetpack-cli.php
[edit]
[-] class-jetpack-recommendations-banner.php
[edit]
[-] class.jetpack-idc.php
[edit]
[-] functions.photon.php
[edit]
[-] functions.cookies.php
[edit]
[+]
vendor
[-] require-lib.php
[edit]
[-] jetpack.php
[edit]
[-] SECURITY.md
[edit]
[-] class.jetpack-modules-list-table.php
[edit]
[-] class.jetpack-data.php
[edit]
[-] class.jetpack-connection-banner.php
[edit]
[+]
css
[-] readme.txt
[edit]
[-] class-jetpack-wizard-banner.php
[edit]
[-] json-api-config.php
[edit]
[+]
extensions
[-] load-jetpack.php
[edit]
[-] json-endpoints.php
[edit]
[-] class.jetpack-bbpress-json-api.compat.php
[edit]
[-] class.jetpack-client-server.php
[edit]
[-] locales.php
[edit]
[-] class.jetpack-gutenberg.php
[edit]
[-] functions.opengraph.php
[edit]
[+]
views
[-] class.jetpack-user-agent.php
[edit]
[-] class.photon.php
[edit]
[+]
3rd-party
[+]
images
[-] class.jetpack-plan.php
[edit]
[+]
json-endpoints
[-] class.jetpack-autoupdate.php
[edit]
[-] class.frame-nonce-preview.php
[edit]
[+]
sal
[-] class.jetpack.php
[edit]
[-] class.jetpack-admin.php
[edit]
[+]
src
[-] CHANGELOG.md
[edit]
[-] class.jetpack-heartbeat.php
[edit]
[-] class.json-api-endpoints.php
[edit]