Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#26816 closed enhancement (wontfix)

add "option" function

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

Description

Introduce option() function that just will echo the get_option function

So using option( 'template' ) will be as echo get_option( 'template' );

Change History (2)

#1 @jeremyfelt
11 years ago

A tough part about blindly echoing something from get_option() is that it wouldn't necessarily be properly escaped for output.

Is there a specific scenario where this would be useful?

#2 @nacin
11 years ago

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

I don't think this is necessary or a good idea.

Note: See TracTickets for help on using tickets.