[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions
WordPress Trac
noreply at wordpress.org
Thu Oct 16 11:35:07 UTC 2014
#21995: (get/the)_archive_title and (get/the)_archive_description functions
--------------------------------------+-----------------------
Reporter: thomask | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.1
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch twenty-fifteen | Focuses: template
--------------------------------------+-----------------------
Comment (by chrisvanpatten):
Random question: why isn't the function name `get_the_archive_title`? We
finally got `get_the_permalink` in core (3.9 I think?) to match the other
core templating functions (`get_the_title`, `get_the_ID`, etc.) -
shouldn't that convention be mirrored for new functions?
As a side note - should that convention be documented somewhere, so it's
followed for additional new functions?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21995#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list