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/widgets/text-widget.php

    r46586 r47122  
    334334        );
    335335
    336         // Legacy Text Widget without wpautop.
     336        // Legacy Text Widget without wpautop().
    337337        $instance                     = array_merge(
    338338            $base_instance,
     
    351351        $this->assertNull( $this->post_during_shortcode );
    352352
    353         // Legacy Text Widget with wpautop.
     353        // Legacy Text Widget with wpautop().
    354354        $instance                     = array_merge(
    355355            $base_instance,
     
    389389        );
    390390
    391         // Visual Text Widget with only core-added widget_text_content filter for do_shortcode.
     391        // Visual Text Widget with only core-added widget_text_content filter for do_shortcode().
    392392        $this->assertFalse( has_filter( 'widget_text', 'do_shortcode' ) );
    393393        $this->assertEquals( 11, has_filter( 'widget_text_content', 'do_shortcode' ), 'Expected core to have set do_shortcode as widget_text_content filter.' );
Note: See TracChangeset for help on using the changeset viewer.