[wp-trac] [WordPress Trac] #35034: Handling undefined index notices in wp_old_slug_redirect
WordPress Trac
noreply at wordpress.org
Sat Dec 12 11:08:17 UTC 2015
#35034: Handling undefined index notices in wp_old_slug_redirect
--------------------------+------------------------------
Reporter: nirajkvinit | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by swissspidy):
* version: 4.4 =>
Comment:
Under what circumstances are these values not set?
Using `$wp_query->get( 'name' )` should suffice, as this function already
does an `isset` check.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35034#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list