Make WordPress Core


Ignore:
Timestamp:
07/09/2023 08:15:03 PM (2 years 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/capabilities.php

    r54891 r56177  
    173173
    174174            break;
    175         // edit_post breaks down to edit_posts, edit_published_posts, or
    176         // edit_others_posts.
     175        /*
     176         * edit_post breaks down to edit_posts, edit_published_posts, or
     177         * edit_others_posts.
     178         */
    177179        case 'edit_post':
    178180        case 'edit_page':
     
    618620        case 'upload_themes':
    619621        case 'update_core':
    620             // Disallow anything that creates, deletes, or updates core, plugin, or theme files.
    621             // Files in uploads are excepted.
     622            /*
     623             * Disallow anything that creates, deletes, or updates core, plugin, or theme files.
     624             * Files in uploads are excepted.
     625             */
    622626            if ( ! wp_is_file_mod_allowed( 'capability_update_core' ) ) {
    623627                $caps[] = 'do_not_allow';
Note: See TracChangeset for help on using the changeset viewer.