feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme - Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto - Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold - Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI) - Plugins: Kadence Blocks, Polylang, Contact Form 7 - Custom CSS with full brand styling and responsive layout - HTTPS enforced via wp-config.php proxy detection
This commit is contained in:
58
wp-content/plugins/polylang/js/build/admin.js
Normal file
58
wp-content/plugins/polylang/js/build/admin.js
Normal file
@@ -0,0 +1,58 @@
|
||||
/******/ "use strict";
|
||||
|
||||
;// ./js/src/lib/ajax-filter/index.js
|
||||
/**
|
||||
* @package Polylang
|
||||
*/
|
||||
|
||||
/**
|
||||
* Adds data to all ajax requests made with jQuery.
|
||||
*
|
||||
* @since 3.7
|
||||
*
|
||||
* @param {Object} data The data to add.
|
||||
* @returns {void}
|
||||
*/
|
||||
function ajaxFilter( data ) {
|
||||
if ( 'undefined' === typeof jQuery || ! data ) {
|
||||
return;
|
||||
}
|
||||
|
||||
const dataStr = jQuery.param( data );
|
||||
|
||||
jQuery.ajaxPrefilter( function ( options ) {
|
||||
if ( -1 === options.url.indexOf( ajaxurl ) && -1 === ajaxurl.indexOf( options.url ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
'undefined' === typeof options.data ||
|
||||
null === options.data ||
|
||||
'string' === typeof options.data && '' === options.data.trim()
|
||||
) {
|
||||
// An empty string or null/undefined.
|
||||
options.data = dataStr;
|
||||
} else if ( 'string' === typeof options.data ) {
|
||||
// A non-empty string: can be a JSON string or a query string.
|
||||
try {
|
||||
options.data = JSON.stringify( Object.assign( JSON.parse( options.data ), data ) );
|
||||
} catch ( exception ) {
|
||||
// A non-empty non-JSON string is considered a query string.
|
||||
options.data = `${ options.data }&${ dataStr }`;
|
||||
}
|
||||
} else if ( jQuery.isPlainObject( options.data ) ) {
|
||||
// An object.
|
||||
options.data = Object.assign( options.data, data );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
;// ./js/src/admin.js
|
||||
/**
|
||||
* @package Polylang
|
||||
*/
|
||||
|
||||
|
||||
|
||||
ajaxFilter( pll_admin?.ajax_filter );
|
||||
|
||||
Reference in New Issue
Block a user