Changeset 58069 for trunk/src/wp-admin/link.php
- Timestamp:
- 05/01/2024 05:59:05 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link.php
r56549 r58069 13 13 require_once __DIR__ . '/admin.php'; 14 14 15 wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) ); 15 $action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : ''; 16 $cat_id = ! empty( $_REQUEST['cat_id'] ) ? absint( $_REQUEST['cat_id'] ) : 0; 17 $link_id = ! empty( $_REQUEST['link_id'] ) ? absint( $_REQUEST['link_id'] ) : 0; 16 18 17 19 if ( ! current_user_can( 'manage_links' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.