WordPress.org

Make WordPress Core

Ticket #46269: 46269.diff

File 46269.diff, 985 bytes (added by afragen, 8 months ago)

This patch created on a patched version of trunk

  • wp-admin/includes/update.php

    diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php
    index b57bcc1..fb16b96 100644
    a b function wp_plugin_update_row( $file, $plugin_data ) { 
    465465                                        esc_attr( $response->new_version ),
    466466                                        esc_url( wp_get_update_php_url() )
    467467                                );
    468                                 wp_update_php_annotation();
     468                                wp_update_php_annotation( '<br><span class="description">', '</span>' );
    469469                        }
    470470                }
    471471
  • wp-admin/update-core.php

    diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
    index 881d9e9..abf129b 100644
    a b function list_plugin_updates() { 
    304304                                __( '<a href="%s">Learn more about updating PHP.</a>' ),
    305305                                esc_url( wp_get_update_php_url() )
    306306                        );
    307                         $compat .= wp_get_update_php_annotation();
     307                        $compat .= wp_get_update_php_annotation( '<br><span class="description">', '</span>' );
    308308                }
    309309
    310310                // Get the upgrade notice for the new plugin version.