Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49438


Ignore:
Timestamp:
02/15/2020 01:44:30 AM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49438 – Description

    initial v1  
    33
    44It's due to the code
    5 'condition'   => ( is_front_page() || is_home() ) && ! is_page()
     5`'condition'   => ( is_front_page() || is_home() ) && ! is_page()`
    66
    77is_page(), infact, returns true on is_front_page() in that case.
     
    99I suppose it should be:
    1010
    11 'condition'   => is_front_page() || ( is_home() && ! is_page() )
     11`'condition'   => is_front_page() || ( is_home() && ! is_page() )`
    1212
    1313Diff patch attached.