已解除的指针存储为用户元,您可以使用以下工具自行检查:
$meta = get_user_meta( wp_get_current_user() );
print_r( $meta[\'dismissed_wp_pointers\'] );
在您的情况下,元可能为空或已损坏,要为您博客上的所有用户更新已删除的指针,您可以运行此函数(仅一次):
function wpse80084_dismiss_wp_pointers()
{
$dismissed = array( \'wp330_toolbar\',\'wp330_media_uploader\',\'wp330_saving_widgets\',\'wp340_choose_image_from_library\' );
$dismissed = implode( \',\', $dismissed );
$users = get_users();
foreach ( $users as $user )
update_user_meta( $user->ID, \'dismissed_wp_pointers\', $dismissed );
}
add_action( \'admin_init\', \'wpse80084_dismiss_wp_pointers\' );