[wp-trac] [WordPress Trac] #25005: Notice using get_sample_permalink()
WordPress Trac
noreply at wordpress.org
Sat Aug 10 08:16:11 UTC 2013
#25005: Notice using get_sample_permalink()
--------------------------+------------------------------
Reporter: juliobox | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by rmccue):
* type: enhancement => defect (bug)
Comment:
This is a bug, not an enhancement. We should be checking the value of
`$post` here, probably just changing the if statement to `if ( ! $post ||
! $post->ID )`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25005#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list