Make WordPress Core


Ignore:
Timestamp:
12/13/2021 10:19:21 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way.

Follow-up to [48104], [52357], [52361].

See #53399.

File:
1 edited

Legend:

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

    r50961 r52362  
    227227        // number == -1 implies a template where id numbers are replaced by a generic '__i__'.
    228228        $control['params'][0]['number'] = -1;
    229         // With id_base widget id's are constructed like {$id_base}-{$id_number}.
     229        // With id_base widget ID's are constructed like {$id_base}-{$id_number}.
    230230        if ( isset( $control['id_base'] ) ) {
    231231            $id_format = $control['id_base'] . '-__i__';
Note: See TracChangeset for help on using the changeset viewer.