WordPress.org

Make WordPress Core

Changeset 48611


Ignore:
Timestamp:
07/25/2020 04:29:29 PM (2 months ago)
Author:
SergeyBiryukov
Message:

I18N: Move code out of a translatable string in register_theme_feature().

Props ramiy.
Fixes #50758.

File:
1 edited

Legend:

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

    r48598 r48611  
    31233123            return new WP_Error(
    31243124                'invalid_rest_prepare_callback',
    3125                 __( 'The prepare_callback must be a callable function.' )
     3125                sprintf(
     3126                    /* translators: %s: prepare_callback */
     3127                    __( 'The %s must be a callable function.' ),
     3128                    '<code>prepare_callback<code>'
     3129                )
    31263130            );
    31273131        }
Note: See TracChangeset for help on using the changeset viewer.