golden hour
/var/www/html/wp-includes/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
admin-bar.js
10.51 KB
Del
OK
admin-bar.min.js
3.47 KB
Del
OK
api-request.js
3.25 KB
Del
OK
api-request.min.js
1 KB
Del
OK
autosave.js
21.95 KB
Del
OK
autosave.min.js
5.69 KB
Del
OK
backbone.js
75.97 KB
Del
OK
backbone.min.js
23.26 KB
Del
OK
clipboard.js
27.81 KB
Del
OK
clipboard.min.js
10.36 KB
Del
OK
codemirror
-
Del
OK
colorpicker.js
28.4 KB
Del
OK
colorpicker.min.js
16.17 KB
Del
OK
comment-reply.js
12.17 KB
Del
OK
comment-reply.min.js
2.91 KB
Del
OK
crop
-
Del
OK
customize-base.js
25.15 KB
Del
OK
customize-base.min.js
7.67 KB
Del
OK
customize-loader.js
7.72 KB
Del
OK
customize-loader.min.js
3.47 KB
Del
OK
customize-models.js
6.66 KB
Del
OK
customize-models.min.js
3.61 KB
Del
OK
customize-preview-nav-menus.js
14.67 KB
Del
OK
customize-preview-nav-menus.min.js
4.92 KB
Del
OK
customize-preview-widgets.js
22.71 KB
Del
OK
customize-preview-widgets.min.js
7.64 KB
Del
OK
customize-preview.js
27.3 KB
Del
OK
customize-preview.min.js
10.51 KB
Del
OK
customize-selective-refresh.js
32.55 KB
Del
OK
customize-selective-refresh.min.js
10.44 KB
Del
OK
customize-views.js
4.95 KB
Del
OK
customize-views.min.js
2.39 KB
Del
OK
dist
-
Del
OK
heartbeat.js
22.6 KB
Del
OK
heartbeat.min.js
5.74 KB
Del
OK
hoverIntent.js
6.93 KB
Del
OK
hoverIntent.min.js
1.45 KB
Del
OK
hoverintent-js.min.js
1.68 KB
Del
OK
imagesloaded.min.js
5.5 KB
Del
OK
imgareaselect
-
Del
OK
jcrop
-
Del
OK
jquery
-
Del
OK
json2.js
17.99 KB
Del
OK
json2.min.js
3.08 KB
Del
OK
masonry.min.js
23.57 KB
Del
OK
mce-view.js
25.45 KB
Del
OK
mce-view.min.js
9.65 KB
Del
OK
media-audiovideo.js
27.03 KB
Del
OK
media-audiovideo.min.js
12.72 KB
Del
OK
media-editor.js
28.44 KB
Del
OK
media-editor.min.js
10.65 KB
Del
OK
media-grid.js
28.84 KB
Del
OK
media-grid.min.js
13.91 KB
Del
OK
media-models.js
45.41 KB
Del
OK
media-models.min.js
13.96 KB
Del
OK
media-views.js
268.05 KB
Del
OK
media-views.min.js
108.66 KB
Del
OK
mediaelement
-
Del
OK
plupload
-
Del
OK
quicktags.js
22.07 KB
Del
OK
quicktags.min.js
10.87 KB
Del
OK
shortcode.js
10.51 KB
Del
OK
shortcode.min.js
2.59 KB
Del
OK
swfobject.js
9.99 KB
Del
OK
swfupload
-
Del
OK
thickbox
-
Del
OK
tinymce
-
Del
OK
tw-sack.js
4.85 KB
Del
OK
tw-sack.min.js
3.22 KB
Del
OK
twemoji.js
31.21 KB
Del
OK
twemoji.min.js
14.9 KB
Del
OK
underscore.js
66.77 KB
Del
OK
underscore.min.js
18.63 KB
Del
OK
utils.js
4.56 KB
Del
OK
utils.min.js
1.82 KB
Del
OK
wp-ajax-response.js
3.12 KB
Del
OK
wp-ajax-response.min.js
2.03 KB
Del
OK
wp-api.js
45.88 KB
Del
OK
wp-api.min.js
14.34 KB
Del
OK
wp-auth-check.js
4.11 KB
Del
OK
wp-auth-check.min.js
1.62 KB
Del
OK
wp-backbone.js
14.88 KB
Del
OK
wp-backbone.min.js
2.97 KB
Del
OK
wp-custom-header.js
10.22 KB
Del
OK
wp-custom-header.min.js
4.34 KB
Del
OK
wp-embed-template.js
6.24 KB
Del
OK
wp-embed-template.min.js
3.08 KB
Del
OK
wp-embed.js
3.33 KB
Del
OK
wp-embed.min.js
1.44 KB
Del
OK
wp-emoji-loader.js
6.8 KB
Del
OK
wp-emoji-loader.min.js
1.81 KB
Del
OK
wp-emoji-release.min.js
17.75 KB
Del
OK
wp-emoji.js
8.78 KB
Del
OK
wp-emoji.min.js
2.81 KB
Del
OK
wp-list-revisions.js
970 B
Del
OK
wp-list-revisions.min.js
597 B
Del
OK
wp-lists.js
24.72 KB
Del
OK
wp-lists.min.js
7.27 KB
Del
OK
wp-pointer.js
9.99 KB
Del
OK
wp-pointer.min.js
3.54 KB
Del
OK
wp-sanitize.js
1.32 KB
Del
OK
wp-sanitize.min.js
458 B
Del
OK
wp-util.js
4.45 KB
Del
OK
wp-util.min.js
1.31 KB
Del
OK
wpdialog.js
560 B
Del
OK
wpdialog.min.js
272 B
Del
OK
wplink.js
20.66 KB
Del
OK
wplink.min.js
11.01 KB
Del
OK
zxcvbn-async.js
821 B
Del
OK
zxcvbn-async.min.js
351 B
Del
OK
zxcvbn.min.js
802.97 KB
Del
OK
Edit: api-request.js
/** * Thin jQuery.ajax wrapper for WP REST API requests. * * Currently only applies to requests that do not use the `wp-api.js` Backbone * client library, though this may change. Serves several purposes: * * - Allows overriding these requests as needed by customized WP installations. * - Sends the REST API nonce as a request header. * - Allows specifying only an endpoint namespace/path instead of a full URL. * * @since 4.9.0 * @since 5.6.0 Added overriding of the "PUT" and "DELETE" methods with "POST". * Added an "application/json" Accept header to all requests. * @output wp-includes/js/api-request.js */ ( function( $ ) { var wpApiSettings = window.wpApiSettings; function apiRequest( options ) { options = apiRequest.buildAjaxOptions( options ); return apiRequest.transport( options ); } apiRequest.buildAjaxOptions = function( options ) { var url = options.url; var path = options.path; var method = options.method; var namespaceTrimmed, endpointTrimmed, apiRoot; var headers, addNonceHeader, addAcceptHeader, headerName; if ( typeof options.namespace === 'string' && typeof options.endpoint === 'string' ) { namespaceTrimmed = options.namespace.replace( /^\/|\/$/g, '' ); endpointTrimmed = options.endpoint.replace( /^\//, '' ); if ( endpointTrimmed ) { path = namespaceTrimmed + '/' + endpointTrimmed; } else { path = namespaceTrimmed; } } if ( typeof path === 'string' ) { apiRoot = wpApiSettings.root; path = path.replace( /^\//, '' ); // API root may already include query parameter prefix // if site is configured to use plain permalinks. if ( 'string' === typeof apiRoot && -1 !== apiRoot.indexOf( '?' ) ) { path = path.replace( '?', '&' ); } url = apiRoot + path; } // If ?_wpnonce=... is present, no need to add a nonce header. addNonceHeader = ! ( options.data && options.data._wpnonce ); addAcceptHeader = true; headers = options.headers || {}; for ( headerName in headers ) { if ( ! headers.hasOwnProperty( headerName ) ) { continue; } // If an 'X-WP-Nonce' or 'Accept' header (or any case-insensitive variation // thereof) was specified, no need to add the header again. switch ( headerName.toLowerCase() ) { case 'x-wp-nonce': addNonceHeader = false; break; case 'accept': addAcceptHeader = false; break; } } if ( addNonceHeader ) { // Do not mutate the original headers object, if any. headers = $.extend( { 'X-WP-Nonce': wpApiSettings.nonce }, headers ); } if ( addAcceptHeader ) { headers = $.extend( { 'Accept': 'application/json, */*;q=0.1' }, headers ); } if ( typeof method === 'string' ) { method = method.toUpperCase(); if ( 'PUT' === method || 'DELETE' === method ) { headers = $.extend( { 'X-HTTP-Method-Override': method }, headers ); method = 'POST'; } } // Do not mutate the original options object. options = $.extend( {}, options, { headers: headers, url: url, method: method } ); delete options.path; delete options.namespace; delete options.endpoint; return options; }; apiRequest.transport = $.ajax; /** @namespace wp */ window.wp = window.wp || {}; window.wp.apiRequest = apiRequest; } )( jQuery );
Save