X7ROOT File Manager
Current Path:
/home/okeydcqc/okeyanueyiagu.com/wp-admin/js
home
/
okeydcqc
/
okeyanueyiagu.com
/
wp-admin
/
js
/
ðŸ“
..
📄
accordion.js
(2.86 KB)
📄
accordion.min.js
(758 B)
📄
application-passwords.js
(6.24 KB)
📄
application-passwords.min.js
(2.95 KB)
📄
auth-app.js
(5.66 KB)
📄
auth-app.min.js
(2.04 KB)
📄
code-editor.js
(11.32 KB)
📄
code-editor.min.js
(3.01 KB)
📄
color-picker.js
(9.54 KB)
📄
color-picker.min.js
(3.4 KB)
📄
comment.js
(2.85 KB)
📄
comment.min.js
(1.28 KB)
📄
common.js
(61.15 KB)
📄
common.min.js
(23.12 KB)
📄
custom-background.js
(3.35 KB)
📄
custom-background.min.js
(1.18 KB)
📄
custom-header.js
(1.98 KB)
📄
customize-controls.js
(287.36 KB)
📄
customize-controls.min.js
(109.14 KB)
📄
customize-nav-menus.js
(110.92 KB)
📄
customize-nav-menus.min.js
(46.89 KB)
📄
customize-widgets.js
(70.05 KB)
📄
customize-widgets.min.js
(27.41 KB)
📄
dashboard.js
(27.02 KB)
📄
dashboard.min.js
(8.65 KB)
📄
edit-comments.js
(37.12 KB)
📄
edit-comments.min.js
(15.13 KB)
📄
editor-expand.js
(41.61 KB)
📄
editor-expand.min.js
(13.14 KB)
📄
editor.js
(43.98 KB)
📄
editor.min.js
(12.76 KB)
📄
farbtastic.js
(7.67 KB)
📄
gallery.js
(5.41 KB)
📄
gallery.min.js
(3.65 KB)
📄
image-edit.js
(39.98 KB)
📄
image-edit.min.js
(15.15 KB)
📄
inline-edit-post.js
(20.17 KB)
📄
inline-edit-post.min.js
(9.41 KB)
📄
inline-edit-tax.js
(7.61 KB)
📄
inline-edit-tax.min.js
(2.93 KB)
📄
iris.min.js
(23.09 KB)
📄
language-chooser.js
(890 B)
📄
language-chooser.min.js
(423 B)
📄
link.js
(3.89 KB)
📄
link.min.js
(1.7 KB)
📄
media-gallery.js
(1.27 KB)
📄
media-gallery.min.js
(611 B)
📄
media-upload.js
(3.38 KB)
📄
media-upload.min.js
(1.13 KB)
📄
media.js
(6.61 KB)
📄
media.min.js
(2.38 KB)
📄
nav-menu.js
(60.44 KB)
📄
nav-menu.min.js
(29.77 KB)
📄
password-strength-meter.js
(4.14 KB)
📄
password-strength-meter.min.js
(1.1 KB)
📄
password-toggle.js
(1.31 KB)
📄
password-toggle.min.js
(847 B)
📄
plugin-install.js
(6.92 KB)
📄
plugin-install.min.js
(2.35 KB)
📄
post.js
(38.68 KB)
📄
post.min.js
(18.4 KB)
📄
postbox.js
(18.49 KB)
📄
postbox.min.js
(6.6 KB)
📄
privacy-tools.js
(10.67 KB)
📄
privacy-tools.min.js
(5.03 KB)
📄
revisions.js
(33.92 KB)
📄
revisions.min.js
(17.97 KB)
📄
set-post-thumbnail.js
(876 B)
📄
set-post-thumbnail.min.js
(620 B)
📄
site-health.js
(13.15 KB)
📄
site-health.min.js
(6.13 KB)
📄
site-icon.js
(6.1 KB)
📄
site-icon.min.js
(2.2 KB)
📄
svg-painter.js
(3.2 KB)
📄
svg-painter.min.js
(1.53 KB)
📄
tags-box.js
(10.88 KB)
📄
tags-box.min.js
(3 KB)
📄
tags-suggest.js
(5.64 KB)
📄
tags-suggest.min.js
(2.22 KB)
📄
tags.js
(4.85 KB)
📄
tags.min.js
(2.04 KB)
📄
theme-plugin-editor.js
(24.77 KB)
📄
theme-plugin-editor.min.js
(11.43 KB)
📄
theme.js
(54.67 KB)
📄
theme.min.js
(26.42 KB)
📄
updates.js
(109.33 KB)
📄
updates.min.js
(47.27 KB)
📄
user-profile.js
(15 KB)
📄
user-profile.min.js
(6.7 KB)
📄
user-suggest.js
(2.25 KB)
📄
user-suggest.min.js
(676 B)
ðŸ“
widgets
📄
widgets.js
(22.56 KB)
📄
widgets.min.js
(12.31 KB)
📄
word-count.js
(7.52 KB)
📄
word-count.min.js
(1.49 KB)
📄
xfn.js
(740 B)
📄
xfn.min.js
(458 B)
Editing: tags.js
/** * Contains logic for deleting and adding tags. * * For deleting tags it makes a request to the server to delete the tag. * For adding tags it makes a request to the server to add the tag. * * @output wp-admin/js/tags.js */ /* global ajaxurl, wpAjax, showNotice, validateForm */ jQuery( function($) { var addingTerm = false; /** * Adds an event handler to the delete term link on the term overview page. * * Cancels default event handling and event bubbling. * * @since 2.8.0 * * @return {boolean} Always returns false to cancel the default event handling. */ $( '#the-list' ).on( 'click', '.delete-tag', function() { var t = $(this), tr = t.parents('tr'), r = true, data; if ( 'undefined' != showNotice ) r = showNotice.warn(); if ( r ) { data = t.attr('href').replace(/[^?]*\?/, '').replace(/action=delete/, 'action=delete-tag'); /** * Makes a request to the server to delete the term that corresponds to the * delete term button. * * @param {string} r The response from the server. * * @return {void} */ $.post(ajaxurl, data, function(r){ if ( '1' == r ) { $('#ajax-response').empty(); tr.fadeOut('normal', function(){ tr.remove(); }); /** * Removes the term from the parent box and the tag cloud. * * `data.match(/tag_ID=(\d+)/)[1]` matches the term ID from the data variable. * This term ID is then used to select the relevant HTML elements: * The parent box and the tag cloud. */ $('select#parent option[value="' + data.match(/tag_ID=(\d+)/)[1] + '"]').remove(); $('a.tag-link-' + data.match(/tag_ID=(\d+)/)[1]).remove(); } else if ( '-1' == r ) { $('#ajax-response').empty().append('<div class="notice notice-error"><p>' + wp.i18n.__( 'Sorry, you are not allowed to do that.' ) + '</p></div>'); tr.children().css('backgroundColor', ''); } else { $('#ajax-response').empty().append('<div class="notice notice-error"><p>' + wp.i18n.__( 'An error occurred while processing your request. Please try again later.' ) + '</p></div>'); tr.children().css('backgroundColor', ''); } }); tr.children().css('backgroundColor', '#f33'); } return false; }); /** * Adds a deletion confirmation when removing a tag. * * @since 4.8.0 * * @return {void} */ $( '#edittag' ).on( 'click', '.delete', function( e ) { if ( 'undefined' === typeof showNotice ) { return true; } // Confirms the deletion, a negative response means the deletion must not be executed. var response = showNotice.warn(); if ( ! response ) { e.preventDefault(); } }); /** * Adds an event handler to the form submit on the term overview page. * * Cancels default event handling and event bubbling. * * @since 2.8.0 * * @return {boolean} Always returns false to cancel the default event handling. */ $('#submit').on( 'click', function(){ var form = $(this).parents('form'); if ( addingTerm ) { // If we're adding a term, noop the button to avoid duplicate requests. return false; } addingTerm = true; form.find( '.submit .spinner' ).addClass( 'is-active' ); /** * Does a request to the server to add a new term to the database * * @param {string} r The response from the server. * * @return {void} */ $.post(ajaxurl, $('#addtag').serialize(), function(r){ var res, parent, term, indent, i; addingTerm = false; form.find( '.submit .spinner' ).removeClass( 'is-active' ); $('#ajax-response').empty(); res = wpAjax.parseAjaxResponse( r, 'ajax-response' ); if ( res.errors && res.responses[0].errors[0].code === 'empty_term_name' ) { validateForm( form ); } if ( ! res || res.errors ) { return; } parent = form.find( 'select#parent' ).val(); // If the parent exists on this page, insert it below. Else insert it at the top of the list. if ( parent > 0 && $('#tag-' + parent ).length > 0 ) { // As the parent exists, insert the version with - - - prefixed. $( '.tags #tag-' + parent ).after( res.responses[0].supplemental.noparents ); } else { // As the parent is not visible, insert the version with Parent - Child - ThisTerm. $( '.tags' ).prepend( res.responses[0].supplemental.parents ); } $('.tags .no-items').remove(); if ( form.find('select#parent') ) { // Parents field exists, Add new term to the list. term = res.responses[1].supplemental; // Create an indent for the Parent field. indent = ''; for ( i = 0; i < res.responses[1].position; i++ ) indent += ' '; form.find( 'select#parent option:selected' ).after( '<option value="' + term.term_id + '">' + indent + term.name + '</option>' ); } $('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):visible, textarea:visible', form).val(''); }); return false; }); });
Upload File
Create Folder