Changeset 1057 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
- Timestamp:
- 12/19/2014 09:57:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r1045 r1057 45 45 */ 46 46 require __DIR__ . '/inc/user-content-voting.php'; 47 48 /** 49 * Explanations for functions. hooks, classes, and methods. 50 */ 51 require( __DIR__ . '/inc/explanations.php' ); 47 52 48 53 /** … … 80 85 add_action( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' ); 81 86 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\\theme_scripts_styles' ); 87 82 88 add_filter( 'post_type_link', __NAMESPACE__ . '\\method_permalink', 10, 2 ); 83 89 add_filter( 'term_link', __NAMESPACE__ . '\\taxonomy_permalink', 10, 3 ); 84 90 add_filter( 'the_posts', __NAMESPACE__ . '\\rerun_empty_exact_search', 10, 2 ); 91 85 92 add_theme_support( 'automatic-feed-links' ); 86 93 add_theme_support( 'post-thumbnails' );
Note: See TracChangeset
for help on using the changeset viewer.