Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.

See #47632.

File:
1 edited

Legend:

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

    r42343 r45583  
    113113        $link_id = (int) $_GET['link_id'];
    114114
    115         if ( ! $link = get_link_to_edit( $link_id ) ) {
     115        $link = get_link_to_edit( $link_id );
     116        if ( ! $link ) {
    116117            wp_die( __( 'Link not found.' ) );
    117118        }
Note: See TracChangeset for help on using the changeset viewer.