Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/05/2016 04:26:30 AM (9 years ago)
Author:
boonebgorges
Message:

Move bp-core classes to their own files.

See #6870.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-core-login-widget.php

    r10515 r10518  
    11<?php
    22/**
    3  * BuddyPress Core Component Widgets.
     3 * BuddyPress Core Login Widget.
    44 *
    55 * @package BuddyPress
    66 * @subpackage Core
    7  * @since 1.0.0
     7 * @since 1.9.0
    88 */
    99
    1010// Exit if accessed directly.
    1111defined( 'ABSPATH' ) || exit;
    12 
    13 /**
    14  * Register bp-core widgets.
    15  *
    16  * @since 1.0.0
    17  */
    18 function bp_core_register_widgets() {
    19     add_action('widgets_init', create_function('', 'return register_widget("BP_Core_Login_Widget");') );
    20 }
    21 add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
    2212
    2313/**
Note: See TracChangeset for help on using the changeset viewer.