Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2013 05:15:51 PM (13 years ago)
Author:
johnjamesjacoby
Message:

First pass at bp-notifications component. Includes:

  • Backwards compatibility for old core functions.
  • Screens, functions, classes, and actions for Notifications.
  • Improved class methods for getting, updating, and deleting notifications.
  • Template parts in bp-legacy for theme compatibility.
  • A few basic unit tests.

@todo's:

  • Improve template output with dedicated functions, markup, classes, et all.
  • More unit tests.
  • Pagination links.
  • Auto-activate on update, so existing installations do not lose previously core functionality.

See #5148. Props johnjamesjacoby, boonebgorges, r-a-y.

File:
1 edited

Legend:

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

    r7480 r7521  
    188188
    189189        $default_components = apply_filters( 'bp_new_install_default_components', array(
    190                 'activity' => 1,
    191                 'members'  => 1,
    192                 'settings' => 1,
    193                 'xprofile' => 1,
     190                'activity'      => 1,
     191                'members'       => 1,
     192                'settings'      => 1,
     193                'xprofile'      => 1,
     194                'notifications' => 1,
    194195        ) );
    195196
Note: See TracChangeset for help on using the changeset viewer.