WordPress.org

Make WordPress Core

Changeset 39316


Ignore:
Timestamp:
11/19/16 02:43:49 (7 months ago)
Author:
SergeyBiryukov
Message:

I18N: Use 'WordPress hook name' instead of 'PHP hook name' in translator comments added in [39315].

See #38862.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r39315 r39316  
    40314031        $message = empty( $message ) ? '' : ' ' . $message; 
    40324032        if ( ! is_null( $replacement ) ) { 
    4033             /* translators: 1: PHP hook name, 2: version number, 3: alternative hook name */ 
     4033            /* translators: 1: WordPress hook name, 2: version number, 3: alternative hook name */ 
    40344034            trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $hook, $version, $replacement ) . $message ); 
    40354035        } else { 
    4036             /* translators: 1: PHP hook name, 2: version number */ 
     4036            /* translators: 1: WordPress hook name, 2: version number */ 
    40374037            trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ), $hook, $version ) . $message ); 
    40384038        } 
Note: See TracChangeset for help on using the changeset viewer.