WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18308 closed defect (bug) (invalid)

Deprecated Call - Argument in get_bloginfo()

Reported by: 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)

comment:1 nacin3 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().

comment:2 emiluzelac3 years ago

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

comment:3 follow-up: scribu3 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)?

comment:4 in reply to: ↑ 3 nacin3 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.