FM /home/u523506497/domains/mymelon.in/public_html/wp-includes UP
<?php
/**
* Defines constants and global variables that can be overridden, generally in wp-config.php.
*
* @package WordPress
*/
/**
* Defines initial WordPress constants.
*
* @see wp_debug_mode()
*
* @since 3.0.0
*
* @global int $blog_id The current site ID.
* @global string $wp_version The WordPress version string.
*/
function wp_initial_constants() {
global $blog_id, $wp_version;
/**#@+
* Constants for expressing human-readable data sizes in their respective number of bytes.
*
* @since 4.4.0
* @since 6.0.0 `PB_IN_BYTES`, `EB_IN_BYTES`, `ZB_IN_BYTES`, and `YB_IN_BYTES` were added.
*/
define( 'KB_IN_BYTES', 1024 );
define( 'MB_IN_BYTES', 1024 * KB_IN_BYTES );
define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES );
define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
define( 'PB_IN_BYTES', 1024 * TB_IN_BYTES );
define( 'EB_IN_BYTES', 1024 * PB_IN_BYTES );
define( 'ZB_IN_BYTES', 1024 * EB_IN_BYTES );
define( 'YB_IN_BYTES', 1024 * ZB_IN_BYTES );
/**#@-*/
// Start of run timestamp.
if ( ! defined( 'WP_START_TIMESTAMP' ) ) {
define( 'WP_START_TIMESTAMP', microtime( true ) );
}
$current_limit = ini_get( 'memory_limit' );
$current_limit_int = wp_convert_hr_to_bytes( $current_limit );
// Define memory limits.
if ( ! defined( 'WP_MEMORY_LIMIT' ) ) {
if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) {
define( 'WP_MEMORY_LIMIT', $current_limit );
} elseif ( is_multisite() ) {
define( 'WP_MEMORY_LIMIT', '64M' );
} else {
define( 'WP_MEMORY_LIMIT', '40M' );
}
}
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) {
define( 'WP_MAX_MEMORY_LIMIT', $current_limit );
} elseif ( -1 === $current_limit_int || $current_limit_int > 256 * MB_IN_BYTES ) {
define( 'WP_MAX_MEMORY_LIMIT', $current_limit );
} elseif ( wp_convert_hr_to_bytes( WP_MEMORY_LIMIT ) > 256 * MB_IN_BYTES ) {
define( 'WP_MAX_MEMORY_LIMIT', WP_MEMORY_LIMIT );
} else {
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
}
}
// Set memory limits.
$wp_limit_int = wp_convert_hr_to_bytes( WP_MEMORY_LIMIT );
if ( -1 !== $current_limit_int && ( -1 === $wp_limit_int || $wp_limit_int > $current_limit_int ) ) {
ini_set( 'memory_limit', WP_MEMORY_LIMIT );
}
if ( ! isset( $blog_id ) ) {
$blog_id = 1;
}
if ( ! defined( 'WP_CONTENT_DIR' ) ) {
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // No trailing slash, full paths only - WP_CONTENT_URL is defined further down.
}
/*
* Add define( 'WP_DEVELOPMENT_MODE', 'core' ), or define( 'WP_DEVELOPMENT_MODE', 'plugin' ), or
* define( 'WP_DEVELOPMENT_MODE', 'theme' ), or define( 'WP_DEVELOPMENT_MODE', 'all' ) to wp-config.php
* to signify development mode for WordPress core, a plugin, a theme, or all three types respectively.
*/
if ( ! defined( 'WP_DEVELOPMENT_MODE' ) ) {
define( 'WP_DEVELOPMENT_MODE', '' );
}
// Add define( 'WP_DEBUG', true ); to wp-config.php to enable display of notices during development.
if ( ! defined( 'WP_DEBUG' ) ) {
if ( wp_get_development_mode() || 'development' === wp_get_environment_type() ) {
define( 'WP_DEBUG', true );
} else {
define( 'WP_DEBUG', false );
}
}
/*
* Add define( 'WP_DEBUG_DISPLAY', null ); to wp-config.php to use the globally configured setting
* for 'display_errors' and not force errors to be displayed. Use false to force 'display_errors' off.
*/
if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) {
define( 'WP_DEBUG_DISPLAY', true );
}
// Add define( 'WP_DEBUG_LOG', true ); to enable error logging to wp-content/debug.log.
if ( ! defined( 'WP_DEBUG_LOG' ) ) {
define( 'WP_DEBUG_LOG', false );
}
if ( ! defined( 'WP_CACHE' ) ) {
define( 'WP_CACHE', false );
}
/*
* Add define( 'SCRIPT_DEBUG', true ); to wp-config.php to enable loading of non-minified,
* non-concatenated scripts and stylesheets.
*/
if ( ! defined( 'SCRIPT_DEBUG' ) ) {
if ( ! empty( $wp_version ) ) {
$develop_src = str_contains( $wp_version, '-src' );
} else {
$develop_src = false;
}
define( 'SCRIPT_DEBUG', $develop_src );
}
/**
* Private
*/
if ( ! defined( 'MEDIA_TRASH' ) ) {
define( 'MEDIA_TRASH', false );
}
if ( ! defined( 'SHORTINIT' ) ) {
define( 'SHORTINIT', false );
}
// Constants for features added to WP that should short-circuit their plugin implementations.
define( 'WP_FEATURE_BETTER_PASSWORDS', true );
/**#@+
* Constants for expressing human-readable intervals
* in their respective number of seconds.
*
* Please note that these values are approximate and are provided for convenience.
* For example, MONTH_IN_SECONDS wrongly assumes every month has 30 days and
* YEAR_IN_SECONDS does not take leap years into account.
*
* If you need more accuracy please consider using the DateTime class (https://www.php.net/manual/en/class.datetime.php).
*
* @since 3.5.0
* @since 4.4.0 Introduced `MONTH_IN_SECONDS`.
*/
define( 'MINUTE_IN_SECONDS', 60 );
define( 'HOUR_IN_SECONDS', 60 * MINUTE_IN_SECONDS );
define( 'DAY_IN_SECONDS', 24 * HOUR_IN_SECONDS );
define( 'WEEK_IN_SECONDS', 7 * DAY_IN_SECONDS );
define( 'MONTH_IN_SECONDS', 30 * DAY_IN_SECONDS );
define( 'YEAR_IN_SECONDS', 365 * DAY_IN_SECONDS );
/**#@-*/
}
/**
* Defines plugin directory WordPress constants.
*
* Defines must-use plugin directory constants, which may be overridden in the sunrise.php drop-in.
*
* @since 3.0.0
*/
function wp_plugin_directory_constants() {
if ( ! defined( 'WP_CONTENT_URL' ) ) {
define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' ); // Full URL - WP_CONTENT_DIR is defined further up.
}
/**
* Allows for the plugins directory to be moved from the default location.
*
* @since 2.6.0
*/
if ( ! defined( 'WP_PLUGIN_DIR' ) ) {
define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' ); // Full path, no trailing slash.
}
/**
* Allows for the plugins directory to be moved from the default location.
*
* @since 2.6.0
*/
if ( ! defined( 'WP_PLUGIN_URL' ) ) {
define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' ); // Full URL, no trailing slash.
}
/**
* Allows for the plugins directory to be moved from the default location.
*
* @since 2.1.0
* @deprecated
*/
if ( ! defined( 'PLUGINDIR' ) ) {
define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.
}
/**
* Allows for the mu-plugins directory to be moved from the default location.
*
* @since 2.8.0
*/
if ( ! defined( 'WPMU_PLUGIN_DIR' ) ) {
define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); // Full path, no trailing slash.
}
/**
* Allows for the mu-plugins directory to be moved from the default location.
*
* @since 2.8.0
*/
if ( ! defined( 'WPMU_PLUGIN_URL' ) ) {
define( 'WPMU_PLUGIN_URL', WP_CONTENT_URL . '/mu-plugins' ); // Full URL, no trailing slash.
}
/**
* Allows for the mu-plugins directory to be moved from the default location.
*
* @since 2.8.0
* @deprecated
*/
if ( ! defined( 'MUPLUGINDIR' ) ) {
define( 'MUPLUGINDIR', 'wp-content/mu-plugins' ); // Relative to ABSPATH. For back compat.
}
}
/**
* Defines cookie-related WordPress constants.
*
* Defines constants after multisite is loaded.
*
* @since 3.0.0
*/
function wp_cookie_constants() {
/**
* Used to guarantee unique hash cookies.
*
* @since 1.5.0
*/
if ( ! defined( 'COOKIEHASH' ) ) {
$siteurl = get_site_option( 'siteurl' );
if ( $siteurl ) {
define( 'COOKIEHASH', md5( $siteurl ) );
} else {
define( 'COOKIEHASH', '' );
}
}
/**
* @since 2.0.0
*/
if ( ! defined( 'USER_COOKIE' ) ) {
define( 'USER_COOKIE', 'wordpressuser_' . COOKIEHASH );
}
/**
* @since 2.0.0
*/
if ( ! defined( 'PASS_COOKIE' ) ) {
define( 'PASS_COOKIE', 'wordpresspass_' . COOKIEHASH );
}
/**
* @since 2.5.0
*/
if ( ! defined( 'AUTH_COOKIE' ) ) {
define( 'AUTH_COOKIE', 'wordpress_' . COOKIEHASH );
}
/**
* @since 2.6.0
*/
if ( ! defined( 'SECURE_AUTH_COOKIE' ) ) {
define( 'SECURE_AUTH_COOKIE', 'wordpress_sec_' . COOKIEHASH );
}
/**
* @since 2.6.0
*/
if ( ! defined( 'LOGGED_IN_COOKIE' ) ) {
define( 'LOGGED_IN_COOKIE', 'wordpress_logged_in_' . COOKIEHASH );
}
/**
* @since 2.3.0
*/
if ( ! defined( 'TEST_COOKIE' ) ) {
define( 'TEST_COOKIE', 'wordpress_test_cookie' );
}
/**
* @since 1.2.0
*/
if ( ! defined( 'COOKIEPATH' ) ) {
define( 'COOKIEPATH', preg_replace( '|https?://[^/]+|i', '', get_option( 'home' ) . '/' ) );
}
/**
* @since 1.5.0
*/
if ( ! defined( 'SITECOOKIEPATH' ) ) {
define( 'SITECOOKIEPATH', preg_replace( '|https?://[^/]+|i', '', get_option( 'siteurl' ) . '/' ) );
}
/**
* @since 2.6.0
*/
if ( ! defined( 'ADMIN_COOKIE_PATH' ) ) {
define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH . 'wp-admin' );
}
/**
* @since 2.6.0
*/
if ( ! defined( 'PLUGINS_COOKIE_PATH' ) ) {
define( 'PLUGINS_COOKIE_PATH', preg_replace( '|https?://[^/]+|i', '', WP_PLUGIN_URL ) );
}
/**
* @since 2.0.0
* @since 6.6.0 The value has changed from false to an empty string.
*/
if ( ! defined( 'COOKIE_DOMAIN' ) ) {
define( 'COOKIE_DOMAIN', '' );
}
if ( ! defined( 'RECOVERY_MODE_COOKIE' ) ) {
/**
* @since 5.2.0
*/
define( 'RECOVERY_MODE_COOKIE', 'wordpress_rec_' . COOKIEHASH );
}
}
/**
* Defines SSL-related WordPress constants.
*
* @since 3.0.0
*/
function wp_ssl_constants() {
/**
* @since 2.6.0
*/
if ( ! defined( 'FORCE_SSL_ADMIN' ) ) {
if ( 'https' === parse_url( get_option( 'siteurl' ), PHP_URL_SCHEME ) ) {
define( 'FORCE_SSL_ADMIN', true );
} else {
define( 'FORCE_SSL_ADMIN', false );
}
}
force_ssl_admin( FORCE_SSL_ADMIN );
/**
* @since 2.6.0
* @deprecated 4.0.0
*/
if ( defined( 'FORCE_SSL_LOGIN' ) && FORCE_SSL_LOGIN ) {
force_ssl_admin( true );
}
}
/**
* Defines functionality-related WordPress constants.
*
* @since 3.0.0
*/
function wp_functionality_constants() {
/**
* @since 2.5.0
*/
if ( ! defined( 'AUTOSAVE_INTERVAL' ) ) {
define( 'AUTOSAVE_INTERVAL', MINUTE_IN_SECONDS );
}
/**
* @since 2.9.0
*/
if ( ! defined( 'EMPTY_TRASH_DAYS' ) ) {
define( 'EMPTY_TRASH_DAYS', 30 );
}
if ( ! defined( 'WP_POST_REVISIONS' ) ) {
define( 'WP_POST_REVISIONS', true );
}
/**
* @since 3.3.0
*/
if ( ! defined( 'WP_CRON_LOCK_TIMEOUT' ) ) {
define( 'WP_CRON_LOCK_TIMEOUT', MINUTE_IN_SECONDS );
}
}
/**
* Defines templating-related WordPress constants.
*
* @since 3.0.0
*/
function wp_templating_constants() {
/**
* Filesystem path to the current active template directory.
*
* @since 1.5.0
* @deprecated 6.4.0 Use get_template_directory() instead.
* @see get_template_directory()
*/
define( 'TEMPLATEPATH', get_template_directory() );
/**
* Filesystem path to the current active template stylesheet directory.
*
* @since 2.1.0
* @deprecated 6.4.0 Use get_stylesheet_directory() instead.
* @see get_stylesheet_directory()
*/
define( 'STYLESHEETPATH', get_stylesheet_directory() );
/**
* Slug of the default theme for this installation.
* Used as the default theme when installing new sites.
* It will be used as the fallback if the active theme doesn't exist.
*
* @since 3.0.0
*
* @see WP_Theme::get_core_default_theme()
*/
if ( ! defined( 'WP_DEFAULT_THEME' ) ) {
define( 'WP_DEFAULT_THEME', 'twentytwentyfive' );
}
}
ID3 - IXR - PHPMailer - Requests - SimplePie - Text - abilities-api - abilities-api.php 32800 V abilities.php 11797 V admin-bar.php 40067 V ai-client - ai-client.php 2549 V assets - atomlib.php 12181 V author-template.php 19844 V block-bindings - block-bindings.php 7632 V block-editor.php 28724 V block-i18n.json 316 V block-patterns - block-patterns.php 15606 V block-supports - block-template-utils.php 63477 V block-template.php 18257 V blocks - blocks.php 124205 V bookmark-template.php 12768 V bookmark.php 15427 V build - cache-compat.php 11021 V cache.php 13486 V canonical.php 34786 V capabilities.php 43584 V category-template.php 56990 V category.php 12834 V certificates - class-IXR.php 2609 V class-avif-info.php 30008 V class-feed.php 539 V class-http.php 367 V class-json.php 171 V class-oembed.php 401 V class-phpass.php 6771 V class-phpmailer.php 664 V class-pop3.php 171 V class-requests.php 2237 V class-simplepie.php 453 V class-smtp.php 457 V class-snoopy.php 37715 V class-spl.php 171 V class-walker-category-dropdown.php 2469 V class-walker-category.php 8477 V class-walker-comment.php 14221 V class-walker-nav-menu.php 12044 V class-walker-page-dropdown.php 2710 V class-walker-page.php 7612 V class-wp-admin-bar.php 18002 V class-wp-ajax-response.php 5288 V class-wp-application-passwords.php 17099 V class-wp-block-bindings-registry.php 8263 V class-wp-block-bindings-source.php 2992 V class-wp-block-editor-context.php 1350 V class-wp-block-list.php 4713 V class-wp-block-metadata-registry.php 11846 V class-wp-block-parser-block.php 2555 V class-wp-block-parser-frame.php 1994 V class-wp-block-parser.php 11525 V class-wp-block-pattern-categories-registry.php 4383 V class-wp-block-patterns-registry.php 10265 V class-wp-block-processor.php 69914 V class-wp-block-styles-registry.php 6419 V class-wp-block-supports.php 7578 V class-wp-block-template.php 2111 V class-wp-block-templates-registry.php 7080 V class-wp-block-type-registry.php 5305 V class-wp-block-type.php 17222 V class-wp-block.php 28236 V class-wp-classic-to-block-menu-converter.php 4026 V class-wp-comment-query.php 49040 V class-wp-comment.php 17249 V class-wp-connector-registry.php 15181 V class-wp-customize-control.php 26112 V class-wp-customize-manager.php 202908 V class-wp-customize-nav-menus.php 58034 V class-wp-customize-panel.php 10703 V class-wp-customize-section.php 11209 V class-wp-customize-setting.php 29956 V class-wp-customize-widgets.php 72596 V class-wp-date-query.php 35970 V class-wp-dependencies.php 17089 V class-wp-dependency.php 2653 V class-wp-duotone.php 40836 V class-wp-editor.php 72228 V class-wp-embed.php 15908 V class-wp-error.php 7514 V class-wp-exception.php 253 V class-wp-fatal-error-handler.php 8150 V class-wp-feed-cache-transient.php 3304 V class-wp-feed-cache.php 969 V class-wp-filter-sentinel.php 760 V class-wp-hook.php 17584 V class-wp-http-cookie.php 7269 V class-wp-http-curl.php 13261 V class-wp-http-encoding.php 6689 V class-wp-http-ixr-client.php 3516 V class-wp-http-proxy.php 5980 V class-wp-http-requests-hooks.php 2022 V class-wp-http-requests-response.php 4243 V class-wp-http-response.php 2977 V class-wp-http-streams.php 16764 V class-wp-http.php 41641 V class-wp-icon-collections-registry.php 5805 V class-wp-icons-registry.php 9903 V class-wp-image-editor-gd.php 20741 V class-wp-image-editor-imagick.php 43454 V class-wp-image-editor.php 17456 V class-wp-list-util.php 7443 V class-wp-locale-switcher.php 6776 V class-wp-locale.php 16848 V class-wp-matchesmapregex.php 1828 V class-wp-meta-query.php 30507 V class-wp-metadata-lazyloader.php 6833 V class-wp-navigation-fallback.php 9193 V class-wp-network-query.php 19989 V class-wp-network.php 12411 V class-wp-object-cache.php 17524 V class-wp-oembed-controller.php 6905 V class-wp-oembed.php 34372 V class-wp-paused-extensions-storage.php 5067 V class-wp-phpmailer.php 4348 V class-wp-plugin-dependencies.php 25209 V class-wp-post-type-variable.php 0 V class-wp-post-type.php 30672 V class-wp-post.php 8806 V class-wp-query.php 164148 V class-wp-recovery-mode-cookie-service.php 6877 V class-wp-recovery-mode-email-service.php 11162 V class-wp-recovery-mode-key-service.php 4914 V class-wp-recovery-mode-link-service.php 3523 V class-wp-recovery-mode.php 11460 V class-wp-rewrite.php 63693 V class-wp-role.php 2523 V class-wp-roles.php 9326 V class-wp-script-modules.php 40743 V class-wp-scripts.php 36754 V class-wp-session-tokens.php 7319 V class-wp-simplepie-file.php 3552 V class-wp-simplepie-sanitize-kses.php 1903 V class-wp-site-query.php 31482 V class-wp-site.php 7836 V class-wp-speculation-rules.php 7884 V class-wp-styles.php 13316 V class-wp-tax-query.php 19577 V class-wp-taxonomy.php 18559 V class-wp-term-query.php 40751 V class-wp-term.php 5263 V class-wp-text-diff-renderer-inline.php 979 V class-wp-text-diff-renderer-table.php 18925 V class-wp-textdomain-registry.php 10481 V class-wp-theme-json-data.php 1805 V class-wp-theme-json-resolver.php 35692 V class-wp-theme-json-schema.php 7367 V class-wp-theme-json.php 222059 V class-wp-theme.php 65811 V class-wp-token-map.php 29032 V class-wp-url-pattern-prefixer.php 4802 V class-wp-user-meta-session-tokens.php 2954 V class-wp-user-query.php 44102 V class-wp-user-request.php 2342 V class-wp-user.php 23189 V class-wp-view-config-data.php 29427 V class-wp-walker.php 13292 V class-wp-widget-factory.php 4113 V class-wp-widget.php 18452 V class-wp-xmlrpc-server.php 217288 V class-wp.php 26520 V class-wpdb.php 121437 V class.wp-dependencies.php 373 V class.wp-scripts.php 343 V class.wp-styles.php 338 V comment-template.php 103211 V comment.php 150630 V compat-utf8.php 19386 V compat.php 22479 V connectors.php 32922 V cron.php 46266 V css - customize - date.php 400 V default-constants.php 11365 V default-filters.php 39500 V default-widgets.php 2288 V deprecated.php 193977 V embed-template.php 338 V embed.php 39215 V error-protection.php 4092 V feed-atom-comments.php 5504 V feed-atom.php 3114 V feed-rdf.php 2668 V feed-rss-core.php 146 V feed-rss.php 1189 V feed-rss2-comments.php 4136 V feed-rss2.php 3799 V feed.php 25189 V fonts - fonts.php 9789 V formatting.php 357678 V functions.php 295481 V functions.wp-scripts.php 20492 V functions.wp-styles.php 8654 V general-template-get.php 146 V general-template.php 184198 V global-styles-and-settings.php 20780 V html-api - http.php 28961 V https-detection.php 5857 V https-migration.php 4741 V icons.php 6334 V images - interactivity-api - js - json-schema.php 7802 V kses.php 88497 V l10n - l10n.php 71415 V link-template.php 160143 V load.php 56475 V locale.php 162 V media-template.php 65759 V media.php 236804 V meta.php 66739 V ms-blogs.php 26324 V ms-default-constants.php 4921 V ms-default-filters.php 6636 V ms-deprecated.php 21787 V ms-files.php 2857 V ms-functions.php 92530 V ms-load.php 20055 V ms-network.php 3782 V ms-settings.php 4197 V ms-site.php 41729 V nav-menu-template.php 25983 V nav-menu.php 44269 V option.php 105246 V php-ai-client - php-compat - pluggable-deprecated.php 6324 V pluggable.php 127919 V plugin.php 37123 V pomo - post-formats.php 7070 V post-template.php 69129 V post-thumbnail-template.php 10879 V post.php 305215 V query.php 37554 V registration-functions.php 200 V registration.php 200 V rest-api - rest-api.php 102951 V revision.php 31241 V rewrite.php 19567 V robots-template.php 5185 V rss-functions.php 277 V rss.php 23203 V script-loader.php 163550 V script-modules.php 12311 V session.php 258 V shortcodes-set.php 0 V shortcodes.php 24034 V sitemaps - sitemaps.php 3238 V sodium_compat - speculative-loading.php 11880 V spl-autoload-compat.php 441 V style-engine - style-engine.php 8045 V taxonomy.php 178307 V template-canvas.php 544 V template-loader.php 4267 V template.php 38826 V theme-compat - theme-i18n.json 1892 V theme-previews.php 2887 V theme-templates.php 4060 V theme.json 9480 V theme.php 134913 V update.php 38269 V user.php 180301 V utf8.php 6977 V vars.php 6600 V version.php 1103 V view-config.php 19087 V view-transitions.php 602 V widgets - widgets.php 70866 V wp-db.php 445 V wp-diff.php 792 V
Promotional Marketing