Opened 12 years ago
Closed 12 years ago
#26816 closed enhancement (wontfix)
add "option" function
| Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.
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?