[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-admin
/
js
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 widgets
SET
[ DEL ]
📄 accordion.js
2,933 B
SET
[ EDIT ]
|
[ DEL ]
📄 auth-app.js
5,796 B
SET
[ EDIT ]
|
[ DEL ]
📄 code-editor.js
11,588 B
SET
[ EDIT ]
|
[ DEL ]
📄 color-picker.js
9,768 B
SET
[ EDIT ]
|
[ DEL ]
📄 common.min.js
23,676 B
SET
[ EDIT ]
|
[ DEL ]
📄 custom-header.js
2,023 B
SET
[ EDIT ]
|
[ DEL ]
📄 customize-controls.js
295,335 B
SET
[ EDIT ]
|
[ DEL ]
📄 customize-nav-menus.js
114,135 B
SET
[ EDIT ]
|
[ DEL ]
📄 customize-nav-menus.min.js
48,272 B
SET
[ EDIT ]
|
[ DEL ]
📄 customize-widgets.js
71,727 B
SET
[ EDIT ]
|
[ DEL ]
📄 dashboard.js
27,666 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-expand.min.js
13,451 B
SET
[ EDIT ]
|
[ DEL ]
📄 farbtastic.js
7,849 B
SET
[ EDIT ]
|
[ DEL ]
📄 gallery.js
5,543 B
SET
[ EDIT ]
|
[ DEL ]
📄 iris.min.js
23,643 B
SET
[ EDIT ]
|
[ DEL ]
📄 language-chooser.min.js
423 B
SET
[ EDIT ]
|
[ DEL ]
📄 link.js
3,987 B
SET
[ EDIT ]
|
[ DEL ]
📄 media-gallery.js
1,303 B
SET
[ EDIT ]
|
[ DEL ]
📄 media-upload.js
3,465 B
SET
[ EDIT ]
|
[ DEL ]
📄 media-upload.min.js
1,152 B
SET
[ EDIT ]
|
[ DEL ]
📄 media.min.js
2,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 password-strength-meter.js
4,236 B
SET
[ EDIT ]
|
[ DEL ]
📄 password-toggle.min.js
847 B
SET
[ EDIT ]
|
[ DEL ]
📄 postbox.js
18,937 B
SET
[ EDIT ]
|
[ DEL ]
📄 privacy-tools.min.js
5,154 B
SET
[ EDIT ]
|
[ DEL ]
📄 set-post-thumbnail.js
876 B
SET
[ EDIT ]
|
[ DEL ]
📄 site-health.min.js
6,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 site-icon.js
6,243 B
SET
[ EDIT ]
|
[ DEL ]
📄 svg-painter.js
3,280 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags-box.js
11,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags-box.min.js
3,077 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags-suggest.js
5,771 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags-suggest.min.js
2,269 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags.js
6,098 B
SET
[ EDIT ]
|
[ DEL ]
📄 tags.min.js
2,467 B
SET
[ EDIT ]
|
[ DEL ]
📄 theme.min.js
27,142 B
SET
[ EDIT ]
|
[ DEL ]
📄 updates.js
111,999 B
SET
[ EDIT ]
|
[ DEL ]
📄 user-suggest.min.js
676 B
SET
[ EDIT ]
|
[ DEL ]
📄 widgets.min.js
12,609 B
SET
[ EDIT ]
|
[ DEL ]
📄 word-count.min.js
1,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 xfn.min.js
458 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: link.js
/** * @output wp-admin/js/link.js */ /* global postboxes, deleteUserSetting, setUserSetting, getUserSetting */ jQuery( function($) { var newCat, noSyncChecks = false, syncChecks, catAddAfter; $('#link_name').trigger( 'focus' ); // Postboxes. postboxes.add_postbox_toggles('link'); /** * Adds event that opens a particular category tab. * * @ignore * * @return {boolean} Always returns false to prevent the default behavior. */ $('#category-tabs a').on( 'click', function(){ var t = $(this).attr('href'); $(this).parent().addClass('tabs').siblings('li').removeClass('tabs'); $('.tabs-panel').hide(); $(t).show(); if ( '#categories-all' == t ) deleteUserSetting('cats'); else setUserSetting('cats','pop'); return false; }); if ( getUserSetting('cats') ) $('#category-tabs a[href="#categories-pop"]').trigger( 'click' ); // Ajax Cat. newCat = $('#newcat').one( 'focus', function() { $(this).val( '' ).removeClass( 'form-input-tip' ); } ); /** * After adding a new category, focus on the category add input field. * * @return {void} */ $('#link-category-add-submit').on( 'click', function() { newCat.focus(); } ); /** * Synchronize category checkboxes. * * This function makes sure that the checkboxes are synced between the all * categories tab and the most used categories tab. * * @since 2.5.0 * * @return {void} */ syncChecks = function() { if ( noSyncChecks ) return; noSyncChecks = true; var th = $(this), c = th.is(':checked'), id = th.val().toString(); $('#in-link-category-' + id + ', #in-popular-link_category-' + id).prop( 'checked', c ); noSyncChecks = false; }; /** * Adds event listeners to an added category. * * This is run on the addAfter event to make sure the correct event listeners * are bound to the DOM elements. * * @since 2.5.0 * * @param {string} r Raw XML response returned from the server after adding a * category. * @param {Object} s List manager configuration object; settings for the Ajax * request. * * @return {void} */ catAddAfter = function( r, s ) { $(s.what + ' response_data', r).each( function() { var t = $($(this).text()); t.find( 'label' ).each( function() { var th = $(this), val = th.find('input').val(), id = th.find('input')[0].id, name = th.text().trim(), o; $('#' + id).on( 'change', syncChecks ); o = $( '<option value="' + parseInt( val, 10 ) + '"></option>' ).text( name ); } ); } ); }; /* * Instantiates the list manager. * * @see js/_enqueues/lib/lists.js */ $('#categorychecklist').wpList( { // CSS class name for alternate styling. alt: '', // The type of list. what: 'link-category', // ID of the element the parsed Ajax response will be stored in. response: 'category-ajax-response', // Callback that's run after an item got added to the list. addAfter: catAddAfter } ); // All categories is the default tab, so we delete the user setting. $('a[href="#categories-all"]').on( 'click', function(){deleteUserSetting('cats');}); // Set a preference for the popular categories to cookies. $('a[href="#categories-pop"]').on( 'click', function(){setUserSetting('cats','pop');}); if ( 'pop' == getUserSetting('cats') ) $('a[href="#categories-pop"]').trigger( 'click' ); /** * Adds event handler that shows the interface controls to add a new category. * * @ignore * * @param {Event} event The event object. * @return {boolean} Always returns false to prevent regular link * functionality. */ $('#category-add-toggle').on( 'click', function() { $(this).parents('div:first').toggleClass( 'wp-hidden-children' ); $('#category-tabs a[href="#categories-all"]').trigger( 'click' ); $('#newcategory').trigger( 'focus' ); return false; } ); $('.categorychecklist :checkbox').on( 'change', syncChecks ).filter( ':checked' ).trigger( 'change' ); });