Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#496 closed defect (bug) (fixed)

posts_nav_link always outputs link

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

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
20 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.