Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 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/general/paginateLinks.php

    r46612 r47122  
    135135    function test_paginate_links_base_value() {
    136136
    137         // Current page: 2
     137        // Current page: 2.
    138138        $links = paginate_links(
    139139            array(
     
    160160        $document->preserveWhiteSpace = false;
    161161
    162         // The first two links should link to page 1
     162        // The first two links should link to page 1.
    163163        foreach ( $expected_attributes as $link_idx => $attributes ) {
    164164
     
    175175        }
    176176
    177         // Current page: 1
     177        // Current page: 1.
    178178        $links = paginate_links(
    179179            array(
     
    341341     */
    342342    public function test_custom_base_query_arg_should_be_stripped_from_current_url_before_generating_pag_links() {
    343         // Fake the current URL: example.com?foo
     343        // Fake the current URL: example.com?foo.
    344344        $request_uri            = $_SERVER['REQUEST_URI'];
    345345        $_SERVER['REQUEST_URI'] = add_query_arg( 'foo', '', $request_uri );
Note: See TracChangeset for help on using the changeset viewer.