WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
accordion.js
2933
x
-
accordion.min.js
758
x
-
application-passwords.js
6394
x
-
application-passwords.min.js
3024
x
-
auth-app.js
5796
x
-
auth-app.min.js
2084
x
-
code-editor.js
17963
x
-
code-editor.min.js
3543
x
-
color-picker.js
9768
x
-
color-picker.min.js
3486
x
-
comment.js
5205
x
-
comment.min.js
2081
x
-
common.js
70438
x
-
common.min.js
26225
x
-
custom-background.js
3435
x
-
custom-background.min.js
1206
x
-
custom-header.js
2023
x
-
customize-controls.js
295905
x
-
customize-controls.min.js
112538
x
-
customize-nav-menus.js
114134
x
-
customize-nav-menus.min.js
48272
x
-
customize-widgets.js
71727
x
-
customize-widgets.min.js
28065
x
-
dashboard.js
27562
x
-
dashboard.min.js
8711
x
-
edit-comments.js
38139
x
-
edit-comments.min.js
15515
x
-
editor-expand.js
42606
x
-
editor-expand.min.js
13451
x
-
editor.js
45055
x
-
editor.min.js
13085
x
-
farbtastic.js
7849
x
-
gallery.js
5543
x
-
gallery.min.js
3741
x
-
image-edit.js
40936
x
-
image-edit.min.js
15515
x
-
inline-edit-post.js
20676
x
-
inline-edit-post.min.js
9586
x
-
inline-edit-tax.js
7797
x
-
inline-edit-tax.min.js
2997
x
-
iris.min.js
23643
x
-
language-chooser.js
890
x
-
language-chooser.min.js
423
x
-
link.js
4873
x
-
link.min.js
2319
x
-
media-gallery.js
1303
x
-
media-gallery.min.js
611
x
-
media-upload.js
3465
x
-
media-upload.min.js
1152
x
-
media.js
6765
x
-
media.min.js
2439
x
-
nav-menu.js
62617
x
-
nav-menu.min.js
30785
x
-
password-strength-meter.js
4236
x
-
password-strength-meter.min.js
1123
x
-
password-toggle.js
1339
x
-
password-toggle.min.js
847
x
-
plugin-install.js
7086
x
-
plugin-install.min.js
2403
x
-
post.js
40494
x
-
post.min.js
19415
x
-
postbox.js
18937
x
-
postbox.min.js
6761
x
-
privacy-tools.js
11146
x
-
privacy-tools.min.js
5189
x
-
revisions.js
34729
x
-
revisions.min.js
18401
x
-
set-post-thumbnail.js
876
x
-
set-post-thumbnail.min.js
620
x
-
site-health.js
13880
x
-
site-health.min.js
6474
x
-
site-icon.js
6853
x
-
site-icon.min.js
2532
x
-
svg-painter.js
3280
x
-
svg-painter.min.js
1567
x
-
tags-box.js
11140
x
-
tags-box.min.js
3077
x
-
tags-suggest.js
5771
x
-
tags-suggest.min.js
2269
x
-
tags.js
7839
x
-
tags.min.js
3111
x
-
theme-plugin-editor.js
26176
x
-
theme-plugin-editor.min.js
12104
x
-
theme.js
57419
x
-
theme.min.js
27554
x
-
updates.js
111999
x
-
updates.min.js
48443
x
-
user-profile.js
18161
x
-
user-profile.min.js
7914
x
-
user-suggest.js
2301
x
-
user-suggest.min.js
676
x
D
widgets/
-
widgets.js
23098
x
-
widgets.min.js
12609
x
-
word-count.js
7696
x
-
word-count.min.js
1530
x
-
xfn.js
740
x
-
xfn.min.js
458
x
Upload
Simpan
/** * @output wp-admin/js/auth-app.js */ /* global authApp */ ( function( $, authApp ) { var $appNameField = $( '#app_name' ), $approveBtn = $( '#approve' ), $rejectBtn = $( '#reject' ), $form = $appNameField.closest( 'form' ), context = { userLogin: authApp.user_login, successUrl: authApp.success, rejectUrl: authApp.reject }; $approveBtn.on( 'click', function( e ) { var name = $appNameField.val(), appId = $( 'input[name="app_id"]', $form ).val(); e.preventDefault(); if ( $approveBtn.prop( 'aria-disabled' ) ) { return; } if ( 0 === name.length ) { $appNameField.trigger( 'focus' ); return; } $approveBtn.prop( 'aria-disabled', true ).addClass( 'disabled' ); var request = { name: name }; if ( appId.length > 0 ) { request.app_id = appId; } /** * Filters the request data used to Authorize an Application Password request. * * @since 5.6.0 * * @param {Object} request The request data. * @param {Object} context Context about the Application Password request. * @param {string} context.userLogin The user's login username. * @param {string} context.successUrl The URL the user will be redirected to after approving the request. * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. */ request = wp.hooks.applyFilters( 'wp_application_passwords_approve_app_request', request, context ); wp.apiRequest( { path: '/wp/v2/users/me/application-passwords?_locale=user', method: 'POST', data: request } ).done( function( response, textStatus, jqXHR ) { /** * Fires when an Authorize Application Password request has been successfully approved. * * In most cases, this should be used in combination with the {@see 'wp_authorize_application_password_form_approved_no_js'} * action to ensure that both the JS and no-JS variants are handled. * * @since 5.6.0 * * @param {Object} response The response from the REST API. * @param {string} response.password The newly created password. * @param {string} textStatus The status of the request. * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. */ wp.hooks.doAction( 'wp_application_passwords_approve_app_request_success', response, textStatus, jqXHR ); var raw = authApp.success, url, message, $notice; if ( raw ) { url = raw + ( -1 === raw.indexOf( '?' ) ? '?' : '&' ) + 'site_url=' + encodeURIComponent( authApp.site_url ) + '&user_login=' + encodeURIComponent( authApp.user_login ) + '&password=' + encodeURIComponent( response.password ); window.location = url; } else { message = wp.i18n.sprintf( /* translators: %s: Application name. */ '<label for="new-application-password-value">' + wp.i18n.__( 'Your new password for %s is:' ) + '</label>', '<strong></strong>' ) + ' <input id="new-application-password-value" type="text" class="code" readonly="readonly" value="" />'; $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .attr( 'tabindex', -1 ) .addClass( 'notice notice-success notice-alt' ) .append( $( '<p></p>' ).addClass( 'application-password-display' ).html( message ) ) .append( '<p>' + wp.i18n.__( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) + '</p>' ); // We're using .text() to write the variables to avoid any chance of XSS. $( 'strong', $notice ).text( response.name ); $( 'input', $notice ).val( response.password ); $form.replaceWith( $notice ); $notice.trigger( 'focus' ); } } ).fail( function( jqXHR, textStatus, errorThrown ) { var errorMessage = errorThrown, error = null; if ( jqXHR.responseJSON ) { error = jqXHR.responseJSON; if ( error.message ) { errorMessage = error.message; } } var $notice = $( '<div></div>' ) .attr( 'role', 'alert' ) .addClass( 'notice notice-error' ) .append( $( '<p></p>' ).text( errorMessage ) ); $( 'h1' ).after( $notice ); $approveBtn.removeProp( 'aria-disabled', false ).removeClass( 'disabled' ); /** * Fires when an Authorize Application Password request encountered an error when trying to approve the request. * * @since 5.6.0 * @since 5.6.1 Corrected action name and signature. * * @param {Object|null} error The error from the REST API. May be null if the server did not send proper JSON. * @param {string} textStatus The status of the request. * @param {string} errorThrown The error message associated with the response status code. * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. */ wp.hooks.doAction( 'wp_application_passwords_approve_app_request_error', error, textStatus, errorThrown, jqXHR ); } ); } ); $rejectBtn.on( 'click', function( e ) { e.preventDefault(); /** * Fires when an Authorize Application Password request has been rejected by the user. * * @since 5.6.0 * * @param {Object} context Context about the Application Password request. * @param {string} context.userLogin The user's login username. * @param {string} context.successUrl The URL the user will be redirected to after approving the request. * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. */ wp.hooks.doAction( 'wp_application_passwords_reject_app', context ); // @todo: Make a better way to do this so it feels like less of a semi-open redirect. window.location = authApp.reject; } ); $form.on( 'submit', function( e ) { e.preventDefault(); } ); }( jQuery, authApp ) );
Exec