[wp-trac] [WordPress Trac] #44071: Unreachable condition in elseIF
WordPress Trac
noreply at wordpress.org
Mon May 14 10:50:51 UTC 2018
#44071: Unreachable condition in elseIF
--------------------------+-----------------------------
Reporter: akshayar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.5
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
There is duplicate 'is_post_type_archive' conditional check-in 'elseif'
condition. You can check 'feed_links_extra()' function located at
'general-template.php' file under 'wp-includes' directory conatains,
https://github.com/WordPress/WordPress/blob/master/wp-includes/general-
template.php#L2799
This block will never get executed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44071>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list