Changeset 12328
- Timestamp:
- 12/15/2022 05:09:48 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-also-viewing/wporg-bbp-also-viewing.php
r10839 r12328 381 381 return get_others_currently_viewing( (string) $request['page'] ); 382 382 }, 383 'permission_callback' => 'is_user_logged_in', 383 'permission_callback' => function() { 384 return is_user_logged_in() && enabled(); 385 }, 384 386 ], 385 387 [ … … 391 393 ); 392 394 }, 393 'permission_callback' => 'is_user_logged_in', 395 'permission_callback' => function() { 396 return is_user_logged_in() && enabled(); 397 }, 394 398 ], 395 399 [ … … 398 402 return clear_viewing( (string) $request['page'] ); 399 403 }, 400 'permission_callback' => 'is_user_logged_in', 404 'permission_callback' => function() { 405 return is_user_logged_in() && enabled(); 406 }, 401 407 ], 402 408 ] );
Note: See TracChangeset
for help on using the changeset viewer.