WordPress/wp-content/themes/twentynineteen/inc
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
..
back-compat.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
color-patterns.php Bundled Themes: Correct @since tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
customizer.php Bundled Themes: Correct @since tags to refer to the theme version instead of WordPress version. 2019-12-07 13:56:06 +00:00
icon-functions.php 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
template-functions.php 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
template-tags.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00