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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,55 @@
/**
* Created by Ovidiu on 8/5/2016.
*/
var ThriveNMWordpressNotification = ThriveNMWordpressNotification || {};
ThriveNMWordpressNotification.functions = ThriveNMWordpressNotification.functions || {};
(function ( $ ) {
$( document ).on( 'click', '.td_nm_wordpress_notice .notice-dismiss', function () {
var key = $( this ).parent().attr( 'data-key' );
ThriveNMWordpressNotification.functions.dismiss_notice( key, false );
} );
/**
* Trigger dismiss notice
* @param test_id
*/
ThriveNMWordpressNotification.functions.trigger_dismiss_notice = function ( key ) {
this.dismiss_notice( key, true );
};
/**
* Dismiss notice ajax request
* @param test_id
* @param redirect
*/
ThriveNMWordpressNotification.functions.dismiss_notice = function ( key, redirect ) {
$.ajax( {
headers: {
'X-WP-Nonce': ThriveNMWordpressNotification.nonce
},
cache: false,
url: ThriveNMWordpressNotification.routes.ajaxurl + '?_nonce=' + ThriveNMWordpressNotification.nonce,
type: 'POST',
data: {
key: key,
redirect: redirect,
action: 'td_nm_admin_controller',
route: 'deletenotification'
}
} ).done( function ( response ) {
if ( response.status == true && redirect == true ) {
top.location.href = response.redirect_url;
}
$( 'div' ).find( '[data-key="' + key + '"]' ).remove();
} )
.error( function () {
console.log( "error" );
} );
};
})( jQuery );