Changeset 59877
- Timestamp:
- 02/26/2025 11:48:24 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r58888 r59877 357 357 protected function get_bulk_actions() { 358 358 global $comment_status; 359 360 if ( ! current_user_can( 'moderate_comments' ) ) { 361 return array(); // Return an empty array if the user doesn't have permission 362 } 359 363 360 364 $actions = array();
Note: See TracChangeset
for help on using the changeset viewer.