Changeset 56176 for trunk/src/wp-admin/includes/nav-menu.php
- Timestamp:
- 07/09/2023 08:05:43 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r55616 r56176 1503 1503 if ( ! is_null( $data ) && $data ) { 1504 1504 foreach ( $data as $post_input_data ) { 1505 // For input names that are arrays (e.g. `menu-item-db-id[3][4][5]`), 1506 // derive the array path keys via regex and set the value in $_POST. 1505 /* 1506 * For input names that are arrays (e.g. `menu-item-db-id[3][4][5]`), 1507 * derive the array path keys via regex and set the value in $_POST. 1508 */ 1507 1509 preg_match( '#([^\[]*)(\[(.+)\])?#', $post_input_data->name, $matches ); 1508 1510
Note: See TracChangeset
for help on using the changeset viewer.