Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 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:

Description

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 11 years ago.

Download all attachments as: .zip

Change History (6)

@markjaquith
11 years ago

#1 @markjaquith
11 years ago

Got it started. What other ones?

#2 @markjaquith
11 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
11 years ago

This addresses the issue noted here: #23572

Version 0, edited 11 years ago by batmoo (next)

#4 @ocean90
11 years ago

Related: #23942

#5 @SergeyBiryukov
11 years ago

In 23911:

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

Note: See TracTickets for help on using tickets.