Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#23927 closed task (blessed) (fixed)

Use standard root for post format theme API functions

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: 3.6 Priority: high
Severity: normal Version: 3.6
Component: Template Keywords:
Focuses: Cc:


The post format theme API functions are too generic. We're going to have collisions, and they can look ambiguous. For example: the_url() vs the_permalink() the_image() vs our post thumbnail functions.

Suggested in IRC: use post_format as the root phrase. e.g. the_post_format_image()

Attachments (1)

23927.diff (7.6 KB) - added by markjaquith 10 years ago.

Download all attachments as: .zip

Change History (6)

10 years ago

#1 @markjaquith
10 years ago

Got it started. What other ones?

#2 @markjaquith
10 years ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In 23899:

Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().

fixes #23927

#3 @batmoo
10 years ago

This addresses the get_the_image conflict noted here: #23572

Last edited 10 years ago by batmoo (previous) (diff)

#4 @ocean90
10 years ago

Related: #23942

#5 @SergeyBiryukov
10 years ago

In 23911:

Use correct function name. props ocean90. fixes #23942. see #23927.

Note: See TracTickets for help on using tickets.