WordPress.org

Make WordPress Core

Ticket #45345: hello-dolly.diff

File hello-dolly.diff, 915 bytes (added by Joen, 2 years ago)

Hello Dolly patch

  • src/wp-content/plugins/hello.php

    diff --git src/wp-content/plugins/hello.php src/wp-content/plugins/hello.php
    index 34e3b68c78..189653b132 100644
     
    11<?php
    22/**
    33 * @package Hello_Dolly
    4  * @version 1.7
     4 * @version 1.7.1
    55 */
    66/*
    77Plugin Name: Hello Dolly
    88Plugin URI: http://wordpress.org/plugins/hello-dolly/
    99Description: 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.
    1010Author: Matt Mullenweg
    11 Version: 1.7
     11Version: 1.7.1
    1212Author URI: http://ma.tt/
    1313*/
    1414
    function dolly_css() { 
    7272                margin: 0;
    7373                font-size: 11px;
    7474        }
     75        .block-editor-page #dolly {
     76                display: none;
     77        }
    7578        </style>
    7679        ";
    7780}