Changeset 3305559
- Timestamp:
- 06/03/2025 09:06:03 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bpost-shipping-platform/tags/3.1.97/includes/admin/class-Bpost-order-ui.php
r3298698 r3305559 196 196 $Bpost_action = isset($_GET['Bpost_action']) ? sanitize_text_field(wp_unslash($_GET['Bpost_action'])) : ''; 197 197 198 199 if (is_admin() && !is_null($Bpost_action) && !in_array('administrator', $current_user->roles)) {200 die("The user does not have the correct role");201 }202 198 203 199
Note: See TracChangeset
for help on using the changeset viewer.