Make WordPress Core


Ignore:
Timestamp:
11/29/2022 03:49:49 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Always use parentheses when instantiating an object.

Note: This will be enforced by WPCS 3.0.0.

Props jrf.
See #56791.

File:
1 edited

Legend:

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

    r53060 r54891  
    6060 */
    6161function get_default_link_to_edit() {
    62     $link = new stdClass;
     62    $link = new stdClass();
    6363    if ( isset( $_GET['linkurl'] ) ) {
    6464        $link->link_url = esc_url( wp_unslash( $_GET['linkurl'] ) );
Note: See TracChangeset for help on using the changeset viewer.