WordPress.org

Make WordPress Core

Opened 10 months ago

Closed 9 months ago

#24610 closed task (blessed) (fixed)

Do something with the_post_format_*() functions

Reported by: markjaquith Owned by: markjaquith
Milestone: 3.6 Priority: high
Severity: blocker Version: 3.6
Component: Post Formats Keywords: has-patch commit
Focuses: Cc:

Description (last modified by wonderboymusic)

As a remaining bit of the post format UI extraction, we need a strategy for functions like:

  • the_post_format_video()
  • the_post_format_audio()
  • the_post_format_image()

And some of their get counterparts.

Attachments (1)

24610.diff (6.3 KB) - added by wonderboymusic 10 months ago.

Download all attachments as: .zip

Change History (14)

comment:1 wonderboymusic10 months ago

  • Description modified (diff)

comment:2 wonderboymusic10 months ago

I am going to suggest moving these functions into the plugin and not leaving them in core

wonderboymusic10 months ago

comment:3 wonderboymusic10 months ago

  • Keywords has-patch commit added

Pour one out 24610.diff​

comment:4 DrewAPicture10 months ago

  • Cc xoodrew@… added

comment:5 jupiterwise10 months ago

  • Cc corey.mckrill@… added

comment:6 johnzanussi10 months ago

  • Cc johnzanussi@… added

comment:7 aaroncampbell10 months ago

  • Cc aaroncampbell added

comment:8 ocean9010 months ago

+1 for removing.

comment:9 markjaquith10 months ago

  • Severity changed from normal to blocker

comment:10 markjaquith10 months ago

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

In 24555:

Remove some more post format functions.

props wonderboymusic. fixes #24610.

comment:11 ocean9010 months ago

img_html_to_post_id() should be removed as well.

comment:12 SergeyBiryukov10 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:13 ocean909 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 24569:

Remove img_html_to_post_id(). It's unused since [24555]. fixes #24610.

Note: See TracTickets for help on using tickets.