Making WordPress.org

Changeset 10914


Ignore:
Timestamp:
04/20/2021 01:39:39 AM (4 years ago)
Author:
dd32
Message:

Gutenberg: Remove reference to editor-styles.css. Avoids PHP warnings attempting to read a file that no longer exists.

Props youknowriad.
See https://wordpress.slack.com/archives/C02QB2JS7/p1618559054492600?thread_ts=1618532556.489700&cid=C02QB2JS7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php

    r9587 r10914  
    177177    // Editor Styles.
    178178    global $editor_styles;
    179     $styles = array(
    180         array(
    181             'css' => file_get_contents(
    182                 ABSPATH . WPINC . '/css/dist/editor/editor-styles.css'
    183             ),
    184         ),
    185     );
     179    $styles = array();
    186180
    187181    /* Translators: Use this to specify the CSS font family for the default font */
Note: See TracChangeset for help on using the changeset viewer.