2016-05-07, 05:00:00
(This post was last modified: 2016-05-07, 05:30:11 by jlyon1515.
Edit Reason: Added note about get_header as well.
)
Besides the error that I mentioned above, it appears that I've found another error. When my Custom Permalink Structure field is set to %parents%/%slug%, the get_page_url function literally places %parents% in my URL. So it returns something like "http://www/mysite.com/%parents%/pageslug".
The function get_header must use the get_page_url too, because it returns the <link rel="canonical" href=... line as having the %parents% as well.
Should I submit this as an error to GitHub? I've never done that before, but if it means that a fix would happen, it'd be worth it!
The function get_header must use the get_page_url too, because it returns the <link rel="canonical" href=... line as having the %parents% as well.
Should I submit this as an error to GitHub? I've never done that before, but if it means that a fix would happen, it'd be worth it!