Files
roi-theme/wp-content/plugins/w3-total-cache/PgCache_Page_View.js
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

21 lines
553 B
JavaScript
Executable File

/**
* File: PgCache_Page_View.js
*
* JavaScript for Page Cache settings page.
*
* @since 2.1.0
*
* @global W3TCPgCacheQsExemptsData
*/
jQuery(function() {
jQuery('.w3tc-pgcache-qsexempts-default').on(
'click',
function(){
var pgcacheQsExempts = jQuery('#pgcache_accept_qs').val().split("\n");
pgcacheQsExempts = pgcacheQsExempts.filter(item=>item).concat(W3TCPgCacheQsExemptsData.defaultQsExempts.filter((item)=>pgcacheQsExempts.indexOf(item)<0)).sort();
jQuery('#pgcache_accept_qs').val(pgcacheQsExempts.join("\n"));
}
);
});