#24278 closed defect (bug) (duplicate)
Quotes Invalid/Inconsistent on Attributes within general-template.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | Formatting | Keywords: | |
Focuses: | Cc: | ||
PR Number: |
Description (last modified by )
The file I'm speaking of:
https://github.com/WordPress/WordPress/blob/master/wp-includes/general-template.php
Story: I was trying to take paginate_links() and customize the markup by running regular expressions and pulling out the classes and values and such. The regular expressions weren't working...because the markup was incorrectly and inconsistently using single quotes for attributes instead of double quotes.
I saw that, looked throughout the file, found more offenses.
Here's a list:
- get_archives_link()
- wp_no_robots()
- paginate_links()
- wp_admin_css()
and I'm not sure, but it also looks like __checked_selected_helper()
is offending.
I'll be attaching patches for this.
Attachments (4)
Change History (9)
Note: See
TracTickets for help on using
tickets.
get_archives_link() fix