[wp-trac] [WordPress Trac] #54736: get_sample_permalink unsets $post->filter even though this is a public property.
WordPress Trac
noreply at wordpress.org
Tue Aug 16 22:51:58 UTC 2022
#54736: get_sample_permalink unsets $post->filter even though this is a public
property.
----------------------------------------+-----------------------------
Reporter: herregroen | Owner: hellofromTonya
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Posts, Post Types | Version: 2.7.1
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-----------------------------
Comment (by ironprogrammer):
@niravsherasiya7707: Absolutely! As Peter mentioned, you could submit unit
tests through a PR to [https://github.com/peterwilsoncc/wordpress-
develop/tree/54736-sample-permalink-filter Peter's branch], or fork
[https://github.com/WordPress/wordpress-develop/pull/2626 PR 2626]
directly and add the tests to your own branch.
Props will pick up Peter's original PR, but if you end up forking the
original, it's always nice to mention where it started 🙌🏻
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54736#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list