Skip to content
This repository was archived by the owner on Dec 11, 2017. It is now read-only.
This repository was archived by the owner on Dec 11, 2017. It is now read-only.

copy/paste error in inline docs #28

@joyously

Description

@joyously

In the load_plugin_editor_php function, the inline docs for the filter are incorrect, where it mentions a theme.

/**
 * Give folks a chance to filter the arguments passed to CodeMirror -- This will let them enable
 * or disable it (by returning something that evaluates to false) as they choose as well.
 *
 * @param array    $options The array of options to be passed to CodeMirror. Falsey doesn't use CodeMirror.
 * @param string   $file    The file being displayed.
 * @param WP_Theme $theme   The WP_Theme object for the current theme being edited.
 */
self::$options = apply_filters( 'plugin_editor_codemirror_opts', self::$options, $file, $plugin );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions