Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#34721 closed defect (bug) (fixed)

Filter doc of mcs_css is invalid

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

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 9 years ago.

Download all attachments as: .zip

Change History (4)

@hnle
9 years ago

#1 @hnle
9 years ago

  • Keywords has-patch added

#2 @johnbillion
9 years ago

  • Milestone changed from Awaiting Review to 4.4

#3 @johnbillion
9 years ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

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.