[wp-trac] [WordPress Trac] #40956: Twenty Twelve: Line-Height in TinyMCE Editor
WordPress Trac
noreply at wordpress.org
Tue Jun 13 12:30:34 UTC 2017
#40956: Twenty Twelve: Line-Height in TinyMCE Editor
---------------------------+------------------------------
Reporter: superpoincare | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 4.8
Severity: normal | Resolution:
Keywords: | Focuses: administration
---------------------------+------------------------------
Comment (by superpoincare):
Replying to [comment:10 blure]:
I think it's because the files are being fetched from the cache not the
server. Wordpress files have a query string appended to filenames which
helps in breaking the cache. A new version will be fetched when the
Wordpress version is changed or if cache expires.
But overwriting core Wordpress files is not good practice. This is because
future updates will overwrite your changes.
Use a child theme and make a file named editor-style.css and edit it in
topmost folder and enqueue the file like this in child functions.php:
{{{
function twentytwelve_child_setup() {
add_editor_style();
}
add_action( 'after_setup_theme', 'twentytwelve_child_setup' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40956#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list