Make WordPress Core


Ignore:
Timestamp:
06/20/2020 01:16:45 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Replace echo sprintf() with printf().

See #49542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/maint/repair.php

    r47808 r48111  
    112112            } else {
    113113                /* translators: 1: Table name, 2: Error message. */
    114                 echo sprintf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ) . '<br />';
     114                printf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ) . '<br />';
    115115                $problems[ $table ] = $check->Msg_text;
    116116                $okay               = false;
Note: See TracChangeset for help on using the changeset viewer.