WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21995, comment 30


Ignore:
Timestamp:
10/16/2014 11:36:24 AM (7 years ago)
Author:
chrisvanpatten
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21995, comment 30

    initial v1  
    1 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?
     1Random 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`, `get_the_content`, `get_the_post_thumbnail`, etc.) - shouldn't that convention be mirrored for new functions?
    22
    33As a side note - should that convention be documented somewhere, so it's followed for additional new functions?