Hello Dolly: Hide the lyrics in the block editor.

I'm sorry, Hello Dolly. You're my favourite 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.

Props joen.
See #45345.


Built from https://develop.svn.wordpress.org/branches/5.0@43900


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-11-15 23:38:48 +00:00
parent 80dd8b9b83
commit 1f13d6144d
2 changed files with 6 additions and 3 deletions

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>
";
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-beta4-43899';
$wp_version = '5.0-beta4-43900';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.