Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#24233 closed defect (bug) (fixed)

_post_formats_title() assumes it will always get two arguments

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


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


Change History (3)

#1 @kpdesign
8 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
8 years ago

  • Cc kpdesign3@… added

#3 @SergeyBiryukov
8 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.