原型

dashboard_browser_nag_class( array $classes )

参数

$classes (array) (Required)

返回值

(array)  

源文件

路径:wp-admin/includes/dashboard.php

<?php
...
function dashboard_browser_nag_class( $classes ) {
	$response = wp_check_browser_version();
	if ( $response && $response['insecure'] )
		$classes[] = 'browser-insecure';
	return $classes;
}
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/dashboard_browser_nag_class/