Making WordPress.org

Ticket #2929: 2929.diff

File 2929.diff, 790 bytes (added by Dency, 7 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php

     .../public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
    index 1c2d355..c5deb11 100644
    a b class Devhub_Handbooks { 
    195195         */
    196196        public static function filter_handbook_label( $label, $post_type ) {
    197197                if ( 'rest-api-handbook' === $post_type ) {
    198                         $label = 'REST API Handbook';
     198                        $label = __( 'REST API Handbook', 'wporg' );
    199199                }
    200200
    201201                return $label;