Making WordPress.org


Ignore:
Timestamp:
09/10/2019 04:51:17 AM (7 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress: Enqueue bb-Base styling for developer.buddypress.org.

Remove redundant styling from bbpress/buddypress specific themes.

See #4601.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bbpress-org/functions.php

    r1644 r9133  
    11<?php
    2 
    3 /**
    4  * Redirect away from the login page if you're already logged in
    5  */
    6 function bb_theme_login_redirect() {
    7     if ( is_user_logged_in() && is_page( 'login' ) ) {
    8         wp_safe_redirect( 'https://bbpress.org/forums/' );
    9         exit();
    10     }
    11 }
    12 add_action( 'bbp_template_redirect', 'bb_theme_login_redirect', 11 );
Note: See TracChangeset for help on using the changeset viewer.