WordPress.org

Making WordPress.org

Changeset 7713


Ignore:
Timestamp:
10/04/2018 07:48:07 PM (6 months ago)
Author:
coffee2code
Message:

developer.wordpress.org: Move code for skipping import of duplicate hooks when parsing into new file for parser customizations.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
1 added
1 edited

Legend:

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

    r7496 r7713  
    9797 */
    9898require __DIR__ . '/inc/search.php';
     99
     100/**
     101 * Parser customizations.
     102 */
     103require __DIR__ . '/inc/parser.php';
     104
    99105
    100106/**
     
    127133    add_filter( 'breadcrumb_trail_items',  __NAMESPACE__ . '\\breadcrumb_trail_items_for_hooks', 10, 2 );
    128134    add_filter( 'breadcrumb_trail_items',  __NAMESPACE__ . '\\breadcrumb_trail_items_for_handbook_root', 10, 2 );
    129 
    130     add_filter( 'wp_parser_skip_duplicate_hooks', '__return_true' );
    131135
    132136    add_filter( 'document_title_separator', __NAMESPACE__ . '\\theme_title_separator', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.