#14870 closed defect (bug) (fixed)
first parameter of wp_admin_css() is not optional in docblock
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | minor | Version: | 3.1 |
Component: | Inline Docs | Keywords: | has-patch |
Focuses: | Cc: |
Description
It is either a documentation problem or a code problem:
wp_admin_css( 'css/global' ); wp_admin_css(); wp_admin_css( 'css/colors' ); wp_admin_css( 'css/ie' );
See second line. In /wordpress-trunk/wp-admin/admin-header.php line 37.
Attachments (2)
Change History (9)
#1
@
13 years ago
I provided a patch for both cases, I think it's the documentation problem (second patch) as the parameter is optional in code.
#2
@
13 years ago
function wp_admin_css( $file = 'wp-admin', $force_echo = false )
looks optional to me.
#3
@
13 years ago
- Summary changed from first parameter of wp_admin_css() is not optional to first parameter of wp_admin_css() is not optional in docblock
Note: See
TracTickets for help on using
tickets.
Not optional.