The get_full_permalink function attempts to create a permalink using the link template and slug, but it only handles templates with %postname%. This causes invalid permalinks to be generated for some posts using %pagename% and other valid templates.
However, there is absolutely no reason not to just use the core get_permalink function and avoid all of these issues.
The
get_full_permalink
function attempts to create a permalink using the link template and slug, but it only handles templates with%postname%
. This causes invalid permalinks to be generated for some posts using%pagename%
and other valid templates.However, there is absolutely no reason not to just use the core
get_permalink
function and avoid all of these issues.