Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r29137 r29206  
    415415            foreach ( $pages as $page ) {
    416416
    417                 // catch and repair bad pages
     417                // Catch and repair bad pages.
    418418                if ( $page->post_parent == $page->ID ) {
    419419                    $page->post_parent = 0;
     
    450450        }
    451451
    452         // if it is the last pagenum and there are orphaned pages, display them with paging as well
     452        // If it is the last pagenum and there are orphaned pages, display them with paging as well.
    453453        if ( isset( $children_pages ) && $count < $end ){
    454454            foreach ( $children_pages as $orphans ){
     
    592592                if ( $this->hierarchical_display ) {
    593593                    if ( 0 == $level && (int) $post->post_parent > 0 ) {
    594                         //sent level 0 by accident, by default, or because we don't know the actual level
     594                        // Sent level 0 by accident, by default, or because we don't know the actual level.
    595595                        $find_main_page = (int) $post->post_parent;
    596596                        while ( $find_main_page > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.