Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34721 closed defect (bug) (fixed)

Filter doc of mcs_css is invalid

Reported by: hnle Owned by: johnbillion
Priority: normal Milestone: 4.4
Component: TinyMCE Version: 3.9
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

The filter hook mce_css 's argument is string (Comma-delimited list of stylesheets) but in doc, it is array

https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/class-wp-editor.php#L537

This doc have since 3.9 to now on trunk.

Attachments (1)

34721.patch (528 bytes ) - added by hnle 11 years ago.

Download all attachments as: .zip

Change History (4)

@hnle
11 years ago

#1 @hnle
11 years ago

  • Keywords has-patch added

#2 @johnbillion
11 years ago

  • Milestone Awaiting Review4.4

#3 @johnbillion
11 years ago

  • Owner set to johnbillion
  • Resolutionfixed
  • Status newclosed

In 35660:

Correct the parameter type for the $stylesheet parameter in the mce_css filter documentation.

Fixes #34721
Props hnle

Note: See TracTickets for help on using tickets.