/home/altere25/sportzsoft.altereddigital.com/wp-includes
NameSizeModeActions
assets/-0755rm
block-patterns/-0755rm
block-supports/-0755rm
blocks/-0755rm
certificates/-0755rm
css/-0755rm
customize/-0755rm
fonts/-0755rm
html-api/-0755rm
ID3/-0755rm
images/-0755rm
IXR/-0755rm
js/-0755rm
php-compat/-0755rm
PHPMailer/-0755rm
pomo/-0755rm
Requests/-0755rm
rest-api/-0755rm
SimplePie/-0755rm
sitemaps/-0755rm
sodium_compat/-0755rm
style-engine/-0755rm
Text/-0755rm
theme-compat/-0755rm
widgets/-0755rm
.htaccess1780644editdlrm
admin-bar.php359960644editdlrm
atomlib.php119500644editdlrm
author-template.php189510644editdlrm
block-editor.php279230644editdlrm
block-i18n.json3160644editdlrm
block-patterns.php129420644editdlrm
block-template-utils.php484840644editdlrm
block-template.php122880644editdlrm
blocks.php728840644editdlrm
bookmark-template.php129090644editdlrm
bookmark.php153780644editdlrm
cache-compat.php59690644editdlrm
cache.php134740644editdlrm
canonical.php344600644editdlrm
capabilities.php400260644editdlrm
category-template.php570030644editdlrm
category.php127090644editdlrm
class-feed.php5290644editdlrm
class-http.php3670644editdlrm
class-IXR.php25430644editdlrm
class-json.php436840644editdlrm
class-oembed.php4010644editdlrm
class-phpass.php67080644editdlrm
class-phpmailer.php6640644editdlrm
class-pop3.php209690644editdlrm
class-requests.php22370644editdlrm
class-simplepie.php981240644editdlrm
class-smtp.php4570644editdlrm
class-snoopy.php377150644editdlrm
class-walker-category-dropdown.php24690644editdlrm
class-walker-category.php84770644editdlrm
class-walker-comment.php142130644editdlrm
class-walker-nav-menu.php113130644editdlrm
class-walker-page-dropdown.php27100644editdlrm
class-walker-page.php76120644editdlrm
class-wp-admin-bar.php173640644editdlrm
class-wp-ajax-response.php52660644editdlrm
class-wp-application-passwords.php128540644editdlrm
class-wp-block-editor-context.php13500644editdlrm
class-wp-block-list.php47730644editdlrm
class-wp-block-parser-block.php25550644editdlrm
class-wp-block-parser-frame.php19160644editdlrm
class-wp-block-parser.php115320644editdlrm
class-wp-block-pattern-categories-registry.php53710644editdlrm
class-wp-block-patterns-registry.php100770644editdlrm
class-wp-block-styles-registry.php58830644editdlrm
class-wp-block-supports.php55190644editdlrm
class-wp-block-template.php19510644editdlrm
class-wp-block-type-registry.php50130644editdlrm
class-wp-block-type.php147430644editdlrm
class-wp-block.php84010644editdlrm
class-wp-classic-to-block-menu-converter.php40880644editdlrm
class-wp-comment-query.php478290644editdlrm
class-wp-comment.php93720644editdlrm
class-wp-customize-control.php258420644editdlrm
class-wp-customize-manager.php2022570644editdlrm
class-wp-customize-nav-menus.php575660644editdlrm
class-wp-customize-panel.php106700644editdlrm
class-wp-customize-section.php112440644editdlrm
class-wp-customize-setting.php298890644editdlrm
class-wp-customize-widgets.php716120644editdlrm
class-wp-date-query.php357190644editdlrm
class-wp-dependencies.php140620644editdlrm
class-wp-dependency.php26270644editdlrm
class-wp-duotone.php394430644editdlrm
class-wp-editor.php720840644editdlrm
class-wp-embed.php159940644editdlrm
class-wp-error.php75020644editdlrm
class-wp-fatal-error-handler.php78720644editdlrm
class-wp-feed-cache-transient.php25860644editdlrm
class-wp-feed-cache.php9690644editdlrm
class-wp-hook.php160000644editdlrm
class-wp-http-cookie.php73890644editdlrm
class-wp-http-curl.php125410644editdlrm
class-wp-http-encoding.php66890644editdlrm
class-wp-http-ixr-client.php35060644editdlrm
class-wp-http-proxy.php59800644editdlrm
class-wp-http-requests-hooks.php20220644editdlrm
class-wp-http-requests-response.php44000644editdlrm
class-wp-http-response.php29770644editdlrm
class-wp-http-streams.php168590644editdlrm
class-wp-http.php405850644editdlrm
class-wp-image-editor-gd.php175250644editdlrm
class-wp-image-editor-imagick.php376390644editdlrm
class-wp-image-editor.php175840644editdlrm
class-wp-list-util.php74430644editdlrm
class-wp-locale-switcher.php65610644editdlrm
class-wp-locale.php161150644editdlrm
class-wp-matchesmapregex.php18260644editdlrm
class-wp-meta-query.php305330644editdlrm
class-wp-metadata-lazyloader.php68330644editdlrm
class-wp-navigation-fallback.php92110644editdlrm
class-wp-network-query.php192910644editdlrm
class-wp-network.php121890644editdlrm
class-wp-object-cache.php176050644editdlrm
class-wp-oembed-controller.php68790644editdlrm
class-wp-oembed.php313940644editdlrm
class-wp-paused-extensions-storage.php50620644editdlrm
class-wp-post-type.php299780644editdlrm
class-wp-post.php64840644editdlrm
class-wp-query.php1515820644editdlrm
class-wp-recovery-mode-cookie-service.php68770644editdlrm
class-wp-recovery-mode-email-service.php111830644editdlrm
class-wp-recovery-mode-key-service.php45010644editdlrm
class-wp-recovery-mode-link-service.php34630644editdlrm
class-wp-recovery-mode.php114350644editdlrm
class-wp-rewrite.php634300644editdlrm
class-wp-role.php25230644editdlrm
class-wp-roles.php85800644editdlrm
class-wp-scripts.php286630644editdlrm
class-wp-session-tokens.php74510644editdlrm
class-wp-simplepie-file.php33770644editdlrm
class-wp-simplepie-sanitize-kses.php17700644editdlrm
class-wp-site-query.php310200644editdlrm
class-wp-site.php74540644editdlrm
class-wp-styles.php108980644editdlrm
class-wp-tax-query.php195450644editdlrm
class-wp-taxonomy.php185670644editdlrm
class-wp-term-query.php410150644editdlrm
class-wp-term.php52980644editdlrm
class-wp-text-diff-renderer-inline.php8290644editdlrm
class-wp-text-diff-renderer-table.php188070644editdlrm
class-wp-textdomain-registry.php59760644editdlrm
class-wp-theme-json-data.php15530644editdlrm
class-wp-theme-json-resolver.php246410644editdlrm
class-wp-theme-json-schema.php42230644editdlrm
class-wp-theme-json.php1295580644editdlrm
class-wp-theme.php642670644editdlrm
class-wp-user-meta-session-tokens.php29900644editdlrm
class-wp-user-query.php433910644editdlrm
class-wp-user-request.php22220644editdlrm
class-wp-user.php227620644editdlrm
class-wp-walker.php131660644editdlrm
class-wp-widget-factory.php33470644editdlrm
class-wp-widget.php183860644editdlrm
class-wp-xmlrpc-server.php2141400644editdlrm
class-wp.php261190644editdlrm
class-wpdb.php1194570644editdlrm
class.wp-dependencies.php3730644editdlrm
class.wp-scripts.php3430644editdlrm
class.wp-styles.php3380644editdlrm
comment-template.php1014320644editdlrm
comment.php1291120644editdlrm
compat.php152190644editdlrm
cron.php414730644editdlrm
date.php4000644editdlrm
default-constants.php111710644editdlrm
default-filters.php345060644editdlrm
default-widgets.php22220644editdlrm
deprecated.php1838090644editdlrm
embed-template.php3380644editdlrm
embed.php376590644editdlrm
error-protection.php41210644editdlrm
feed-atom-comments.php54510644editdlrm
feed-atom.php30480644editdlrm
feed-rdf.php26680644editdlrm
feed-rss.php11890644editdlrm
feed-rss2-comments.php40800644editdlrm
feed-rss2.php37990644editdlrm
feed.php230570644editdlrm
fonts.php23380644editdlrm
formatting.php3349910644editdlrm
functions.php2762850644editdlrm
functions.wp-scripts.php147590644editdlrm
functions.wp-styles.php85830644editdlrm
general-template.php1677240644editdlrm
global-styles-and-settings.php202050644editdlrm
http.php256240644editdlrm
https-detection.php56610644editdlrm
https-migration.php47410644editdlrm
kses.php720650644editdlrm
l10n.php627830644editdlrm
link-template.php1560750644editdlrm
load.php541290644editdlrm
locale.php1620644editdlrm
media-template.php618210644editdlrm
media.php2074260644editdlrm
meta.php640780644editdlrm
ms-blogs.php256280644editdlrm
ms-default-constants.php49000644editdlrm
ms-default-filters.php66360644editdlrm
ms-deprecated.php217580644editdlrm
ms-files.php27110644editdlrm
ms-functions.php912580644editdlrm
ms-load.php198700644editdlrm
ms-network.php37820644editdlrm
ms-settings.php41240644editdlrm
ms-site.php405020644editdlrm
nav-menu-template.php257850644editdlrm
nav-menu.php440520644editdlrm
option.php913400644editdlrm
pluggable-deprecated.php62630644editdlrm
pluggable.php1130210644editdlrm
plugin.php354650644editdlrm
post-formats.php71000644editdlrm
post-template.php667930644editdlrm
post-thumbnail-template.php103080644editdlrm
post.php2783200644editdlrm
query.php370350644editdlrm
registration-functions.php2000644editdlrm
registration.php2000644editdlrm
rest-api.php971440644editdlrm
revision.php309050644editdlrm
rewrite.php195140644editdlrm
robots-template.php51850644editdlrm
rss-functions.php2550644editdlrm
rss.php230150644editdlrm
script-loader.php1300790644editdlrm
session.php2580644editdlrm
shortcodes.php238560644editdlrm
sitemaps.php32380644editdlrm
spl-autoload-compat.php4410644editdlrm
style-engine.php72000644editdlrm
taxonomy.php1735280644editdlrm
template-canvas.php5440644editdlrm
template-loader.php33500644editdlrm
template.php235250644editdlrm
theme-i18n.json11510644editdlrm
theme-previews.php28260644editdlrm
theme-templates.php62230644editdlrm
theme.json73030644editdlrm
theme.php1312090644editdlrm
update.php368240644editdlrm
user.php1717980644editdlrm
vars.php62020644editdlrm
version.php9290644editdlrm
widgets.php698750644editdlrm
wp-db.php4450644editdlrm
wp-diff.php6470644editdlrm
Edit: /home/altere25/sportzsoft.altereddigital.com/wp-includes/functions.wp-scripts.php (14759B)
wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ); if ( $handle ) { $message .= ' ' . sprintf( /* translators: %s: Name of the script or stylesheet. */ __( 'This notice was triggered by the %s handle.' ), '' . $handle . '' ); } _doing_it_wrong( $function_name, $message, '3.3.0' ); } /** * Prints scripts in document head that are in the $handles queue. * * Called by admin-header.php and {@see 'wp_head'} hook. Since it is called by wp_head on every page load, * the function does not instantiate the WP_Scripts object unless script names are explicitly passed. * Makes use of already-instantiated `$wp_scripts` global if present. Use provided {@see 'wp_print_scripts'} * hook to register/enqueue new scripts. * * @see WP_Scripts::do_item() * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * * @since 2.1.0 * * @param string|string[]|false $handles Optional. Scripts to be printed. Default 'false'. * @return string[] On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array. */ function wp_print_scripts( $handles = false ) { global $wp_scripts; /** * Fires before scripts in the $handles queue are printed. * * @since 2.1.0 */ do_action( 'wp_print_scripts' ); if ( '' === $handles ) { // For 'wp_head'. $handles = false; } _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { if ( ! $handles ) { return array(); // No need to instantiate if nothing is there. } } return wp_scripts()->do_items( $handles ); } /** * Adds extra code to a registered script. * * Code will only be added if the script is already in the queue. * Accepts a string `$data` containing the code. If two or more code blocks * are added to the same script `$handle`, they will be printed in the order * they were added, i.e. the latter added code can redeclare the previous. * * @since 4.5.0 * * @see WP_Scripts::add_inline_script() * * @param string $handle Name of the script to add the inline script to. * @param string $data String containing the JavaScript to be added. * @param string $position Optional. Whether to add the inline script before the handle * or after. Default 'after'. * @return bool True on success, false on failure. */ function wp_add_inline_script( $handle, $data, $position = 'after' ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); if ( false !== stripos( $data, '' ) ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: #is', '$1', $data ) ); } return wp_scripts()->add_inline_script( $handle, $data, $position ); } /** * Registers a new script. * * Registers a script to be enqueued later using the wp_enqueue_script() function. * * @see WP_Dependencies::add() * @see WP_Dependencies::add_data() * * @since 2.1.0 * @since 4.3.0 A return value was added. * @since 6.3.0 The $in_footer parameter of type boolean was overloaded to be an $args parameter of type array. * * @param string $handle Name of the script. Should be unique. * @param string|false $src Full URL of the script, or path of the script relative to the WordPress root directory. * If source is set to false, script is an alias of other scripts it depends on. * @param string[] $deps Optional. An array of registered script handles this script depends on. Default empty array. * @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL * as a query string for cache busting purposes. If version is set to false, a version * number is automatically added equal to current installed WordPress version. * If set to null, no version is added. * @param array|bool $args { * Optional. An array of additional script loading strategies. Default empty array. * Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false. * * @type string $strategy Optional. If provided, may be either 'defer' or 'async'. * @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'. * } * @return bool Whether the script has been registered. True on success, false on failure. */ function wp_register_script( $handle, $src, $deps = array(), $ver = false, $args = array() ) { if ( ! is_array( $args ) ) { $args = array( 'in_footer' => (bool) $args, ); } _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); $wp_scripts = wp_scripts(); $registered = $wp_scripts->add( $handle, $src, $deps, $ver ); if ( ! empty( $args['in_footer'] ) ) { $wp_scripts->add_data( $handle, 'group', 1 ); } if ( ! empty( $args['strategy'] ) ) { $wp_scripts->add_data( $handle, 'strategy', $args['strategy'] ); } return $registered; } /** * Localizes a script. * * Works only if the script has already been registered. * * Accepts an associative array `$l10n` and creates a JavaScript object: * * "$object_name": { * key: value, * key: value, * ... * } * * @see WP_Scripts::localize() * @link https://core.trac.wordpress.org/ticket/11520 * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * * @since 2.2.0 * * @todo Documentation cleanup * * @param string $handle Script handle the data will be attached to. * @param string $object_name Name for the JavaScript object. Passed directly, so it should be qualified JS variable. * Example: '/[a-zA-Z0-9_]+/'. * @param array $l10n The data itself. The data can be either a single or multi-dimensional array. * @return bool True if the script was successfully localized, false otherwise. */ function wp_localize_script( $handle, $object_name, $l10n ) { global $wp_scripts; if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); return false; } return $wp_scripts->localize( $handle, $object_name, $l10n ); } /** * Sets translated strings for a script. * * Works only if the script has already been registered. * * @see WP_Scripts::set_translations() * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * * @since 5.0.0 * @since 5.1.0 The `$domain` parameter was made optional. * * @param string $handle Script handle the textdomain will be attached to. * @param string $domain Optional. Text domain. Default 'default'. * @param string $path Optional. The full file path to the directory containing translation files. * @return bool True if the text domain was successfully localized, false otherwise. */ function wp_set_script_translations( $handle, $domain = 'default', $path = '' ) { global $wp_scripts; if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); return false; } return $wp_scripts->set_translations( $handle, $domain, $path ); } /** * Removes a registered script. * * Note: there are intentional safeguards in place to prevent critical admin scripts, * such as jQuery core, from being unregistered. * * @see WP_Dependencies::remove() * * @since 2.1.0 * * @global string $pagenow The filename of the current screen. * * @param string $handle Name of the script to be removed. */ function wp_deregister_script( $handle ) { global $pagenow; _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); /** * Do not allow accidental or negligent de-registering of critical scripts in the admin. * Show minimal remorse if the correct hook is used. */ $current_filter = current_filter(); if ( ( is_admin() && 'admin_enqueue_scripts' !== $current_filter ) || ( 'wp-login.php' === $pagenow && 'login_enqueue_scripts' !== $current_filter ) ) { $not_allowed = array( 'jquery', 'jquery-core', 'jquery-migrate', 'jquery-ui-core', 'jquery-ui-accordion', 'jquery-ui-autocomplete', 'jquery-ui-button', 'jquery-ui-datepicker', 'jquery-ui-dialog', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse', 'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-resizable', 'jquery-ui-selectable', 'jquery-ui-slider', 'jquery-ui-sortable', 'jquery-ui-spinner', 'jquery-ui-tabs', 'jquery-ui-tooltip', 'jquery-ui-widget', 'underscore', 'backbone', ); if ( in_array( $handle, $not_allowed, true ) ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: Script name, 2: wp_enqueue_scripts */ __( 'Do not deregister the %1$s script in the administration area. To target the front-end theme, use the %2$s hook.' ), "$handle", 'wp_enqueue_scripts' ), '3.6.0' ); return; } } wp_scripts()->remove( $handle ); } /** * Enqueues a script. * * Registers the script if `$src` provided (does NOT overwrite), and enqueues it. * * @see WP_Dependencies::add() * @see WP_Dependencies::add_data() * @see WP_Dependencies::enqueue() * * @since 2.1.0 * @since 6.3.0 The $in_footer parameter of type boolean was overloaded to be an $args parameter of type array. * * @param string $handle Name of the script. Should be unique. * @param string $src Full URL of the script, or path of the script relative to the WordPress root directory. * Default empty. * @param string[] $deps Optional. An array of registered script handles this script depends on. Default empty array. * @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL * as a query string for cache busting purposes. If version is set to false, a version * number is automatically added equal to current installed WordPress version. * If set to null, no version is added. * @param array|bool $args { * Optional. An array of additional script loading strategies. Default empty array. * Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false. * * @type string $strategy Optional. If provided, may be either 'defer' or 'async'. * @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'. * } */ function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $args = array() ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); $wp_scripts = wp_scripts(); if ( $src || ! empty( $args ) ) { $_handle = explode( '?', $handle ); if ( ! is_array( $args ) ) { $args = array( 'in_footer' => (bool) $args, ); } if ( $src ) { $wp_scripts->add( $_handle[0], $src, $deps, $ver ); } if ( ! empty( $args['in_footer'] ) ) { $wp_scripts->add_data( $_handle[0], 'group', 1 ); } if ( ! empty( $args['strategy'] ) ) { $wp_scripts->add_data( $_handle[0], 'strategy', $args['strategy'] ); } } $wp_scripts->enqueue( $handle ); } /** * Removes a previously enqueued script. * * @see WP_Dependencies::dequeue() * * @since 3.1.0 * * @param string $handle Name of the script to be removed. */ function wp_dequeue_script( $handle ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); wp_scripts()->dequeue( $handle ); } /** * Determines whether a script has been added to the queue. * * For more information on this and similar theme functions, check out * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ * Conditional Tags} article in the Theme Developer Handbook. * * @since 2.8.0 * @since 3.5.0 'enqueued' added as an alias of the 'queue' list. * * @param string $handle Name of the script. * @param string $status Optional. Status of the script to check. Default 'enqueued'. * Accepts 'enqueued', 'registered', 'queue', 'to_do', and 'done'. * @return bool Whether the script is queued. */ function wp_script_is( $handle, $status = 'enqueued' ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); return (bool) wp_scripts()->query( $handle, $status ); } /** * Adds metadata to a script. * * Works only if the script has already been registered. * * Possible values for $key and $value: * 'conditional' string Comments for IE 6, lte IE 7, etc. * * @since 4.2.0 * * @see WP_Dependencies::add_data() * * @param string $handle Name of the script. * @param string $key Name of data point for which we're storing a value. * @param mixed $value String containing the data to be added. * @return bool True on success, false on failure. */ function wp_script_add_data( $handle, $key, $value ) { return wp_scripts()->add_data( $handle, $key, $value ); }