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>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/**
* Wait for the page to be ready before firing JS.
*
* @param {function} callback - A callable function to be executed.
* @param {string} [requestedState=complete] - document.readyState to wait for. Defaults to 'complete', can be 'interactive'.
*/
window.advanced_ads_ready = function ( callback, requestedState ) {
requestedState = requestedState || 'complete';
var checkState = function ( state ) {
return requestedState === 'interactive' ? state !== 'loading' : state === 'complete';
};
// If we have reached the correct state, fire the callback.
if ( checkState( document.readyState ) ) {
callback();
return;
}
// We are not yet in the correct state, attach an event handler, only fire once if the requested state is 'interactive'.
document.addEventListener( 'readystatechange', function ( event ) {
if ( checkState( event.target.readyState ) ) {
callback();
}
}, {once: requestedState === 'interactive'} );
};
window.advanced_ads_ready_queue = window.advanced_ads_ready_queue || [];