Changeset 12532
- Timestamp:
- 12/24/2009 09:30:12 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r12515 r12532 988 988 */ 989 989 function get_adjacent_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '', $previous = true) { 990 if ( $previous && is_attachment() )990 if ( $previous && is_attachment() && is_object( $GLOBALS['post'] ) ) 991 991 $post = & get_post($GLOBALS['post']->post_parent); 992 992 else
Note: See TracChangeset
for help on using the changeset viewer.