Make WordPress Core


Ignore:
Timestamp:
05/12/2020 06:30:03 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in some wp-admin files.

Props pikamander2, mukesh27, SergeyBiryukov.
Fixes #49239.

File:
1 edited

Legend:

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

    r47198 r47785  
    4343    $id   = intval( $_REQUEST['attachment_id'] );
    4444    $post = get_post( $id );
    45     if ( 'attachment' != $post->post_type ) {
     45    if ( 'attachment' !== $post->post_type ) {
    4646        wp_die( __( 'Invalid post type.' ) );
    4747    }
Note: See TracChangeset for help on using the changeset viewer.