WordPress/wp-content/themes
Sergey Biryukov 297aa098ae Twenty Nineteen: Improve code organization in template-functions.php by moving helper functions into their own file.
These functions are moved to `inc/helper-functions.php`:

* `twentynineteen_can_show_post_thumbnail()`
* `twentynineteen_image_filters_enabled()`
* `twentynineteen_get_avatar_size()`
* `twentynineteen_is_comment_by_post_author()`
* `twentynineteen_get_discussion_data()`
* `twentynineteen_hsl_hex()`

Additionally, `twentynineteen_add_dropdown_icons()` is moved to `inc/icon-functions.php` to join `twentynineteen_nav_menu_social_icons()`.

Props akshayar, allancole, grapplerulrich.
Fixes #45984.
Built from https://develop.svn.wordpress.org/trunk@47214


git-svn-id: http://core.svn.wordpress.org/trunk@47014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-08 13:01:06 +00:00
..
twentyeleven Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
twentyfifteen Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
twentyfourteen Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
twentynineteen Twenty Nineteen: Improve code organization in template-functions.php by moving helper functions into their own file. 2020-02-08 13:01:06 +00:00
twentyseventeen Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
twentysixteen Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
twentyten Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
twentythirteen Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
twentytwelve Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
twentytwenty Bundled Themes: Twenty Twenty Menu rendering problem Unicode (Bangla). 2020-02-05 15:02:05 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00