[wp-trac] [WordPress Trac] #20419: get_sample_permalink() passes the wrong post_status to wp_unique_post_slug()
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 18 21:25:37 UTC 2012
#20419: get_sample_permalink() passes the wrong post_status to
wp_unique_post_slug()
--------------------------+------------------------------
Reporter: mintindeed | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.3
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by ryan):
Alternatively, pass a post_status of 'sample' or some other dummy to
wp_unique_post_slug() and add handling for it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20419#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list