Opened 18 years ago
Closed 17 years ago
#6091 closed defect (bug) (fixed)
Recent Entries Widget should have a title attribute.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.8 | Priority: | normal |
| Severity: | trivial | Version: | 2.3.3 |
| Component: | Widgets | Keywords: | has-patch tested commit |
| Focuses: | Cc: |
Description
The recent entries widget should be reformatted to include a title attribute in the hyperlink.
Line 880 of /wp-includes/widgets.php should be changed from.
<li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li>
to
<li><a href="<?php the_permalink() ?>" title="<?php if ( get_the_title() ) the_title(); else the_ID(); ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li>
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
I went back and read the whole document about submitting a bug. :-) You learn alot when you RTFM, anyway I included the bug fix.