WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#5425 closed defect (bug) (fixed)

permalink_anchor('title') doesnt include post ID

Reported by: DD32 Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Template Keywords:
Focuses: Cc:

Description

Currently the output of permalink_anchor('title') is as follows:

<a id="PostName-"></a>

The expected output is this: (Judging by the code)

<a id="PostName-PostNumber"></a>

Attaching a patch to fix the undefined variable

Attachments (1)

5425.permalink_anchor.diff (481 bytes) - added by DD32 8 years ago.

Download all attachments as: .zip

Change History (2)

@DD328 years ago

comment:1 @DD328 years ago

  • Keywords has-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

(In [6551]) Unused var cleanup. Props DD32. see #5418

ref: http://trac.wordpress.org/changeset/6551#file15

Note: See TracTickets for help on using tickets.