Make WordPress Core


Ignore:
Timestamp:
07/09/2023 08:05:43 PM (17 months ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Follow-up to [56174], [56175].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/nav-menu.php

    r55616 r56176  
    15031503    if ( ! is_null( $data ) && $data ) {
    15041504        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             */
    15071509            preg_match( '#([^\[]*)(\[(.+)\])?#', $post_input_data->name, $matches );
    15081510
Note: See TracChangeset for help on using the changeset viewer.