Make WordPress Core

Changeset 44211


Ignore:
Timestamp:
12/15/2018 05:26:37 PM (6 years ago)
Author:
desrosj
Message:

Script Loader: Misplaced parenthesis when wp-tinymce-lists is added.

A closing parenthesis was misplaced in the $scripts->add( 'wp-tinymce-lists' ) call, causing the dependencies and version to be incorrectly passed to includes_url() instead.

Props volodymyrkolesnykov.
Fixes: #45506.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/script-loader.php

    r44208 r44211  
    6161    }
    6262
    63     $scripts->add( 'wp-tinymce-lists', includes_url( "js/tinymce/plugins/lists/plugin$suffix.js", array( 'wp-tinymce' ), $tinymce_version ) );
     63    $scripts->add( 'wp-tinymce-lists', includes_url( "js/tinymce/plugins/lists/plugin$suffix.js" ), array( 'wp-tinymce' ), $tinymce_version );
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.