Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#24233 closed defect (bug) (fixed)

_post_formats_title() assumes it will always get two arguments

Reported by: markjaquith's profile markjaquith Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.6 Priority: high
Severity: normal Version: 3.6
Component: Warnings/Notices Keywords:
Focuses: Cc:

Description

If 'the_title' is called with one argument, it's going to complain.

https://twitter.com/16kbit/status/329331910209851393

Change History (3)

#1 @kpdesign
11 years ago

Also reported here: http://wordpress.org/support/topic/p2-issues-with-wp-36-beta1-24113.

kovshenin submitted a patch for the issue here: http://core.trac.wordpress.org/ticket/24011#comment:37

I tested his patch this morning against 3.6-beta2, and it resolved the notices I was getting with P2.

#2 @kpdesign
11 years ago

  • Cc kpdesign3@… added

#3 @SergeyBiryukov
11 years ago

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

In 24146:

Make $post_id argument optional for _post_formats_title(). props kovshenin. fixes #24233. see #24011.

Note: See TracTickets for help on using tickets.