Make WordPress Core

Opened 22 years ago

Closed 22 years ago

#496 closed defect (bug) (fixed)

posts_nav_link always outputs link

Reported by: orangenormal Owned by: matt
Priority: normal Milestone:
Component: General Version: 1.5
Severity: minor Keywords:
Cc: Focuses:

Description

posts_nav_link will always echo a link tag, even when the beginning/end of the posts have been reached. The link text, however, is omitted, leaving an empty link (i.e.: <a href="http://example.com/page/2/"></a>) in the HTML output.

In addition to cluttering the output, this has consequences if one is testing the PHP output buffer for writing container tags for the link.

Change History (2)

#2 @matt
22 years ago

  • Owner changed from anonymous to matt
  • Resolution 1020
  • Status newclosed
Note: See TracTickets for help on using tickets.