#14870 closed defect (bug) (fixed)
first parameter of wp_admin_css() is not optional in docblock
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Inline Docs | Version: | 3.1 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
16 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
@
16 years ago
function wp_admin_css( $file = 'wp-admin', $force_echo = false ) looks optional to me.
#3
@
16 years ago
- Summary first parameter of wp_admin_css() is not optional → first parameter of wp_admin_css() is not optional in docblock
Note:
See TracTickets
for help on using tickets.
Not optional.