WordPress.org

Make WordPress Core

Ticket #46678: 46678.diff

File 46678.diff, 527 bytes (added by afragen, 17 months ago)
  • wp-includes/functions.php

    diff --git a/wp-includes/functions.php b/wp-includes/functions.php
    index 4efc00f389..2fc1d08b4a 100644
    a b function wp_get_default_update_php_url() { 
    69176917 */
    69186918function wp_update_php_annotation( $before = '<p class="description">', $after = '</p>' ) {
    69196919        $annotation = wp_get_update_php_annotation();
     6920        $annotation = empty( $annotation ) ? null : $before . $annotation . $after;
    69206921
    6921         echo $before . $annotation . $after;
     6922        echo $annotation;
    69226923}
    69236924
    69246925/**