Make WordPress Core

Ticket #48817: 48817.1.diff

File 48817.1.diff, 711 bytes (added by shaampk1, 6 years ago)

sprintf function: fixed the missing comma for $version var under ELSE check.

  • wp-includes/functions.php

     
    49574957                                        __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
    49584958                                        $hook,
    49594959                                        $version,
    4960                                         $replacement
     4960                                        $replacement,
    49614961                                ) . $message,
    49624962                                E_USER_DEPRECATED
    49634963                        );
     
    49674967                                        /* translators: 1: WordPress hook name, 2: Version number. */
    49684968                                        __( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ),
    49694969                                        $hook,
    4970                                         $version
     4970                                        $version,
    49714971                                ) . $message,
    49724972                                E_USER_DEPRECATED
    49734973                        );