Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1,25 @@
<?php
/**
* Output debug notices in footer
* @global array $mashsb_options
*/
function mashsbOutputDebug() {
global $mashsb_options, $mashsb_debug;
if (empty($mashsb_debug)){
return '';
}
if (current_user_can('install_plugins') && isset($mashsb_options['debug_mode'])) {
echo '<div class="mash-debug" style="display:block;z-index:250000;font-size:12px;text-align:center;">';
echo 'MashShare Debug Mode.<br><br>';
foreach ($mashsb_debug as $key => $value){
echo wp_kses_post($value) . '<br />';
}
echo '</div>';
}
}
add_action('wp_footer', 'mashsbOutputDebug', 100);