/home/desid573/public_html/magicride.ng/wp-includes
NameSizeModeActions
blocks/-0755rm
certificates/-0755rm
css/-0755rm
customize/-0755rm
fonts/-0755rm
ID3/-0755rm
images/-0755rm
IXR/-0755rm
js/-0755rm
pomo/-0755rm
random_compat/-0755rm
Requests/-0755rm
rest-api/-0755rm
SimplePie/-0755rm
sodium_compat/-0755rm
Text/-0755rm
theme-compat/-0755rm
widgets/-0755rm
admin-bar.php304350644editdlrm
atomlib.php118390644editdlrm
author-template.php166500644editdlrm
blocks.php182410644editdlrm
bookmark-template.php119180644editdlrm
bookmark.php139010644editdlrm
cache.php218740644editdlrm
canonical.php284870644editdlrm
capabilities.php317210644editdlrm
category-template.php520310644editdlrm
category.php122270644editdlrm
class-feed.php5230644editdlrm
class-http.php371410644editdlrm
class-IXR.php25730644editdlrm
class-json.php404760644editdlrm
class-oembed.php314820644editdlrm
class-phpass.php73170644editdlrm
class-phpmailer.php1482440644editdlrm
class-pop3.php209190644editdlrm
class-requests.php297900644editdlrm
class-simplepie.php892640644editdlrm
class-smtp.php394760644editdlrm
class-snoopy.php377850644editdlrm
class-walker-category-dropdown.php21270644editdlrm
class-walker-category.php77510644editdlrm
class-walker-comment.php136540644editdlrm
class-walker-nav-menu.php86420644editdlrm
class-walker-page-dropdown.php22980644editdlrm
class-walker-page.php69930644editdlrm
class-wp-admin-bar.php169200644editdlrm
class-wp-ajax-response.php51270644editdlrm
class-wp-block-parser.php152150644editdlrm
class-wp-block-type-registry.php50890644editdlrm
class-wp-block-type.php48150644editdlrm
class-wp-comment-query.php432230644editdlrm
class-wp-comment.php89610644editdlrm
class-wp-customize-control.php250530644editdlrm
class-wp-customize-manager.php2018560644editdlrm
class-wp-customize-nav-menus.php543540644editdlrm
class-wp-customize-panel.php96470644editdlrm
class-wp-customize-section.php102290644editdlrm
class-wp-customize-setting.php282430644editdlrm
class-wp-customize-widgets.php662960644editdlrm
class-wp-dependency.php23350644editdlrm
class-wp-editor.php678720644editdlrm
class-wp-embed.php147320644editdlrm
class-wp-error.php49230644editdlrm
class-wp-fatal-error-handler.php64620644editdlrm
class-wp-feed-cache-transient.php25600644editdlrm
class-wp-feed-cache.php7490644editdlrm
class-wp-hook.php141050644editdlrm
class-wp-http-cookie.php68470644editdlrm
class-wp-http-curl.php119280644editdlrm
class-wp-http-encoding.php65030644editdlrm
class-wp-http-ixr-client.php33260644editdlrm
class-wp-http-proxy.php60610644editdlrm
class-wp-http-requests-hooks.php18760644editdlrm
class-wp-http-requests-response.php43980644editdlrm
class-wp-http-response.php28710644editdlrm
class-wp-http-streams.php153850644editdlrm
class-wp-image-editor-gd.php130610644editdlrm
class-wp-image-editor-imagick.php217800644editdlrm
class-wp-image-editor.php117610644editdlrm
class-wp-list-util.php63960644editdlrm
class-wp-locale-switcher.php50260644editdlrm
class-wp-locale.php146290644editdlrm
class-wp-matchesmapregex.php18040644editdlrm
class-wp-meta-query.php234360644editdlrm
class-wp-metadata-lazyloader.php53840644editdlrm
class-wp-network-query.php178350644editdlrm
class-wp-network.php122170644editdlrm
class-wp-oembed-controller.php60240644editdlrm
class-wp-paused-extensions-storage.php49330644editdlrm
class-wp-post-type.php182360644editdlrm
class-wp-post.php64410644editdlrm
class-wp-query.php1308180644editdlrm
class-wp-recovery-mode-cookie-service.php62470644editdlrm
class-wp-recovery-mode-email-service.php79960644editdlrm
class-wp-recovery-mode-key-service.php42840644editdlrm
class-wp-recovery-mode-link-service.php33700644editdlrm
class-wp-recovery-mode.php112540644editdlrm
class-wp-rewrite.php598210644editdlrm
class-wp-role.php26610644editdlrm
class-wp-roles.php83280644editdlrm
class-wp-session-tokens.php74300644editdlrm
class-wp-simplepie-file.php23260644editdlrm
class-wp-simplepie-sanitize-kses.php17750644editdlrm
class-wp-site-query.php280380644editdlrm
class-wp-site.php73060644editdlrm
class-wp-tax-query.php194330644editdlrm
class-wp-taxonomy.php106610644editdlrm
class-wp-term-query.php346560644editdlrm
class-wp-term.php52650644editdlrm
class-wp-text-diff-renderer-inline.php7160644editdlrm
class-wp-text-diff-renderer-table.php164480644editdlrm
class-wp-theme.php503860644editdlrm
class-wp-user-meta-session-tokens.php29900644editdlrm
class-wp-user-query.php312240644editdlrm
class-wp-user.php214140644editdlrm
class-wp-walker.php126870644editdlrm
class-wp-widget-factory.php37810644editdlrm
class-wp-widget.php178340644editdlrm
class-wp-xmlrpc-server.php2078490644editdlrm
class-wp.php247540644editdlrm
class.wp-dependencies.php115120644editdlrm
class.wp-scripts.php171910644editdlrm
class.wp-styles.php98420644editdlrm
comment-template.php898690644editdlrm
comment.php1153730644editdlrm
compat.php177530644editdlrm
cron.php324600644editdlrm
date.php356180644editdlrm
default-constants.php101260644editdlrm
default-filters.php257270644editdlrm
default-widgets.php21800644editdlrm
deprecated.php1142700644editdlrm
embed-template.php3440644editdlrm
embed.php471220644editdlrm
error-protection.php33860644editdlrm
error_log5654880644editdlrm
feed-atom-comments.php53780644editdlrm
feed-atom.php30810644editdlrm
feed-rdf.php26600644editdlrm
feed-rss.php11900644editdlrm
feed-rss2-comments.php41220644editdlrm
feed-rss2.php37820644editdlrm
feed.php213800644editdlrm
formatting.php2956780644editdlrm
functions.php2199590644editdlrm
functions.wp-scripts.php128300644editdlrm
functions.wp-styles.php82190644editdlrm
general-template.php1466320644editdlrm
http.php224240644editdlrm
kses.php572330644editdlrm
l10n.php519250644editdlrm
link-template.php1384820644editdlrm
load.php431460644editdlrm
locale.php1410644editdlrm
media-template.php489220644editdlrm
media.php1447630644editdlrm
meta.php465510644editdlrm
ms-blogs.php231220644editdlrm
ms-default-constants.php47850644editdlrm
ms-default-filters.php64140644editdlrm
ms-deprecated.php199070644editdlrm
ms-files.php26490644editdlrm
ms-functions.php870590644editdlrm
ms-load.php195570644editdlrm
ms-network.php36580644editdlrm
ms-settings.php41340644editdlrm
ms-site.php430640644editdlrm
nav-menu-template.php220080644editdlrm
nav-menu.php406720644editdlrm
option.php695550644editdlrm
pluggable-deprecated.php62620644editdlrm
pluggable.php986300644editdlrm
plugin.php320680644editdlrm
post-formats.php70240644editdlrm
post-template.php617640644editdlrm
post-thumbnail-template.php89570644editdlrm
post.php2353640644editdlrm
query.php329930644editdlrm
registration-functions.php1800644editdlrm
registration.php1800644editdlrm
rest-api.php420530644editdlrm
revision.php215860644editdlrm
rewrite.php177230644editdlrm
rss-functions.php1930644editdlrm
rss.php232080644editdlrm
script-loader.php1096050644editdlrm
session.php2430644editdlrm
shortcodes.php216980644editdlrm
spl-autoload-compat.php25740644editdlrm
taxonomy.php1566550644editdlrm
template-loader.php26950644editdlrm
template.php208280644editdlrm
theme.php1023010644editdlrm
update.php253820644editdlrm
user.php1240860644editdlrm
vars.php57150644editdlrm
version.php7620644editdlrm
widgets.php572000644editdlrm
wlwmanifest.xml10450644editdlrm
wp-db.php1016200644editdlrm
wp-diff.php6620644editdlrm
Edit: /home/desid573/public_html/magicride.ng/wp-includes/functions.wp-scripts.php (12830B)
wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ), '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_items() * @global WP_Scripts $wp_scripts The WP_Scripts object for printing scripts. * * @since 2.1.0 * * @param string|bool|array $handles Optional. Scripts to be printed. Default 'false'. * @return array On success, a processed array of WP_Dependencies items; otherwise, an empty array. */ function wp_print_scripts( $handles = false ) { /** * 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__ ); global $wp_scripts; 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__ ); if ( false !== stripos( $data, '' ) ) { _doing_it_wrong( __FUNCTION__, sprintf( /* translators: 1: #is', '$1', $data ) ); } return wp_scripts()->add_inline_script( $handle, $data, $position ); } /** * Register 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. * * @param string $handle Name of the script. Should be unique. * @param string|bool $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 array $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 bool $in_footer Optional. Whether to enqueue the script before instead of in the . * 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, $in_footer = false ) { $wp_scripts = wp_scripts(); _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); $registered = $wp_scripts->add( $handle, $src, $deps, $ver ); if ( $in_footer ) { $wp_scripts->add_data( $handle, 'group', 1 ); } return $registered; } /** * Localize a script. * * Works only if the script has already been added. * * Accepts an associative array $l10n and creates a JavaScript object: * * "$object_name" = { * key: value, * key: value, * ... * } * * @see WP_Dependencies::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__ ); return false; } return $wp_scripts->localize( $handle, $object_name, $l10n ); } /** * Sets translated strings for a script. * * Works only if the script has already been added. * * @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 = null ) { global $wp_scripts; if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); return false; } return $wp_scripts->set_translations( $handle, $domain, $path ); } /** * Remove 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 * * @param string $handle Name of the script to be removed. */ function wp_deregister_script( $handle ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); /** * 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' === $GLOBALS['pagenow'] && 'login_enqueue_scripts' !== $current_filter ) ) { $no = 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, $no ) ) { $message = 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' ); _doing_it_wrong( __FUNCTION__, $message, '3.6.0' ); return; } } wp_scripts()->remove( $handle ); } /** * Enqueue 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 * * @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 array $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 bool $in_footer Optional. Whether to enqueue the script before instead of in the . * Default 'false'. */ function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $in_footer = false ) { $wp_scripts = wp_scripts(); _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); if ( $src || $in_footer ) { $_handle = explode( '?', $handle ); if ( $src ) { $wp_scripts->add( $_handle[0], $src, $deps, $ver ); } if ( $in_footer ) { $wp_scripts->add_data( $_handle[0], 'group', 1 ); } } $wp_scripts->enqueue( $handle ); } /** * Remove 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__ ); 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 $list 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, $list = 'enqueued' ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); return (bool) wp_scripts()->query( $handle, $list ); } /** * Add metadata to a script. * * Works only if the script has already been added. * * 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 ); }