Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/20/2011 11:58:01 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Add specific classes to body_class. Fixes #1478.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-hooks.php

    r2907 r2926  
    7575
    7676// Template - Head, foot, errors and notices
    77 add_action( 'wp_head',              'bbp_head'                 );
    78 add_filter( 'wp_title',             'bbp_title',         10, 3 );
    79 add_action( 'wp_footer',            'bbp_footer'               );
    80 add_action( 'bbp_template_notices', 'bbp_error_messages'       );
    81 add_action( 'bbp_template_notices', 'bbp_topic_notices'        );
     77add_action( 'wp_head',              'bbp_head'                  );
     78add_filter( 'wp_title',             'bbp_title',          10, 3 );
     79add_action( 'wp_footer',            'bbp_footer'                );
     80add_action( 'bbp_template_notices', 'bbp_error_messages'        );
     81add_action( 'bbp_template_notices', 'bbp_topic_notices'         );
     82
     83// Add to body class
     84add_filter( 'body_class', 'bbp_body_class', 10, 2 );
    8285
    8386// Caps & Roles
Note: See TracChangeset for help on using the changeset viewer.