futtta / ao_critcss_aas

Autoptimize power-up to integrate with criticalcss.com
9 stars 1 forks source link

wordpress quirk: is_front_page not always *really* front-page #56

Closed futtta closed 6 years ago

futtta commented 6 years ago

on my little blog (which does not have a static frontpage) is_front_page returns true for the actual homepage, but also for /page/1, /page/2, ...

this is due to a quirk in wordpress core, see https://core.trac.wordpress.org/ticket/6848

futtta commented 6 years ago

fix; https://github.com/futtta/ao_critcss_aas/commit/bd0f45f4dc44fb1f3dbfb59fff5c3b4f4056a7d1