Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/QuickEdit.php

    r46586 r47122  
    22
    33/**
    4  * Admin ajax functions to be tested
     4 * Admin Ajax functions to be tested.
    55 */
    66require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
     
    7676        }
    7777
    78         // wptests_tax_1 terms should have been refused.
     78        // 'wptests_tax_1' terms should have been refused.
    7979        $post_terms_1 = wp_get_object_terms( $post->ID, 'wptests_tax_1' );
    8080        $this->assertEmpty( $post_terms_1 );
    8181
    82         // wptests_tax_2 terms should have been added successfully.
     82        // 'wptests_tax_2' terms should have been added successfully.
    8383        $post_terms_2 = wp_get_object_terms( $post->ID, 'wptests_tax_2' );
    8484        $this->assertEqualSets( array( $t2 ), wp_list_pluck( $post_terms_2, 'term_id' ) );
Note: See TracChangeset for help on using the changeset viewer.