Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#18600 closed enhancement (fixed)

Add a filter to is_multi_author()

Reported by: viper007bond's profile Viper007Bond Owned by: nacin's profile nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Template Keywords: has-patch commit
Focuses: Cc:

Description

My blog is technically a multi-author blog because I have my administrator account as well as a lower-permission account I use for mobile blogging, so is_multi_author() correctly returns true. However I want to force it to return false so that theme don't display a byline, etc.

add_filter( 'is_multi_author', '__return_false' );

Attachments (1)

18600.patch (419 bytes) - added by Viper007Bond 14 years ago.

Download all attachments as: .zip

Change History (4)

@Viper007Bond
14 years ago

#1 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.3

Seems good to me.

#2 @nacin
14 years ago

  • Keywords commit added

#3 @nacin
14 years ago

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

In [18649]:

Add a filter to is_multi_author(). props Viper007Bond, fixes #18600.

Note: See TracTickets for help on using tickets.