Making WordPress.org

Changeset 10837


Ignore:
Timestamp:
03/18/2021 08:47:59 PM (5 years ago)
Author:
coffee2code
Message:

Handbooks, Handbook: Uppercase the first letter of the derived handbook name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php

    r10782 r10837  
    135135                        // If no name defined yet, try handbook post type if not standard.
    136136                        if ( ! $name && ( 'handbook' !== $post_type ) ) {
    137                                 $name = ucfirst( str_replace( '-handbook', '', $post_type ) );
     137                                $name = str_replace( '-handbook', '', $post_type );
    138138                        }
    139139
    140140                        $name .= ' Handbook';
     141                        $name = ucfirst( $name );
    141142                }
    142143
Note: See TracChangeset for help on using the changeset viewer.