<commit_before><?php
/*
Plugin Name: Mod console for bbPress
Description: Dashboard mod view, make sure someone is looking at all your forum posts.
Author: <NAME>
Version: 1.2

*/BBPMC_
add_action('wp_ajax_ajax_custom_load_posts', 'BBPMC_ajax_custom_load_posts');
add_action('wp_ajax_nopriv_ajax_custom_load_posts', 'BBPMC_ajax_custom_load_posts');

add_action('wp_ajax_ajax_set_reviewed', 'BBPMC_ajax_set_reviewed');
add_action('wp_ajax_nopriv_ajax_set_reviewed', 'BBPMC_ajax_set_reviewed');

add_action('wp_ajax_ajax_set_reviewed', 'BBPMC_ajax_move_to_trash');
add_action('wp_ajax_nopriv_ajax_set_reviewed', 'BBPMC_ajax_move_to_trash');


add_action('wp_dashboard_setup', 'BBPMC_dashboard_bbpress_mod');
function BBPMC_dashboard_bbpress_mod() {
global $wp_meta_boxes;
wp_add_dashboard_widget('BBPMC_bbpressModDash', 'Moderation Dashboard', 'BBPMC_dashboard_bbpress_mod_worker');
wp_enqueue_style( 'BBPMC_modconsoleCSS', plugins_url( '/mod-console.css' , __FILE__ ));
wp_enqueue_script('BBPMC_modconsoleJS', plugins_url( '/mod-console.js' , __FILE__ ), array('jquery'), '1', true);

}
function BBPMC_dashboard_bbpress_mod_worker() {
$type = array('Topic','Reply');
$args=array(
  'post_type' => $type,<commit_msg>Added author URI<commit_after><?php
/*
Plugin Name: Mod console for bbPress
Description: Dashboard mod view, make sure someone is looking at all your forum posts.
Author: <NAME>
Author URI:  bjornmann.com
Version: 1.2

*/
add_action('wp_ajax_ajax_custom_load_posts', 'BBPMC_ajax_custom_load_posts');
add_action('wp_ajax_nopriv_ajax_custom_load_posts', 'BBPMC_ajax_custom_load_posts');

add_action('wp_ajax_ajax_set_reviewed', 'BBPMC_ajax_set_reviewed');
add_action('wp_ajax_nopriv_ajax_set_reviewed', 'BBPMC_ajax_set_reviewed');

add_action('wp_ajax_ajax_set_reviewed', 'BBPMC_ajax_move_to_trash');
add_action('wp_ajax_nopriv_ajax_set_reviewed', 'BBPMC_ajax_move_to_trash');


add_action('wp_dashboard_setup', 'BBPMC_dashboard_bbpress_mod');
function BBPMC_dashboard_bbpress_mod() {
global $wp_meta_boxes;
wp_add_dashboard_widget('BBPMC_bbpressModDash', 'Moderation Dashboard', 'BBPMC_dashboard_bbpress_mod_worker');
wp_enqueue_style( 'BBPMC_modconsoleCSS', plugins_url( '/mod-console.css' , __FILE__ ));
wp_enqueue_script('BBPMC_modconsoleJS', plugins_url( '/mod-console.js' , __FILE__ ), array('jquery'), '1', true);

}
function BBPMC_dashboard_bbpress_mod_worker() {
$type = array('Topic','Reply');
$args=array(
  'post_type' => $type,
{'fraction_non_alphanumeric': 0.1231647634584013, 'fraction_numerical': 0.0024469820554649264, 'mean_word_length': 11.51530612244898, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4703046', 'n_tokens_mistral': 928, 'n_tokens_neox': 914, 'n_words': 137}