Separately, use `$post` for checking the post status and retrieving the page_uri in `get_post_permalink()` instead of referencing back to the original `$id` parameter. Props GunGeekATX for the initial patch. Fixes #40780. Built from https://develop.svn.wordpress.org/trunk@40975 git-svn-id: http://core.svn.wordpress.org/trunk@40825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
132 KiB
132 KiB