WordPress.org

Making WordPress.org

Changeset 5213


Ignore:
Timestamp:
03/30/2017 07:50:10 PM (5 years ago)
Author:
obenland
Message:

Plugin Directory: Use emdash as title separator

Props SergeyBiryukov.
Closes #2387.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php

    r5212 r5213  
    172172
    173173/**
     174 * Set the separator for the document title.
     175 *
     176 * @return string Document title separator.
     177 */
     178function document_title_separator() {
     179    return '—';
     180}
     181add_filter( 'document_title_separator', __NAMESPACE__ . '\document_title_separator' );
     182
     183/**
    174184 * Shorten excerpt length on index pages, so plugins cards are all the same height.
    175185 *
Note: See TracChangeset for help on using the changeset viewer.