Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#23927 closed task (blessed) (fixed)

Use standard root for post format theme API functions

Reported by: markjaquith Owned by: 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 13 months ago.

Download all attachments as: .zip

Change History (6)

markjaquith13 months ago

comment:1 markjaquith13 months ago

Got it started. What other ones?

comment:2 markjaquith13 months 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

comment:3 batmoo13 months ago

This addresses the issue noted here: #23572

Version 0, edited 13 months ago by batmoo (next)

comment:5 SergeyBiryukov13 months ago

In 23911:

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

Note: See TracTickets for help on using tickets.