WordPress.org

Making WordPress.org

Ticket #1353: 1353.diff

File 1353.diff, 2.3 KB (added by BandonRandon, 4 years ago)
  • plugins

  • themes/pub/wporg-developer/functions.php

    Property changes on: plugins
    ___________________________________________________________________
    Added: svn:externals
    ## -0,0 +1,9 ##
    +akismet https://plugins.svn.wordpress.org/akismet/trunk
    +bbpress https://plugins.svn.wordpress.org/bbpress/trunk
    +debug-bar https://plugins.svn.wordpress.org/debug-bar/trunk
    +debug-bar-cron https://plugins.svn.wordpress.org/debug-bar-cron/trunk
    +email-post-changes https://plugins.svn.wordpress.org/email-post-changes/trunk
    +speakerdeck-embed https://plugins.svn.wordpress.org/speakerdeck-embed/trunk
    +supportflow https://plugins.svn.wordpress.org/supportflow/trunk
    +syntaxhighlighter https://plugins.svn.wordpress.org/syntaxhighlighter/trunk
    +wordpress-importer https://plugins.svn.wordpress.org/wordpress-importer/trunk
     
    101101
    102102        add_filter( 'wp_parser_skip_duplicate_hooks', '__return_true' );
    103103
     104        add_theme_support( 'title-tag');
     105        add_filter( 'document_title_separator', __NAMESPACE__ . '\\theme_title_separator',10,2);
    104106}
    105107
    106108/**
     
    277279                add_meta_box( 'commentsdiv', __( 'User Contributed Notes', 'wporg' ), 'post_comment_meta_box', $post_type, 'normal', 'high' );
    278280        }
    279281}
     282
     283/**
     284 * Adds a title seperator to page titles
     285 */
     286function theme_title_separator(){
     287        return '|';
     288}
  • themes/pub/wporg-developer/header.php

     
    66 *
    77 * @package wporg-developer
    88 */
    9 
    10 $GLOBALS['pagetitle'] = wp_title( '|', false, 'right' );
    11 
     9 
    1210require WPORGPATH . 'header.php';
    1311?>
    1412
  • themes