WordPress.org

Make WordPress Core

Ticket #16580: 16580.patch

File 16580.patch, 867 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-admin/includes/plugin-install.php

     
    268268
    269269                $title = $section_name;
    270270                $title = ucwords(str_replace('_', ' ', $title));
     271                $title = str_replace('Faq', 'FAQ', $title);
    271272
    272273                $class = ( $section_name == $section ) ? ' class="current"' : '';
    273274                $href = add_query_arg( array('tab' => $tab, 'section' => $section_name) );
     
    348349                        $title = $section_name;
    349350                        $title[0] = strtoupper($title[0]);
    350351                        $title = str_replace('_', ' ', $title);
     352                        $title = str_replace('Faq', 'FAQ', $title);
    351353
    352354                        $content = links_add_base_url($content, 'http://wordpress.org/extend/plugins/' . $api->slug . '/');
    353355                        $content = links_add_target($content, '_blank');