Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37409, comment 1


Ignore:
Timestamp:
07/19/2016 02:42:39 PM (8 years ago)
Author:
achbed
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37409, comment 1

    initial v1  
    1 Is this check for is_home even needed, since we should have already covered all applicable cases with the `is_front_page()` and `is_post_type_archive()` checks above that?  There's no harm in leaving it in, but the optimizer in me says unit test this and remove if it causes no change.  An electron saved is an electron earned :)
     1Is this check for `is_home()` even needed, since we should have already covered all applicable cases with the `is_front_page()` and `is_post_type_archive()` checks above that?  There's no harm in leaving it in, but the optimizer in me says unit test this and remove if it causes no change.  An electron saved is an electron earned :)