Make WordPress Core


Ignore:
Timestamp:
09/05/2008 11:29:30 PM (18 years ago)
Author:
westi
Message:

Fix Notice. Mark unreachable code as TODO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r8827 r8828  
    8080        if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) )
    8181        $post_status_label = $post_stati[$_GET['post_status']][1];
    82         //if ( $post_listing_pageable && !is_archive() && !is_search() ) //Unreachable code: $post_listing_pageable is undefined, Similar code in upload.php
     82        //TODO: Unreachable code: $post_listing_pageable is undefined, Similar code in upload.php
     83        //if ( $post_listing_pageable && !is_archive() && !is_search() )
    8384        //      $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label);
    8485        //else
Note: See TracChangeset for help on using the changeset viewer.