Make WordPress Core


Ignore:
Timestamp:
04/12/2024 05:45:23 PM (10 months ago)
Author:
swissspidy
Message:

Docs: Fix various typos and spelling mistakes.

Props swissspidy, jucaduca, sergeybiryukov.
See #60699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/getPageOfComment.php

    r55745 r57987  
    307307        }
    308308
    309         $page_1_indicies = array( 2, 3, 4 );
    310         $page_2_indicies = array( 0, 1 );
     309        $page_1_indices = array( 2, 3, 4 );
     310        $page_2_indices = array( 0, 1 );
    311311
    312312        $args = array(
     
    315315        );
    316316
    317         foreach ( $page_1_indicies as $p1i ) {
     317        foreach ( $page_1_indices as $p1i ) {
    318318            $this->assertSame( 1, (int) get_page_of_comment( $comment_parents[ $p1i ], $args ) );
    319319            $this->assertSame( 1, (int) get_page_of_comment( $comment_children[ $p1i ], $args ) );
    320320        }
    321321
    322         foreach ( $page_2_indicies as $p2i ) {
     322        foreach ( $page_2_indices as $p2i ) {
    323323            $this->assertSame( 2, (int) get_page_of_comment( $comment_parents[ $p2i ], $args ) );
    324324            $this->assertSame( 2, (int) get_page_of_comment( $comment_children[ $p2i ], $args ) );
Note: See TracChangeset for help on using the changeset viewer.