[wp-trac] [WordPress Trac] #43515: Twenty Seventeen: Two different function, which return same result

WordPress Trac noreply at wordpress.org
Sat Mar 10 08:29:52 UTC 2018


#43515: Twenty Seventeen: Two different function, which return same result
---------------------------+-----------------------------
 Reporter:  mukesh27       |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  4.9.4
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Many apologies if this is a duplicate. I have searched but did not find it
 yet posted.

 Theme: Twenty Seventeen
 Version: 1.4 (not tested below 1.4)

 The theme have two different functions twentyseventeen_is_frontpage and
 twentyseventeen_is_static_front_page both have return same result so why
 we create two different function as both function return same result? They
 have to remove "twentyseventeen_is_static_front_page" function use in one
 place.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list