Changeset 8828
- Timestamp:
- 09/05/2008 11:29:30 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r8827 r8828 80 80 if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) 81 81 $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() ) 83 84 // $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label); 84 85 //else -
trunk/wp-admin/upload.php
r8827 r8828 74 74 if ( isset($_GET['post_mime_type']) && in_array( $_GET['post_mime_type'], array_keys($post_mime_types) ) ) 75 75 $post_mime_type_label = $post_mime_types[$_GET['post_mime_type']][1]; 76 if ( $post_listing_pageable && !is_archive() && !is_search() ) 77 $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_mime_type_label) : sprintf(__('Latest %s'), $post_mime_type_label); 78 else 76 //TODO: Unreachable code: $post_listing_pageable is undefined, Similar code in edit.php 77 //if ( $post_listing_pageable && !is_archive() && !is_search() ) 78 // $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_mime_type_label) : sprintf(__('Latest %s'), $post_mime_type_label); 79 //else 79 80 $h2_noun = $post_mime_type_label; 80 81 // Use $_GET instead of is_ since they can override each other
Note: See TracChangeset
for help on using the changeset viewer.