Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:46:22 PM (11 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], [56177], [56178], [56179], [56180], [56191].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r56019 r56192  
    246246    do_action( 'remove_user_from_blog', $user_id, $blog_id, $reassign );
    247247
    248     // If being removed from the primary blog, set a new primary
    249     // if the user is assigned to multiple blogs.
     248    /*
     249     * If being removed from the primary blog, set a new primary
     250     * if the user is assigned to multiple blogs.
     251     */
    250252    $primary_blog = get_user_meta( $user_id, 'primary_blog', true );
    251253    if ( $primary_blog == $blog_id ) {
     
    718720    }
    719721
    720     // Has someone already signed up for this domain?
    721     // TODO: Check email too?
     722    /*
     723     * Has someone already signed up for this domain?
     724     * TODO: Check email too?
     725     */
    722726    $signup = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->signups WHERE domain = %s AND path = %s", $mydomain, $path ) );
    723727    if ( $signup instanceof stdClass ) {
     
    19401944    $most_recent_post = array();
    19411945
    1942     // Walk through each blog and get the most recent post
    1943     // published by $user_id.
     1946    /*
     1947     * Walk through each blog and get the most recent post
     1948     * published by $user_id.
     1949     */
    19441950    foreach ( (array) $user_blogs as $blog ) {
    19451951        $prefix      = $wpdb->get_blog_prefix( $blog->userblog_id );
Note: See TracChangeset for help on using the changeset viewer.