[wp-trac] [WordPress Trac] #40014: & converted to '#038
WordPress Trac
noreply at wordpress.org
Thu Mar 2 15:46:34 UTC 2017
#40014: & converted to '#038
--------------------------+------------------------------
Reporter: fervillz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.7.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by subrataemfluence):
Yes, the link you provided does change `&` to `#038` but for me it did not
happen. I am using the similar code:
{{{
echo paginate_links(array(
'total' => $query->max_num_pages,
'format' => 'page/%#%',
'add_args' => array( 'place' => 1, 'type' => 4),
));
}}}
URLs still come up as
`http://local.tourplanner.com/page/2?place=1&type=4`.
Browser: Chrome
WP Version: 4.7.2
Theme: Custom (no child theme)
Two differences between yours and mine are:
1. My site is still in localhost while yours is hosted
2. I am using a theme built from scratch, no parent theme used, although I
believe that should not make any difference in this case.
Screenshot attached. Neither Status bar nor the Address bar has converted
`&` to `#038`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40014#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list