Opened 16 years ago
Closed 16 years ago
#14271 closed defect (bug) (fixed)
build_query() generates invalid html
| Reported by: | pross | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | General | Version: | 3.0 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
build_query uses & not & in creating url for use in wp_link_pages.
Will not produce valid HTML for default permalinks.
Attachments (1)
Change History (6)
#1
@
16 years ago
The idea is you then need to escape links when you want to use them as HTML, i.e. esc_url( get_permalink() ).
#2
@
16 years ago
ok so wp_link_pages() has to be escaped? surely wp_link_pages should produce a good link without need of another function to clean up after it?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch