File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/performance-lab/includes/admin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ function perflab_admin_pointer( ?string $hook_suffix = '' ): void {
159
159
if ( ! in_array ( $ new_install_pointer_id , $ dismissed_pointer_ids , true ) ) {
160
160
$ needed_pointer_ids = array ( $ new_install_pointer_id );
161
161
} else {
162
- $ needed_pointer_ids = array_diff ( array_keys ( $ admin_pointers ) , $ dismissed_pointer_ids );
162
+ $ needed_pointer_ids = array_diff ( $ admin_pointer_ids , $ dismissed_pointer_ids );
163
163
}
164
164
165
165
$ args = array (
@@ -190,7 +190,7 @@ static function ( string $needed_pointer ) use ( $admin_pointers ): string {
190
190
'strong ' => array (),
191
191
);
192
192
193
- $ pointer_ids_to_dismiss = array_values ( array_diff ( array_keys ( $ admin_pointers ) , $ dismissed_pointer_ids ) );
193
+ $ pointer_ids_to_dismiss = array_values ( array_diff ( $ admin_pointer_ids , $ dismissed_pointer_ids ) );
194
194
195
195
ob_start ();
196
196
?>
You can’t perform that action at this time.
0 commit comments