Hello Dolly: Hide the lyrics in the block editor.

I'm sorry, Hello Dolly. You're my favorite plugin, but the way you output your lyrics doesn't play nicely with the block editor, particuarly on mobile devices.

This isn't Farewell Dolly, you're still on every other admin page, and I know you'll come back better and stronger.

Merges [43900] to trunk.

Props joen.
See #45345.

git-svn-id: https://develop.svn.wordpress.org/trunk@44229 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2018-12-16 04:51:42 +00:00
parent 26d5633417
commit 14ef0dde3a

View File

@@ -1,14 +1,14 @@
<?php
/**
* @package Hello_Dolly
* @version 1.7
* @version 1.7.1
*/
/*
Plugin Name: Hello Dolly
Plugin URI: http://wordpress.org/plugins/hello-dolly/
Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
Author: Matt Mullenweg
Version: 1.7
Version: 1.7.1
Author URI: http://ma.tt/
*/
@@ -72,6 +72,9 @@ function dolly_css() {
margin: 0;
font-size: 11px;
}
.block-editor-page #dolly {
display: none;
}
</style>
";
}