[wp-trac] [WordPress Trac] #45894: is_home conditional tag returns incorrect value with home pagination
WordPress Trac
noreply at wordpress.org
Thu Jan 10 12:23:45 UTC 2019
#45894: is_home conditional tag returns incorrect value with home pagination
--------------------------+------------------------------
Reporter: man4toman | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 5.0.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by man4toman):
Hi @ChriCo
I agree with you and also thought about this.
But if we consider the function's name, the is_home function should only
be for the first page even in blog mode.
Unless we must change the name of is_home to is_blog_home or something
like this to prevent this misunderstanding.
Totally we must conclude in this case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45894#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list