Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18308 closed defect (bug) (invalid)

Deprecated Call - Argument in get_bloginfo()

Reported by: emiluzelac's profile emiluzelac Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2.1
Component: General Keywords:
Focuses: Cc:

Description

Log Deprecated Notices reports:

Deprecated Call
Argument in get_bloginfo()
Used in wp-includes/general-template.php on line 372.

Alternative
The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead.
Deprecated in version 2.2.

Count 2.

Reported by a Theme Reviewer here.

I did verify and was able to recreate this.

Change History (4)

#1 @nacin
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

My plugin isn't going up the stack enough -- wp-includes/general-template.php line 372 is bloginfo() making the call. (The error is fired in get_bloginfo()).

This isn't a core bug -- bloginfo.*siteurl returns no results.

I'll patch my plugin to take notice of bloginfo().

#2 @emiluzelac
13 years ago

Sorry about that and sounds good. Thank you kind sir.

#3 follow-up: @scribu
13 years ago

I'll patch my plugin to take notice of bloginfo().

How about displaying the entire stack trace, in condensed form (i.e. only the function names)?

#4 in reply to: ↑ 3 @nacin
13 years ago

Replying to scribu:

I'll patch my plugin to take notice of bloginfo().

How about displaying the entire stack trace, in condensed form (i.e. only the function names)?

Because normally I can pinpoint it. The stack can get quite repetitive when going through standard functions and the hooks system.

Note: See TracTickets for help on using tickets.