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

WordPress Trac noreply at wordpress.org
Sat Jun 24 05:12:44 UTC 2023


#43515: Twenty Seventeen: Two different function, which return same result
------------------------------+-----------------------
 Reporter:  mukesh27          |       Owner:  audrasjb
     Type:  enhancement       |      Status:  closed
 Priority:  low               |   Milestone:  6.3
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------
Changes (by audrasjb):

 * owner:  (none) => audrasjb
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56012" 56012]:
 {{{
 #!CommitTicketReference repository="" revision="56012"
 Twenty Seventeen: Make `twentyseventeen_is_static_front_page()` an alias
 of `twentyseventeen_is_frontpage()`.

 Since both functions return the exact same thing, this changeset makes
 `twentyseventeen_is_static_front_page()` an alias of
 `twentyseventeen_is_frontpage()`
 and updates the related docblocks and function callback.

 Props mukesh27, soulseekah, swissspidy, sabernhardt, audrasjb,
 SergeyBiryukov, hareesh-pillai.
 Fixes #43515.
 }}}

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


More information about the wp-trac mailing list