Skip to:
Content

Changeset 6529


Ignore:
Timestamp:
11/17/12 08:34:50 (17 months ago)
Author:
r-a-y
Message:

Add 'bp_head' hook 'wp_head' action.

  • Also remove 'bp_head' from bp-default.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-actions.php

    r6436 r6529  
    3838add_action( 'after_setup_theme',       'bp_after_setup_theme',      10    ); 
    3939add_action( 'wp_enqueue_scripts',      'bp_enqueue_scripts',        10    ); 
     40add_action( 'wp_head',                 'bp_head',                   10    ); 
    4041add_action( 'admin_bar_menu',          'bp_setup_admin_bar',        20    ); // After WP core 
    4142add_action( 'template_redirect',       'bp_template_redirect',      10    ); 
  • trunk/bp-themes/bp-default/header.php

    r6177 r6529  
    88        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 
    99 
    10         <?php do_action( 'bp_head' ); ?> 
    1110        <?php wp_head(); ?> 
    1211 
Note: See TracChangeset for help on using the changeset viewer.