mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 16:10:43 +01:00
`get_sample_permalink()` (ab)uses the `$post->filter` property to indicate a sample permalink is being generated for the post. This change ensures the property is restored to its original value. Props herregroen, hellofromTonya, peterwilsoncc, Rahmohn, costdev. Fixes #54736. git-svn-id: https://develop.svn.wordpress.org/trunk@54244 602fd350-edb4-49c9-b593-d223f7449a82