Opened 3 years ago

Closed 3 years ago

#12642 closed defect (bug) (fixed)

Renaming of get_usernumposts() breaks some plugins/themes

Reported by: Viper007Bond Owned by:
Priority: normal Milestone: 3.0
Component: General Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

r13576 renamed get_usernumposts(). This has the potential to break plugins/themes (already got one report on IRC).

Is it really a wise to fully get rid of a function that's been around since 0.71?

Attached patch reintroduces the function in deprecated form.

Attachments (1)

12642.patch (1.3 KB) - added by Viper007Bond 3 years ago.

Download all attachments as: .zip

Change History (2)

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

(In [13761]) Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.

Note: See TracTickets for help on using tickets.