Make WordPress Core


Ignore:
Timestamp:
07/09/2023 08:15:03 PM (14 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], [56176].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r55276 r56177  
    608608                $dropdown = str_replace( '<select', '<select ' . $this->get_link() . ' id="' . esc_attr( $input_id ) . '" ' . $describedby_attr, $dropdown );
    609609
    610                 // Even more hacikly add auto-draft page stubs.
    611                 // @todo Eventually this should be removed in favor of the pages being injected into the underlying get_pages() call. See <https://github.com/xwp/wp-customize-posts/pull/250>.
     610                /*
     611                 * Even more hacikly add auto-draft page stubs.
     612                 * @todo Eventually this should be removed in favor of the pages being injected into the underlying get_pages() call.
     613                 * See <https://github.com/xwp/wp-customize-posts/pull/250>.
     614                 */
    612615                $nav_menus_created_posts_setting = $this->manager->get_setting( 'nav_menus_created_posts' );
    613616                if ( $nav_menus_created_posts_setting && current_user_can( 'publish_pages' ) ) {
Note: See TracChangeset for help on using the changeset viewer.