Skip to:
Content

BuddyPress.org

Changeset 11899


Ignore:
Timestamp:
03/18/2018 09:56:44 PM (7 years ago)
Author:
djpaul
Message:

Templates, Nouveau: fix @since PHPDoc.

Location:
trunk/src/bp-templates/bp-nouveau
Files:
105 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress-functions.php

    r11855 r11899  
    33 * Functions of BuddyPress's "Nouveau" template pack.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 *
    77 * @buddypress-template-pack {
     
    3030 * See @link BP_Theme_Compat() for more.
    3131 *
    32  * @since 1.0.0
     32 * @since 3.0.0
    3333 */
    3434class BP_Nouveau extends BP_Theme_Compat {
     
    4343     * Return the instance of this class.
    4444     *
    45      * @since 1.0.0
     45     * @since 3.0.0
    4646     */
    4747    public static function get_instance() {
     
    5858     * The BP Nouveau constructor.
    5959     *
    60      * @since 1.0.0
     60     * @since 3.0.0
    6161     */
    6262    public function __construct() {
     
    7373     * BP Nouveau global variables.
    7474     *
    75      * @since 1.0.0
     75     * @since 3.0.0
    7676     */
    7777    protected function setup_globals() {
     
    9191     * Includes!
    9292     *
    93      * @since 1.0.0
     93     * @since 3.0.0
    9494     */
    9595    protected function includes() {
     
    133133     * Setup the Template Pack features support.
    134134     *
    135      * @since 1.0.0
     135     * @since 3.0.0
    136136     */
    137137    protected function setup_support() {
     
    163163     * Setup the Template Pack common actions.
    164164     *
    165      * @since 1.0.0
     165     * @since 3.0.0
    166166     */
    167167    protected function setup_actions() {
     
    210210         * Fires after all of the BuddyPress theme compat actions have been added.
    211211         *
    212          * @since 1.0.0
     212         * @since 3.0.0
    213213         *
    214214         * @param BP_Nouveau $this Current BP_Nouveau instance.
     
    220220     * Enqueue the template pack css files
    221221     *
    222      * @since 1.0.0
     222     * @since 3.0.0
    223223     */
    224224    public function enqueue_styles() {
     
    276276     * Register Template Pack JavaScript files
    277277     *
    278      * @since 1.0.0
     278     * @since 3.0.0
    279279     */
    280280    public function register_scripts() {
     
    339339     * Enqueue the required JavaScript files
    340340     *
    341      * @since 1.0.0
     341     * @since 3.0.0
    342342     */
    343343    public function enqueue_scripts() {
     
    364364     * The no-js class is removed by the JavaScript created in buddypress.js.
    365365     *
    366      * @since 1.0.0
     366     * @since 3.0.0
    367367     *
    368368     * @param array $classes Array of classes to append to body tag.
     
    379379     * These localizations require information that may not be loaded even by init.
    380380     *
    381      * @since 1.0.0
     381     * @since 3.0.0
    382382     */
    383383    public function localize_scripts() {
     
    462462         * Filters core JavaScript strings for internationalization before AJAX usage.
    463463         *
    464          * @since 1.0.0
     464         * @since 3.0.0
    465465         *
    466466         * @param array $value Array of key/value pairs for AJAX usage.
     
    475475     * @see https://buddypress.trac.wordpress.org/ticket/6065
    476476     *
    477      * @since 1.0.0
     477     * @since 3.0.0
    478478     *
    479479     * @param  array $templates Array of templates.
     
    545545     * Add our special 'buddypress' div wrapper to the theme compat template part.
    546546     *
    547      * @since 1.0.0
     547     * @since 3.0.0
    548548     *
    549549     * @see bp_buffer_template_part()
     
    569569     * Define the directory nav items
    570570     *
    571      * @since 1.0.0
     571     * @since 3.0.0
    572572     */
    573573    public function setup_directory_nav() {
     
    601601     * We'll handle template notices from BP Nouveau.
    602602     *
    603      * @since 1.0.0
     603     * @since 3.0.0
    604604     */
    605605    public function neutralize_core_template_notices() {
     
    610610     * Set the BP Uri for the customizer in case of Ajax requests.
    611611     *
    612      * @since 1.0.0
     612     * @since 3.0.0
    613613     *
    614614     * @param  string $path the BP Uri.
     
    639639 * Get a unique instance of BP Nouveau
    640640 *
    641  * @since 1.0.0
     641 * @since 3.0.0
    642642 *
    643643 * @return BP_Nouveau the main instance of the class
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/comment-form.php

    r11856 r11899  
    33 * BP Nouveau Activity Comment form template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/entry.php

    r11856 r11899  
    66 * each activity.
    77 *
    8  * @since 1.0.0
     8 * @since 3.0.0
    99 */
    1010
  • trunk/src/bp-templates/bp-nouveau/buddypress/activity/widget.php

    r11861 r11899  
    33 * BP Nouveau Activity Widget template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/blogs/blogs-loop.php

    r11861 r11899  
    55 * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter().
    66 *
    7  * @since 1.0.0
     7 * @since 3.0.0
    88 */
    99
  • trunk/src/bp-templates/bp-nouveau/buddypress/blogs/create.php

    r11855 r11899  
    33 * BuddyPress - Blogs Create
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/blogs/index.php

    r11686 r11899  
    33 * BuddyPress - Blogs Directory
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/filters/directory-filters.php

    r11686 r11899  
    33 * BP Nouveau Component's  filters template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/filters/groups-screens-filters.php

    r11686 r11899  
    33 * BP Nouveau Groups screens filters
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/filters/user-screens-filters.php

    r11686 r11899  
    33* BP Nouveau User screens filters
    44*
    5 * @since 1.0.0
     5* @since 3.0.0
    66*/
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

    r11855 r11899  
    66 * dealing with invites.
    77 *
    8  * @since 1.0.0
     8 * @since 3.0.0
    99 */
    1010?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php

    r11894 r11899  
    66 * dealing with user's private messages.
    77 *
    8  * @since 1.0.0
     8 * @since 3.0.0
    99 */
    1010?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/nav/directory-nav.php

    r11861 r11899  
    33 * BP Nouveau Component's directory nav template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/notices/template-notices.php

    r11855 r11899  
    33 * BP Nouveau temptate notices template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/search-and-filters-bar.php

    r11855 r11899  
    33 * BP Nouveau Search & filters bar
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/search/search-form.php

    r11686 r11899  
    33* BP Object search form
    44*
    5 * @since 1.0.0
     5* @since 3.0.0
    66*/
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/create-invites.php

    r11856 r11899  
    55* This template include provides the standard BP invites step screen content
    66*
    7 * @since 1.0.0
     7* @since 3.0.0
    88*/
    99?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/groups-loop.php

    r11861 r11899  
    55 * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter().
    66 *
    7  * @since 1.0.0
     7 * @since 3.0.0
    88 */
    99
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/index.php

    r11686 r11899  
    33 * BP Nouveau - Groups Directory
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/activity.php

    r11856 r11899  
    33 * BuddyPress - Groups Activity
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin.php

    r11686 r11899  
    33 * BuddyPress - Groups Admin
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/delete-group.php

    r11686 r11899  
    33 * BP Nouveau Group's delete group template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php

    r11855 r11899  
    33 * BP Nouveau Group's edit details template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php

    r11856 r11899  
    33 * BP Nouveau Group's avatar template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php

    r11856 r11899  
    33 * BP Nouveau Group's cover image template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php

    r11855 r11899  
    33 * BP Nouveau Group's edit settings template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php

    r11855 r11899  
    33 * BP Nouveau Group's manage members template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/membership-requests.php

    r11686 r11899  
    33 * BP Nouveau Group's membership requests template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php

    r11855 r11899  
    33 * BuddyPress - Groups Cover Image Header.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/default-front.php

    r11856 r11899  
    33 * BP Nouveau Default group's front template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/group-header.php

    r11855 r11899  
    33 * BuddyPress - Groups Header
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/home.php

    r11861 r11899  
    33 * BuddyPress - Groups Home
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/members-loop.php

    r11861 r11899  
    33 * Group Members Loop template
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/members.php

    r11686 r11899  
    33 * BuddyPress - Groups Members
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/admin-subnav.php

    r11861 r11899  
    33 * BuddyPress Single Groups Admin Navigation
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/header-item-actions.php

    r11896 r11899  
    33 * BuddyPress - Groups Header item-actions.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php

    r11861 r11899  
    33 * BuddyPress Single Groups item Navigation
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/plugins.php

    r11686 r11899  
    33 * BuddyPress - Groups plugins
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php

    r11855 r11899  
    33 * BuddyPress - Groups Request Membership
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/requests-loop.php

    r11861 r11899  
    33 * BuddyPress - Groups Requests Loop
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/send-invites.php

    r11855 r11899  
    33 * BuddyPress - Groups Send Invites
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77// Runs do_action & calls common/js-templates/invites/index
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/members-loop.php

    r11856 r11899  
    55 * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
    66 *
    7  * @since 1.0.0
     7 * @since 3.0.0
    88 */
    99
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/register.php

    r11686 r11899  
    33 * BuddyPress - Members/Blogs Registration forms
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/activity.php

    r11855 r11899  
    33 * BuddyPress - Users Activity
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/blogs.php

    r11856 r11899  
    33 * BuddyPress - Users Blogs
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/cover-image-header.php

    r11856 r11899  
    33 * BuddyPress - Users Cover Image Header
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/default-front.php

    r11856 r11899  
    33 * BP Nouveau Default user's front template.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/friends.php

    r11855 r11899  
    33 * BuddyPress - Users Friends
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php

    r11861 r11899  
    33 * BuddyPress - Members Friends Requests
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups.php

    r11856 r11899  
    33 * BuddyPress - Users Groups
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php

    r11861 r11899  
    33 * BuddyPress - Members Single Group Invites
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/member-header.php

    r11855 r11899  
    33 * BuddyPress - Users Header
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/notifications.php

    r11856 r11899  
    33 * BuddyPress - Users Notifications
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/notifications/notifications-loop.php

    r11861 r11899  
    33 * BuddyPress - Members Notifications Loop
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/item-nav.php

    r11861 r11899  
    33 * BuddyPress Single Members item Navigation
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/item-subnav.php

    r11861 r11899  
    33 * BuddyPress Single Members item Sub Navigation
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php

    r11861 r11899  
    33 * BuddyPress - Members Single Profile Edit Field visibility
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/plugins.php

    r11855 r11899  
    66 * support to their plugins for the members component.
    77 *
    8  * @since 1.0.0
     8 * @since 3.0.0
    99 */
    1010
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile.php

    r11856 r11899  
    33 * BuddyPress - Users Profile
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php

    r11855 r11899  
    33 * BuddyPress - Members Profile Change Avatar
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/change-cover-image.php

    r11686 r11899  
    33 * BuddyPress - Members Profile Change Cover Image
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php

    r11861 r11899  
    33 * BuddyPress - Members Single Profile Edit
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php

    r11861 r11899  
    33 * BuddyPress - Members Profile Loop
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php

    r11861 r11899  
    33 * BuddyPress - Members Single Profile WP
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php

    r11861 r11899  
    33 * BuddyPress - Members Settings ( Capabilities )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/delete-account.php

    r11855 r11899  
    33 * BuddyPress - Members Settings ( Delete Account )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php

    r11855 r11899  
    33 * BuddyPress - Members Settings ( General )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/group-invites.php

    r11861 r11899  
    33 * BuddyPress - Members Settings ( Group Invites )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77?>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/notifications.php

    r11855 r11899  
    33 * BuddyPress - Members Settings ( Notifications )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php

    r11861 r11899  
    33 * BuddyPress - Members Settings ( Profile )
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/includes/activity/ajax.php

    r11858 r11899  
    33 * Activity Ajax functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    8181 * Mark an activity as a favourite via a POST request.
    8282 *
    83  * @since 1.0.0
     83 * @since 3.0.0
    8484 *
    8585 * @return string JSON reply
     
    121121 * Un-favourite an activity via a POST request.
    122122 *
    123  * @since 1.0.0
     123 * @since 3.0.0
    124124 *
    125125 * @return string JSON reply
     
    157157 * Clear mentions if the directory tab is clicked
    158158 *
    159  * @since 1.0.0
     159 * @since 3.0.0
    160160 *
    161161 * @return string JSON reply
     
    178178 * Deletes an Activity item/Activity comment item received via a POST request.
    179179 *
    180  * @since 1.0.0
     180 * @since 3.0.0
    181181 *
    182182 * @return string JSON reply.
     
    250250 * Used for the 'Read More' link on long activity items.
    251251 *
    252  * @since 1.0.0
     252 * @since 3.0.0
    253253 *
    254254 * @return string JSON reply
     
    288288     * Fires before the return of an activity's full, non-excerpted content via a POST request.
    289289     *
    290      * @since 1.0.0
     290     * @since 3.0.0
    291291     *
    292292     * @param string $activity Activity content. Passed by reference.
     
    306306 * Posts new Activity comments received via a POST request.
    307307 *
    308  * @since 1.0.0
     308 * @since 3.0.0
    309309 *
    310310 * @global BP_Activity_Template $activities_template
     
    410410 * This is used within the activity post form autocomplete field.
    411411 *
    412  * @since 1.0.0
     412 * @since 3.0.0
    413413 *
    414414 * @return string JSON reply
     
    446446 * Processes Activity updates received via a POST request.
    447447 *
    448  * @since 1.0.0
     448 * @since 3.0.0
    449449 *
    450450 * @return string JSON reply
     
    546546 * AJAX spam an activity item or comment.
    547547 *
    548  * @since 1.0.0
     548 * @since 3.0.0
    549549 *
    550550 * @return string JSON reply.
  • trunk/src/bp-templates/bp-nouveau/includes/activity/functions.php

    r11856 r11899  
    33 * Activity functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Register Scripts for the Activity component
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param array $scripts  The array of scripts to register.
     
    4040 * Enqueue the activity scripts
    4141 *
    42  * @since 1.0.0
     42 * @since 3.0.0
    4343 */
    4444function bp_nouveau_activity_enqueue_scripts() {
     
    5353 * Localize the strings needed for the Activity Post form UI
    5454 *
    55  * @since 1.0.0
     55 * @since 3.0.0
    5656 *
    5757 * @param array $params Associative array containing the JS Strings needed by scripts.
     
    9292     * Filter to include specific Action buttons.
    9393     *
    94      * @since 1.0.0
     94     * @since 3.0.0
    9595     *
    9696     * @param array $value The array containing the button params. Must look like:
     
    173173
    174174/**
    175  * @since 1.0.0
     175 * @since 3.0.0
    176176 */
    177177function bp_nouveau_get_activity_directory_nav_items() {
     
    278278     * Use this filter to introduce your custom nav items for the activity directory.
    279279     *
    280      * @since 1.0.0
     280     * @since 3.0.0
    281281     *
    282282     * @param  array $nav_items The list of the activity directory nav items.
     
    289289 * instead of the output.
    290290 *
    291  * @since 1.0.0
     291 * @since 3.0.0
    292292 *
    293293 * @param string $output string HTML output
     
    306306 * Get Dropdown filters of the activity component
    307307 *
    308  * @since 1.0.0
     308 * @since 3.0.0
    309309 *
    310310 * @return array the filters
     
    336336
    337337/**
    338  * @since 1.0.0
     338 * @since 3.0.0
    339339 */
    340340function bp_nouveau_activity_secondary_avatars( $action, $activity ) {
     
    355355
    356356/**
    357  * @since 1.0.0
     357 * @since 3.0.0
    358358 */
    359359function bp_nouveau_activity_scope_newest_class( $classes = '' ) {
     
    428428
    429429/**
    430  * @since 1.0.0
     430 * @since 3.0.0
    431431 */
    432432
     
    447447
    448448/**
    449  * @since 1.0.0
     449 * @since 3.0.0
    450450 */
    451451function bp_nouveau_activity_allowed_tags( $activity_allowedtags = array() ) {
     
    461461 * Get the activity query args for the widget.
    462462 *
    463  * @since 1.0.0
     463 * @since 3.0.0
    464464 *
    465465 * @return array The activity arguments.
     
    476476     * Filter to edit the activity widget arguments
    477477     *
    478      * @since 1.0.0
     478     * @since 3.0.0
    479479     *
    480480     * @param  array $args The activity arguments.
     
    486486 * Register notifications filters for the activity component.
    487487 *
    488  * @since 1.0.0
     488 * @since 3.0.0
    489489 */
    490490function bp_nouveau_activity_notification_filters() {
  • trunk/src/bp-templates/bp-nouveau/includes/activity/loader.php

    r11855 r11899  
    33 * BP Nouveau Activity
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Activity Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Activity {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    6767     * Register do_action() hooks
    6868     *
    69      * @since 1.0.0
     69     * @since 3.0.0
    7070     */
    7171    protected function setup_actions() {
     
    9090     * Register add_filter() hooks
    9191     *
    92      * @since 1.0.0
     92     * @since 3.0.0
    9393     */
    9494    protected function setup_filters() {
     
    110110 * Launch the Activity loader class.
    111111 *
    112  * @since 1.0.0
     112 * @since 3.0.0
    113113 */
    114114function bp_nouveau_activity( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php

    r11855 r11899  
    33 * Activity Template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Before Activity's directory content legacy do_action hooks wrapper
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616function bp_nouveau_before_activity_directory_content() {
     
    3333 * After Activity's directory content legacy do_action hooks wrapper
    3434 *
    35  * @since 1.0.0
     35 * @since 3.0.0
    3636 */
    3737function bp_nouveau_after_activity_directory_content() {
     
    6666 * Enqueue needed scripts for the Activity Post Form
    6767 *
    68  * @since 1.0.0
     68 * @since 3.0.0
    6969 */
    7070function bp_nouveau_before_activity_post_form() {
     
    8484 * Load JS Templates for the Activity Post Form
    8585 *
    86  * @since 1.0.0
     86 * @since 3.0.0
    8787 */
    8888function bp_nouveau_after_activity_post_form() {
     
    102102 * Display the displayed user activity post form if needed
    103103 *
    104  * @since 1.0.0
     104 * @since 3.0.0
    105105 *
    106106 * @return string HTML.
     
    130130 * Fire specific hooks into the activity entry template
    131131 *
    132  * @since 1.0.0
     132 * @since 3.0.0
    133133 *
    134134 * @param string $when   Optional. Either 'before' or 'after'.
     
    155155 * Checks if an activity of the loop has some content.
    156156 *
    157  * @since 1.0.0
     157 * @since 3.0.0
    158158 *
    159159 * @return bool True if the activity has some content. False Otherwise.
     
    166166 * Output the Activity content into the loop.
    167167 *
    168  * @since 1.0.0
     168 * @since 3.0.0
    169169 */
    170170function bp_nouveau_activity_content() {
     
    184184 * Output the action buttons inside an Activity Loop.
    185185 *
    186  * @since 1.0.0
     186 * @since 3.0.0
    187187 *
    188188 * @param array $args See bp_nouveau_wrapper() for the description of parameters.
     
    218218     *
    219219     * @todo This function is too large and needs refactoring and reviewing.
    220      * @since 1.0.0
     220     * @since 3.0.0
    221221     */
    222222    function bp_nouveau_get_activity_entry_buttons( $args ) {
     
    497497         * Filter to add your buttons, use the position argument to choose where to insert it.
    498498         *
    499          * @since 1.0.0
     499         * @since 3.0.0
    500500         *
    501501         * @param array $buttons     The list of buttons.
     
    542542         * Leave a chance to adjust the $return
    543543         *
    544          * @since 1.0.0
     544         * @since 3.0.0
    545545         *
    546546         * @param array $return      The list of buttons ordered.
     
    555555 * Output Activity Comments if any
    556556 *
    557  * @since 1.0.0
     557 * @since 3.0.0
    558558 */
    559559function bp_nouveau_activity_comments() {
     
    572572 * Note: This is an adaptation of the bp_activity_recurse_comments() BuddyPress core function
    573573 *
    574  * @since 1.0.0
     574 * @since 3.0.0
    575575 *
    576576 * @param object $comment The activity object currently being recursed.
     
    629629 * Ouptut the Activity comment action string
    630630 *
    631  * @since 1.0.0
     631 * @since 3.0.0
    632632 */
    633633function bp_nouveau_activity_comment_action() {
     
    638638     * Get the Activity comment action string
    639639     *
    640      * @since 1.0.0
     640     * @since 3.0.0
    641641     */
    642642    function bp_nouveau_get_activity_comment_action() {
     
    645645         * Filter to edit the activity comment action.
    646646         *
    647          * @since 1.0.0
     647         * @since 3.0.0
    648648         *
    649649         * @param string $value HTML Output
     
    664664 * Load the Activity comment form
    665665 *
    666  * @since 1.0.0
     666 * @since 3.0.0
    667667 */
    668668function bp_nouveau_activity_comment_form() {
     
    680680 * Output the action buttons for the activity comments
    681681 *
    682  * @since 1.0.0
     682 * @since 3.0.0
    683683 *
    684684 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    711711     * Get the action buttons for the activity comments
    712712     *
    713      * @since 1.0.0
     713     * @since 3.0.0
    714714     *
    715715     * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    832832         * Filter to add your buttons, use the position argument to choose where to insert it.
    833833         *
    834          * @since 1.0.0
     834         * @since 3.0.0
    835835         *
    836836         * @param array $buttons             The list of buttons.
     
    884884         * Leave a chance to adjust the $return
    885885         *
    886          * @since 1.0.0
     886         * @since 3.0.0
    887887         *
    888888         * @param array $return              The list of buttons ordered.
  • trunk/src/bp-templates/bp-nouveau/includes/activity/widgets.php

    r11856 r11899  
    33 * BP Nouveau Activity widgets
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * A widget to display the latest activities of your community!
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Latest_Activities extends WP_Widget {
     
    1818     * Construct the widget.
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3535     * Register the widget.
    3636     *
    37      * @since 1.0.0
     37     * @since 3.0.0
    3838     */
    3939    public static function register_widget() {
     
    4444     * Display the widget content.
    4545     *
    46      * @since 1.0.0
     46     * @since 3.0.0
    4747     *
    4848     * @param  array $args     Widget arguments.
     
    115115     * Update the widget settings.
    116116     *
    117      * @since 1.0.0
     117     * @since 3.0.0
    118118     *
    119119     * @param array $new_instance The new instance settings.
     
    142142     * Display the form to set the widget settings.
    143143     *
    144      * @since 1.0.0
     144     * @since 3.0.0
    145145     *
    146146     * @param array $instance Settings for this widget.
  • trunk/src/bp-templates/bp-nouveau/includes/ajax.php

    r11876 r11899  
    33 * Common functions only loaded on AJAX requests.
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1313 *
    1414 * @return string Prints template loop for the specified object
    15  * @since 1.0.0
     15 * @since 3.0.0
    1616 */
    1717function bp_nouveau_ajax_object_template_loader() {
     
    126126 * Register AJAX hooks.
    127127 *
    128  * @since 1.0.0
     128 * @since 3.0.0
    129129 *
    130130 * @param array $ajax_actions {
  • trunk/src/bp-templates/bp-nouveau/includes/blogs/ajax.php

    r11856 r11899  
    33 * Blogs Ajax functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
  • trunk/src/bp-templates/bp-nouveau/includes/blogs/functions.php

    r11855 r11899  
    33 * Blogs functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1010
    1111/**
    12  * @since 1.0.0
     12 * @since 3.0.0
    1313 */
    1414function bp_nouveau_get_blogs_directory_nav_items() {
     
    6565     * Use this filter to introduce your custom nav items for the blogs directory.
    6666     *
    67      * @since 1.0.0
     67     * @since 3.0.0
    6868     *
    6969     * @param  array $nav_items The list of the blogs directory nav items.
     
    7575 * Get Dropdown filters for the blogs component
    7676 *
    77  * @since 1.0.0
     77 * @since 3.0.0
    7878 *
    7979 * @param string $context 'directory' or 'user'
     
    9797     * or 'bp_blogs_directory_order_options'
    9898     *
    99      * @since 1.0.0
     99     * @since 3.0.0
    100100     *
    101101     * @param array  the blogs filters.
     
    118118 * Catch the arguments for buttons
    119119 *
    120  * @since 1.0.0
     120 * @since 3.0.0
    121121 *
    122122 * @param array $buttons The arguments of the button that BuddyPress is about to create.
     
    135135 * Add settings to the customizer for the blogs component.
    136136 *
    137  * @since 1.0.0
     137 * @since 3.0.0
    138138 *
    139139 * @param array $settings the settings to add.
     
    156156 * Add controls for the settings of the customizer for the blogs component.
    157157 *
    158  * @since 1.0.0
     158 * @since 3.0.0
    159159 *
    160160 * @param array $controls the controls to add.
     
    177177 * Inline script to toggle the signup blog form
    178178 *
    179  * @since 1.0.0
     179 * @since 3.0.0
    180180 *
    181181 * @return string Javascript output
     
    210210 * Adds a class if blog item has a latest post.
    211211 *
    212  * @since 1.2.0
     212 * @since 3.0.0
    213213 */
    214214function bp_nouveau_blog_loop_item_has_lastest_post( $classes ) {
  • trunk/src/bp-templates/bp-nouveau/includes/blogs/loader.php

    r11686 r11899  
    33 * BP Nouveau Blogs
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Blogs Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Blogs {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    6262     * Register do_action() hooks
    6363     *
    64      * @since 1.0.0
     64     * @since 3.0.0
    6565     */
    6666    protected function setup_actions() {
     
    8080     * Register add_filter() hooks
    8181     *
    82      * @since 1.0.0
     82     * @since 3.0.0
    8383     */
    8484    protected function setup_filters() {
     
    9696 * Launch the Blogs loader class.
    9797 *
    98  * @since 1.0.0
     98 * @since 3.0.0
    9999 */
    100100function bp_nouveau_blogs( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/blogs/template-tags.php

    r11686 r11899  
    33 * Blogs Template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1313 * before the blogs directory content
    1414 *
    15  * @since 1.0.0
     15 * @since 3.0.0
    1616 */
    1717function bp_nouveau_before_blogs_directory_content() {
     
    3333     * Fires before the display of the blogs listing content.
    3434     *
    35      * @since 1.1.0 (BuddyPress)
     35     * @since 3.0.0 (BuddyPress)
    3636     */
    3737    do_action( 'bp_before_directory_blogs_content' );
     
    4848 * Template tag to wrap all Legacy actions that was used after the blogs directory content
    4949 *
    50  * @since 1.0.0
     50 * @since 3.0.0
    5151 */
    5252function bp_nouveau_after_blogs_directory_content() {
     
    5454     * Fires inside and displays the blogs content.
    5555     *
    56      * @since 1.1.0 (BuddyPress)
     56     * @since 3.0.0 (BuddyPress)
    5757     */
    5858    do_action( 'bp_directory_blogs_content' );
     
    6161     * Fires after the display of the blogs listing content.
    6262     *
    63      * @since 1.1.0 (BuddyPress)
     63     * @since 3.0.0 (BuddyPress)
    6464     */
    6565    do_action( 'bp_after_directory_blogs_content' );
     
    8383 * Fire specific hooks into the blogs create template
    8484 *
    85  * @since 1.0.0
     85 * @since 3.0.0
    8686 *
    8787 * @param string $when   Optional. Either 'before' or 'after'.
     
    108108 * Fire an isolated hook inside the blogs loop
    109109 *
    110  * @since 1.0.0
     110 * @since 3.0.0
    111111 */
    112112function bp_nouveau_blogs_loop_item() {
     
    122122 * Output the action buttons inside the blogs loop.
    123123 *
    124  * @since 1.0.0
     124 * @since 3.0.0
    125125 *
    126126 * @param array $args See bp_nouveau_wrapper() for the description of parameters.
     
    139139     * Fires inside the blogs action listing area.
    140140     *
    141      * @since 1.1.0
     141     * @since 3.0.0
    142142     */
    143143    do_action( 'bp_directory_blogs_actions' );
     
    154154     * Get the action buttons for the current blog in the loop.
    155155     *
    156      * @since 1.0.0
     156     * @since 3.0.0
    157157     *
    158158     * @param string $type Type of Group of buttons to get.
     
    256256         * Filter to add your buttons, use the position argument to choose where to insert it.
    257257         *
    258          * @since 1.0.0
     258         * @since 3.0.0
    259259         *
    260260         * @param array  $buttons The list of buttons.
     
    288288         * Leave a chance to adjust the $return
    289289         *
    290          * @since 1.0.0
     290         * @since 3.0.0
    291291         *
    292292         * @param array  $return  The list of buttons ordered.
     
    302302 * Check if the Sites has a latest post
    303303 *
    304  * @since 1.0.0
     304 * @since 3.0.0
    305305 *
    306306 * @return bool True if the sites has a latest post. False otherwise.
  • trunk/src/bp-templates/bp-nouveau/includes/classes.php

    r11856 r11899  
    33 * Common Classes
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Builds a group of BP_Button
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Buttons_Group {
     
    2626     * Constructor
    2727     *
    28      * @since 1.0.0
     28     * @since 3.0.0
    2929     *
    3030     * @param array $args Optional array having the following parameters {
     
    9393     * Sort the Buttons of the group according to their position attribute
    9494     *
    95      * @since 1.0.0
     95     * @since 3.0.0
    9696     *
    9797     * @param  array the list of buttons to sort.
     
    127127     * Get the BuddyPress buttons for the group
    128128     *
    129      * @since 1.0.0
     129     * @since 3.0.0
    130130     *
    131131     * @param  bool $sort whether to sort the buttons or not.
     
    159159     * Update the group of buttons
    160160     *
    161      * @since 1.0.0
     161     * @since 3.0.0
    162162     *
    163163     * @param array $args See the __constructor for a description of this argument.
     
    181181 * Adds a widget to move avatar/item nav into the sidebar
    182182 *
    183  * @since 1.0
    184  *
    185  * @uses   WP_Widget
     183 * @since 3.0.0
     184 *
     185 * @uses WP_Widget
    186186 */
    187187class BP_Nouveau_Object_Nav_Widget extends WP_Widget {
     
    189189     * Constructor
    190190     *
    191      * @since 1.0
     191     * @since 3.0.0
    192192     */
    193193    public function __construct() {
     
    207207     * Register the widget
    208208     *
    209      * @since 1.0
     209     * @since 3.0.0
    210210     */
    211211    public static function register_widget() {
     
    216216     * Displays the output, the button to post new support topics
    217217     *
    218      * @since 1.0
    219      *
    220      * @param mixed $args Arguments
     218     * @since 3.0.0
     219     *
     220     * @param mixed   $args     Arguments
     221     * @param unknown $instance
    221222     */
    222223    public function widget( $args, $instance ) {
     
    265266     * Update the new support topic widget options (title)
    266267     *
    267      * @since 1.0
     268     * @since 3.0.0
    268269     *
    269270     * @param array $new_instance The new instance options
     
    282283     * Output the new support topic widget options form
    283284     *
    284      * @since 1.0
     285     * @since 3.0.0
    285286     *
    286287     * @param $instance Instance
  • trunk/src/bp-templates/bp-nouveau/includes/customizer-controls.php

    r11856 r11899  
    33 * Customizer controls
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1616 * https://developer.wordpress.org/themes/advanced-topics/customizer-api/#putting-the-pieces-together
    1717 *
    18  * @since 1.0.0
     18 * @since 3.0.0
    1919 */
    2020class BP_Nouveau_Nav_Customize_Control extends WP_Customize_Control {
     
    2727     * Render the control's content.
    2828     *
    29      * @since 1.0.0
     29     * @since 3.0.0
    3030     */
    3131    public function render_content() {
  • trunk/src/bp-templates/bp-nouveau/includes/customizer.php

    r11855 r11899  
    33 * Code to hook into the WP Customizer
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    99 * Add a specific panel for the BP Nouveau Template Pack.
    1010 *
    11  * @since 1.0.0
     11 * @since 3.0.0
    1212 *
    1313 * @param WP_Customize_Manager $wp_customize WordPress customizer.
     
    337337 * Enqueue needed JS for our customizer Settings & Controls
    338338 *
    339  * @since 1.0.0
     339 * @since 3.0.0
    340340 */
    341341function bp_nouveau_customizer_enqueue_scripts() {
  • trunk/src/bp-templates/bp-nouveau/includes/friends/ajax.php

    r11889 r11899  
    33 * Friends Ajax functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    5050 * Friend/un-friend a user via a POST request.
    5151 *
    52  * @since 1.0.0
     52 * @since 3.0.0
    5353 *
    5454 * @return string HTML
  • trunk/src/bp-templates/bp-nouveau/includes/friends/loader.php

    r11686 r11899  
    33 * BP Nouveau Friends
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Friends Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Friends {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    5959     * Register do_action() hooks
    6060     *
    61      * @since 1.0.0
     61     * @since 3.0.0
    6262     */
    6363    protected function setup_actions() {
     
    7272     * Register add_filter() hooks
    7373     *
    74      * @since 1.0.0
     74     * @since 3.0.0
    7575     */
    7676    protected function setup_filters() {
     
    9292     * Register notifications filters for the friends component.
    9393     *
    94      * @since 1.0.0
     94     * @since 3.0.0
    9595     */
    9696    public function notification_filters() {
     
    117117 * Launch the Friends loader class.
    118118 *
    119  * @since 1.0.0
     119 * @since 3.0.0
    120120 */
    121121function bp_nouveau_friends( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/functions.php

    r11855 r11899  
    33 * Common functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    2222 * across page loads.
    2323 *
    24  * @since 1.2.0
     24 * @since 3.0.0
    2525 *
    2626 * @param string $query_string Query string for the current request.
     
    139139     * Filters the AJAX query string for the component loops.
    140140     *
    141      * @since 1.0.0
     141     * @since 3.0.0
    142142     *
    143143     * @param string $query_string The query string we are working with.
     
    153153
    154154/**
    155  * @since 1.0.0
     155 * @since 3.0.0
    156156 *
    157157 * @return string
     
    216216 * Output HTML content into a wrapper.
    217217 *
    218  * @since 1.0.0
     218 * @since 3.0.0
    219219 *
    220220 * @param array $args {
     
    286286 * Register the 2 sidebars for the Group & User default front page
    287287 *
    288  * @since 1.0.0
     288 * @since 3.0.0
    289289 */
    290290function bp_nouveau_register_sidebars() {
     
    349349
    350350/**
    351  * @since 1.0.0
     351 * @since 3.0.0
    352352 *
    353353 * @return bool
     
    358358
    359359/**
    360  * @since 1.0.0
     360 * @since 3.0.0
    361361 *
    362362 * @return bool
     
    369369 * BP Nouveau will not use this hooks anymore
    370370 *
    371  * @since 1.0.0
     371 * @since 3.0.0
    372372 *
    373373 * @return array the list of disused legacy hooks
     
    605605 * Parse an html output to a list of component's directory nav item.
    606606 *
    607  * @since 1.0.0
     607 * @since 3.0.0
    608608 *
    609609 * @param  string $hook      The hook to fire.
     
    675675 * Run specific "select filter" hooks to catch the options and build an array out of them
    676676 *
    677  * @since 1.0.0
     677 * @since 3.0.0
    678678 *
    679679 * @param string $hook
     
    708708 * Get Dropdawn filters for the current component of the one passed in params
    709709 *
    710  * @since 1.0.0
     710 * @since 3.0.0
    711711 *
    712712 * @param string $context   'directory', 'user' or 'group'
     
    769769 * This is necessary when we need to get these very early.
    770770 *
    771  * @since 1.0.0
     771 * @since 3.0.0
    772772 *
    773773 * @param  string $option the index of the setting to get.
     
    810810 * Get the BP Nouveau Appearance settings.
    811811 *
    812  * @since 1.0.0
     812 * @since 3.0.0
    813813 *
    814814 * @param string $option Leave empty to get all settings, specify a value for a specific one.
     
    885885 * or the list of corresponding css classes.
    886886 *
    887  * @since 1.0.0
     887 * @since 3.0.0
    888888 *
    889889 * @param string $type 'option' to get the labels, 'classes' to get the classes
     
    909909 * Sanitize a list of slugs to save it as an array
    910910 *
    911  * @since 1.0.0
     911 * @since 3.0.0
    912912 *
    913913 * @param  string $option A comma separated list of nav items slugs.
     
    923923 * BP Nouveau's callback for the cover image feature.
    924924 *
    925  * @since 1.0.0
     925 * @since 3.0.0
    926926 *
    927927 * @param array $params Optional. The current component's feature parameters.
     
    11091109 * All user feedback messages are available here
    11101110 *
    1111  * @since 1.0.0
     1111 * @since 3.0.0
    11121112 *
    11131113 * @param string $feedback_id The ID of the message.
     
    13041304     * Filter here if you wish to edit the message just before being displayed
    13051305     *
    1306      * @since 1.0.0
     1306     * @since 3.0.0
    13071307     *
    13081308     * @param array $feedback_messages
     
    13141314 * Get the signup fields for the requested section
    13151315 *
    1316  * @since 1.0.0
     1316 * @since 3.0.0
    13171317 *
    13181318 * @param string $section Optional. The section of fields to get 'account_details' or 'blog_details'.
     
    13311331     * do_action( 'bp_account_details_fields' ) or do_action( 'blog_details' ) hooks instead.
    13321332     *
    1333      * @since 1.0.0
     1333     * @since 3.0.0
    13341334     *
    13351335     * @param array $value The list of fields organized into sections.
     
    14201420 * Get Some submit buttons data.
    14211421 *
    1422  * @since 1.0.0
     1422 * @since 3.0.0
    14231423 *
    14241424 * @param string $action The action requested.
     
    14351435     * Filter the Submit buttons to add your own.
    14361436     *
    1437      * @since 1.0.0
     1437     * @since 3.0.0
    14381438     *
    14391439     * @param array $value The list of submit buttons.
     
    15371537 * Reorder a BuddyPress item nav according to a given list of nav item slugs
    15381538 *
    1539  * @since 1.0.0
     1539 * @since 3.0.0
    15401540 *
    15411541 * @param object $nav         The BuddyPress Item Nav object to reorder
  • trunk/src/bp-templates/bp-nouveau/includes/groups/ajax.php

    r11858 r11899  
    33 * Groups Ajax functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    2727 * Join or leave a group when clicking the "join/leave" button via a POST request.
    2828 *
    29  * @since 1.0.0
     29 * @since 3.0.0
    3030 *
    3131 * @return string HTML
     
    239239
    240240/**
    241  * @since 1.0.0
     241 * @since 3.0.0
    242242 */
    243243function bp_nouveau_ajax_get_users_to_invite() {
     
    334334
    335335/**
    336  * @since 1.0.0
     336 * @since 3.0.0
    337337 */
    338338function bp_nouveau_ajax_send_group_invites() {
     
    419419
    420420/**
    421  * @since 1.0.0
     421 * @since 3.0.0
    422422 */
    423423function bp_nouveau_ajax_remove_group_invite() {
  • trunk/src/bp-templates/bp-nouveau/includes/groups/classes.php

    r11856 r11899  
    33 * Groups classes
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Query to get members that are not already members of the group
    1313 *
    14  * @since 1.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Group_Invite_Query extends BP_User_Query {
     
    1919     *
    2020     * @var null|array Null if not yet defined, otherwise an array of ints
    21      * @since 1.0
     21     * @since 3.0.0
    2222     */
    2323    protected $group_member_ids;
     
    2626     * Set up action hooks
    2727     *
    28      * @since 1.0
     28     * @since 3.0.0
    2929     */
    3030    public function setup_hooks() {
     
    3636     * Exclude group members from the user query as it's not needed to invite members to join the group.
    3737     *
    38      * @since 1.0
     38     * @since 3.0.0
    3939     */
    4040    public function build_exclude_args() {
     
    6262     * Get the members of the queried group
    6363     *
    64      * @since 1.0
     64     * @since 3.0.0
    6565     *
    6666     * @return array $ids User IDs of relevant group member ids
     
    106106
    107107    /**
    108      * @since 1.0.0
     108     * @since 3.0.0
    109109     */
    110110    public function build_meta_query( BP_User_Query $bp_user_query ) {
     
    124124
    125125    /**
    126      * @since 1.0.0
     126     * @since 3.0.0
    127127     */
    128128    public static function get_inviter_ids( $user_id = 0, $group_id = 0 ) {
     
    143143 * buddypress()->groups->nav.
    144144 *
    145  * @since 1.0.0
     145 * @since 3.0.0
    146146 */
    147147class BP_Nouveau_Customizer_Group_Nav extends BP_Core_Nav {
     
    174174     * Overrides BP_Core_Nav::__isset() to avoid looking into its nav property.
    175175     *
    176      * @since 1.0.0
     176     * @since 3.0.0
    177177     *
    178178     * @param string $key The property.
     
    189189     * Overrides BP_Core_Nav::__isset() to avoid looking into its nav property.
    190190     *
    191      * @since 1.0.0
     191     * @since 3.0.0
    192192     *
    193193     * @param string $key The property.
     
    208208     * Overrides BP_Core_Nav::__isset() to avoid adding a value to its nav property.
    209209     *
    210      * @since 1.0.0
     210     * @since 3.0.0
    211211     *
    212212     * @param string $key The property.
     
    221221     * Setup a temporary nav with only the needed parameters.
    222222     *
    223      * @since 1.0.0
     223     * @since 3.0.0
    224224     */
    225225    protected function setup_nav() {
     
    315315     * Front template: do not look into group's template hierarchy.
    316316     *
    317      * @since 1.0.0
     317     * @since 3.0.0
    318318     *
    319319     * @param array $templates The list of possible group front templates.
     
    331331     * Get the original order for the group navigation.
    332332     *
    333      * @since 1.0.0
     333     * @since 3.0.0
    334334     *
    335335     * @return array a list of nav items slugs ordered.
     
    343343     * Get the list of nav items ordered according to the Site owner preferences.
    344344     *
    345      * @since 1.0.0
     345     * @since 3.0.0
    346346     *
    347347     * @return array the nav items ordered.
  • trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php

    r11855 r11899  
    33 * Groups functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    3232 * Register Scripts for the Groups component
    3333 *
    34  * @since 1.0.0
     34 * @since 3.0.0
    3535 *
    3636 * @param  array  $scripts  The array of scripts to register
     
    5454 * Enqueue the groups scripts
    5555 *
    56  * @since 1.0.0
     56 * @since 3.0.0
    5757 */
    5858function bp_nouveau_groups_enqueue_scripts() {
     
    7777 * Can all members be invited to join any group?
    7878 *
    79  * @since 1.0.0
     79 * @since 3.0.0
    8080 *
    8181 * @param bool $default False to allow. True to disallow.
     
    8787     * Filter to remove the All members nav, returning true
    8888     *
    89      * @since 1.0.0
     89     * @since 3.0.0
    9090     *
    9191     * @param bool $default True to disable the nav. False otherwise.
     
    9797 * Localize the strings needed for the Group's Invite UI
    9898 *
    99  * @since 1.0.0
     99 * @since 3.0.0
    100100 *
    101101 * @param array $params Associative array containing the JS Strings needed by scripts
     
    143143
    144144/**
    145  * @since 1.0.0
     145 * @since 3.0.0
    146146 */
    147147function bp_nouveau_groups_get_inviter_ids( $user_id, $group_id ) {
     
    154154
    155155/**
    156  * @since 1.0.0
     156 * @since 3.0.0
    157157 */
    158158function bp_nouveau_prepare_group_potential_invites_for_js( $user ) {
     
    211211
    212212/**
    213  * @since 1.0.0
     213 * @since 3.0.0
    214214 */
    215215function bp_nouveau_get_group_potential_invites( $args = array() ) {
     
    264264
    265265/**
    266  * @since 1.0.0
     266 * @since 3.0.0
    267267 * @todo I don't see any reason why to restrict group invites to friends..
    268268 */
     
    284284
    285285/**
    286  * @since 1.0.0
     286 * @since 3.0.0
    287287 */
    288288function bp_nouveau_group_setup_nav() {
     
    321321
    322322/**
    323  * @since 1.0.0
     323 * @since 3.0.0
    324324 */
    325325function bp_nouveau_groups_invites_custom_message( $message = '' ) {
     
    346346 * Format a Group for a json reply
    347347 *
    348  * @since 1.0.0
     348 * @since 3.0.0
    349349 */
    350350function bp_nouveau_prepare_group_for_js( $item ) {
     
    372372 * Group invites restriction settings navigation.
    373373 *
    374  * @since 1.0.0
     374 * @since 3.0.0
    375375 */
    376376function bp_nouveau_groups_invites_restriction_nav() {
     
    397397 * Group invites restriction settings Admin Bar navigation.
    398398 *
    399  * @since 1.0.0
     399 * @since 3.0.0
    400400 *
    401401 * @param array $wp_admin_nav The list of settings admin subnav items.
     
    421421 * Group invites restriction screen.
    422422 *
    423  * @since 1.0.0
     423 * @since 3.0.0
    424424 */
    425425function bp_nouveau_groups_screen_invites_restriction() {
     
    452452     * Filters the template to load for the Group Invites settings screen.
    453453     *
    454      * @since 1.0.0
     454     * @since 3.0.0
    455455     *
    456456     * @param string $template Path to the Group Invites settings screen template to load.
     
    460460
    461461/**
    462  * @since 1.0.0
     462 * @since 3.0.0
    463463 */
    464464function bp_nouveau_get_groups_directory_nav_items() {
     
    516516     * Use this filter to introduce your custom nav items for the groups directory.
    517517     *
    518      * @since 1.0.0
     518     * @since 3.0.0
    519519     *
    520520     * @param  array $nav_items The list of the groups directory nav items.
     
    526526 * Get Dropdown filters for the groups component
    527527 *
    528  * @since 1.0.0
     528 * @since 3.0.0
    529529 *
    530530 * @param string $context 'directory' or 'user'
     
    548548     * or 'bp_groups_directory_order_options'
    549549     *
    550      * @since 1.0.0
     550     * @since 3.0.0
    551551     *
    552552     * @param array  the members filters.
     
    570570 * Catch the arguments for buttons
    571571 *
    572  * @since 1.0.0
     572 * @since 3.0.0
    573573 *
    574574 * @param array $button The arguments of the button that BuddyPress is about to create.
     
    590590 * Catch the content hooked to the 'bp_group_header_meta' action
    591591 *
    592  * @since 1.0.0
     592 * @since 3.0.0
    593593 *
    594594 * @return string|bool HTML Output if hooked. False otherwise.
     
    616616 * Display the Widgets of Group extensions into the default front page?
    617617 *
    618  * @since 1.0.0
     618 * @since 3.0.0
    619619 *
    620620 * @return bool True to display. False otherwise.
     
    629629 * Display description of the Group into the default front page?
    630630 *
    631  * @since 1.0.0
     631 * @since 3.0.0
    632632 *
    633633 * @return bool True to display. False otherwise.
     
    646646 * Add sections to the customizer for the groups component.
    647647 *
    648  * @since 1.0.0
     648 * @since 3.0.0
    649649 *
    650650 * @param array $sections the Customizer sections to add.
     
    672672 * Add settings to the customizer for the groups component.
    673673 *
    674  * @since 1.0.0
     674 * @since 3.0.0
    675675 *
    676676 * @param array $settings the settings to add.
     
    749749 * Add controls for the settings of the customizer for the groups component.
    750750 *
    751  * @since 1.0.0
     751 * @since 3.0.0
    752752 *
    753753 * @param array $controls the controls to add.
     
    819819 * Add the default group front template to the front template hierarchy.
    820820 *
    821  * @since 1.0.0
     821 * @since 3.0.0
    822822 *
    823823 * @param array           $templates The list of templates for the front.php template part.
     
    848848 * Locate a single group template into a specific hierarchy.
    849849 *
    850  * @since 1.0.0
     850 * @since 3.0.0
    851851 *
    852852 * @param string $template The template part to get (eg: activity, members...).
     
    901901 * Load a single group template part
    902902 *
    903  * @since 1.0.0
     903 * @since 3.0.0
    904904 *
    905905 * @param string $template The template part to get (eg: activity, members...).
     
    931931 * Are we inside the Current group's default front page sidebar?
    932932 *
    933  * @since 1.0.0
     933 * @since 3.0.0
    934934 *
    935935 * @return bool True if in the group's home sidebar. False otherwise.
     
    942942 * Filter the Latest activities Widget to only keep the one of the group displayed
    943943 *
    944  * @since 1.0.0
     944 * @since 3.0.0
    945945 *
    946946 * @param array $args The Activities Template arguments.
     
    958958 * Filter the Groups widget to only keep the displayed group.
    959959 *
    960  * @since 1.0.0
     960 * @since 3.0.0
    961961 *
    962962 * @param array $args The Groups Template arguments.
     
    973973 * Filter the Members widgets to only keep members of the displayed group.
    974974 *
    975  * @since 1.0.0
     975 * @since 3.0.0
    976976 *
    977977 * @param array $args The Members Template arguments.
     
    994994 * Init the Group's default front page filters as we're in the sidebar
    995995 *
    996  * @since 1.0.0
     996 * @since 3.0.0
    997997 */
    998998function bp_nouveau_groups_add_home_widget_filters() {
     
    10071007 * Remove the Group's default front page filters as we're no more in the sidebar
    10081008 *
    1009  * @since 1.0.0
     1009 * @since 3.0.0
    10101010 */
    10111011function bp_nouveau_groups_remove_home_widget_filters() {
     
    10201020 * Get the hook, nonce, and eventually a specific template for Core Group's create screens.
    10211021 *
    1022  * @since 1.0.0
     1022 * @since 3.0.0
    10231023 *
    10241024 * @param string $id The screen id
     
    10471047 * Get the hook and nonce for Core Group's manage screens.
    10481048 *
    1049  * @since 1.0.0
     1049 * @since 3.0.0
    10501050 *
    10511051 * @param string $id The screen id
     
    10761076 * Register notifications filters for the groups component.
    10771077 *
    1078  * @since 1.0.0
     1078 * @since 3.0.0
    10791079 */
    10801080function bp_nouveau_groups_notification_filters() {
  • trunk/src/bp-templates/bp-nouveau/includes/groups/loader.php

    r11855 r11899  
    33 * BP Nouveau Groups
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Groups Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Groups {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    4040     * Include needed files
    4141     *
    42      * @since 1.0.0
     42     * @since 3.0.0
    4343     */
    4444    protected function includes() {
     
    6464     * Register do_action() hooks
    6565     *
    66      * @since 1.0.0
     66     * @since 3.0.0
    6767     */
    6868    protected function setup_actions() {
     
    9292     * Register add_filter() hooks
    9393     *
    94      * @since 1.0.0
     94     * @since 3.0.0
    9595     */
    9696    protected function setup_filters() {
     
    135135     * with the current group's default front page.
    136136     *
    137      * @since 1.0.0
     137     * @since 3.0.0
    138138     *
    139139     * @param string $sidebar_index The Sidebar identifier.
     
    154154     * the current group displayed in account.
    155155     *
    156      * @since 1.0.0
     156     * @since 3.0.0
    157157     *
    158158     * @param string $sidebar_index The Sidebar identifier.
     
    173173 * Launch the Groups loader class.
    174174 *
    175  * @since 1.0.0
     175 * @since 3.0.0
    176176 */
    177177function bp_nouveau_groups( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/groups/template-tags.php

    r11896 r11899  
    33 * Groups Template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1313 * before the groups directory content
    1414 *
    15  * @since 1.0.0
     15 * @since 3.0.0
    1616 */
    1717function bp_nouveau_before_groups_directory_content() {
     
    4242 * after the groups directory content
    4343 *
    44  * @since 1.0.0
     44 * @since 3.0.0
    4545 */
    4646function bp_nouveau_after_groups_directory_content() {
     
    7777 * Fire specific hooks into the groups create template.
    7878 *
    79  * @since 1.0.0
     79 * @since 3.0.0
    8080 *
    8181 * @param string $when   Optional. Either 'before' or 'after'.
     
    102102 * Fire specific hooks into the single groups templates.
    103103 *
    104  * @since 1.0.0
     104 * @since 3.0.0
    105105 *
    106106 * @param string $when   Optional. Either 'before' or 'after'.
     
    127127 * Fire an isolated hook inside the groups loop
    128128 *
    129  * @since 1.0.0
     129 * @since 3.0.0
    130130 */
    131131function bp_nouveau_groups_loop_item() {
     
    141141 * Display the current group activity post form if needed
    142142 *
    143  * @since 1.0.0
     143 * @since 3.0.0
    144144 */
    145145function bp_nouveau_groups_activity_post_form() {
     
    166166 * Load the Group Invites UI.
    167167 *
    168  * @since 1.0.0
     168 * @since 3.0.0
    169169 *
    170170 * @return string HTML Output.
     
    191191 * Gets the displayed user group invites preferences
    192192 *
    193  * @since 1.0.0
     193 * @since 3.0.0
    194194 *
    195195 * @return int Returns 1 if user chose to restrict to friends, 0 otherwise.
     
    202202 * Outputs the group creation numbered steps navbar
    203203 *
    204  * @since 1.0.0
     204 * @since 3.0.0
    205205 *
    206206 * @todo This output isn't localised correctly.
     
    243243     * @since 1.0.0
    244244     */
    245 
    246245    do_action( 'groups_creation_tabs' );
    247246}
     
    250249 * Load the requested Create Screen for the new group.
    251250 *
    252  * @since 1.0.0
     251 * @since 3.0.0
    253252 */
    254253function bp_nouveau_group_creation_screen() {
     
    259258 * Load the requested Manage Screen for the current group.
    260259 *
    261  * @since 1.0.0
     260 * @since 3.0.0
    262261 */
    263262
     
    444443 * Output the action buttons for the displayed group
    445444 *
    446  * @since 1.0.0
     445 * @since 3.0.0
    447446 *
    448447 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    481480 * Output the action buttons inside the groups loop.
    482481 *
    483  * @since 1.0.0
     482 * @since 3.0.0
    484483 *
    485484 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    513512 * Output the action buttons inside the invites loop of the displayed user.
    514513 *
    515  * @since 1.0.0
     514 * @since 3.0.0
    516515 *
    517516 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    545544 * Output the action buttons inside the requests loop of the group's manage screen.
    546545 *
    547  * @since 1.0.0
     546 * @since 3.0.0
    548547 *
    549548 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    577576 * Output the action buttons inside the manage members loop of the group's manage screen.
    578577 *
    579  * @since 1.0.0
     578 * @since 3.0.0
    580579 *
    581580 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    617616     * or the current displayed group.
    618617     *
    619      * @since 1.0.0
     618     * @since 3.0.0
    620619     *
    621620     * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
     
    977976         * Filter to add your buttons, use the position argument to choose where to insert it.
    978977         *
    979          * @since 1.0.0
     978         * @since 3.0.0
    980979         *
    981980         * @param array  $buttons The list of buttons.
    982981         * @param int    $group   The current group object.
    983          * @parem string $type    Whether we're displaying a groups loop or a groups single item.
     982         * @param string $type    Whether we're displaying a groups loop or a groups single item.
    984983         */
    985984        $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type );
     
    10181017         * Leave a chance to adjust the $return
    10191018         *
    1020          * @since 1.0.0
     1019         * @since 3.0.0
    10211020         *
    10221021         * @param array  $return  The list of buttons.
     
    10321031 * Does the group has meta.
    10331032 *
    1034  * @since 1.0.0
     1033 * @since 3.0.0
    10351034 *
    10361035 * @return bool True if the group has meta. False otherwise.
     
    10431042 * Does the group have extra meta?
    10441043 *
    1045  * @since 1.0.0
     1044 * @since 3.0.0
    10461045 *
    10471046 * @return bool True if the group has meta. False otherwise.
     
    10541053 * Display the group meta.
    10551054 *
    1056  * @since 1.0.0
     1055 * @since 3.0.0
    10571056 *
    10581057 * @return string HTML Output.
     
    10791078     * Get the group meta.
    10801079     *
    1081      * @since 1.0.0
     1080     * @since 3.0.0
    10821081     *
    10831082     * @return array The group meta.
     
    11271126             * Filter to add/remove Group meta.
    11281127             *
    1129              * @since 1.0.0
     1128             * @since 3.0.0
    11301129             *
    11311130             * @param array  $meta     The list of meta to output.
     
    11421141 * Load the appropriate content for the single group pages
    11431142 *
    1144  * @since 1.0.0
     1143 * @since 3.0.0
    11451144 */
    11461145function bp_nouveau_group_template_part() {
     
    12191218 * Use the appropriate Group header and enjoy a template hierarchy
    12201219 *
    1221  * @since 1.0.0
     1220 * @since 3.0.0
    12221221 */
    12231222function bp_nouveau_group_header_template_part() {
     
    12521251 * reach the Customizer section where it's possible to do it.
    12531252 *
    1254  * @since 1.0.0
     1253 * @since 3.0.0
    12551254 *
    12561255 * @return string HTML Output
     
    12701269 * reach the Customizer section where it's possible to do it.
    12711270 *
    1272  * @since 1.0.0
     1271 * @since 3.0.0
    12731272 *
    12741273 * @return string HTML Output
     
    12871286 * Output the group description excerpt
    12881287 *
    1289  * @since 1.0.0
     1288 * @since 3.0.0
    12901289 *
    12911290 * @param object $group  Optional. The group being referenced.
     
    13061305 * Checks if the group loop is set as a 'Grid' layout and returns a reduced excerpt.
    13071306 *
    1308  * @since 1.0.0
     1307 * @since 3.0.0
    13091308 *
    13101309 * @param object $group  Optional. The group being referenced.
     
    13391338     * Filters the excerpt of a group description.
    13401339     *
    1341      * @since 1.0.0
     1340     * @since 3.0.0
    13421341     *
    13431342     * @param string $value Excerpt of a group description.
  • trunk/src/bp-templates/bp-nouveau/includes/members/functions.php

    r11856 r11899  
    33 * Members functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Enqueue the members scripts
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616function bp_nouveau_members_enqueue_scripts() {
     
    3434 * Get the nav items for the Members directory
    3535 *
    36  * @since 1.0.0
     36 * @since 3.0.0
    3737 *
    3838 * @return array An associative array of nav items.
     
    7575     * Use this filter to introduce your custom nav items for the members directory.
    7676     *
    77      * @since 1.0.0
     77     * @since 3.0.0
    7878     *
    7979     * @param array $nav_items The list of the members directory nav items.
     
    8585 * Get Dropdown filters for the members component
    8686 *
    87  * @since 1.0.0
     87 * @since 3.0.0
    8888 *
    8989 * @param string $context Optional.
     
    124124     * Recommended, filter here instead of adding an action to 'bp_members_directory_order_options'
    125125     *
    126      * @since 1.0.0
     126     * @since 3.0.0
    127127     *
    128128     * @param array  the members filters.
     
    137137 * Catch the arguments for buttons
    138138 *
    139  * @since 1.0.0
     139 * @since 3.0.0
    140140 *
    141141 * @param array $buttons The arguments of the button that BuddyPress is about to create.
     
    158158 * and in the members loop.
    159159 *
    160  * @since 1.0.0
     160 * @since 3.0.0
    161161 *
    162162 * @return string|false HTML Output if hooked. False otherwise.
     
    198198 * Add the default user front template to the front template hierarchy
    199199 *
    200  * @since 1.0.0
     200 * @since 3.0.0
    201201 *
    202202 * @param array $templates The list of templates for the front.php template part.
     
    222222 * Only locate global user's front templates
    223223 *
    224  * @since 1.0.0
     224 * @since 3.0.0
    225225 *
    226226 * @param array $templates The User's front template hierarchy.
     
    238238 * Locate a single member template into a specific hierarchy.
    239239 *
    240  * @since 1.0.0
     240 * @since 3.0.0
    241241 *
    242242 * @param string $template The template part to get (eg: activity, groups...).
     
    291291 * Load a single member template part
    292292 *
    293  * @since 1.0.0
     293 * @since 3.0.0
    294294 *
    295295 * @param string $template The template part to get (eg: activity, groups...).
     
    321321 * Display the User's WordPress bio info into the default front page?
    322322 *
    323  * @since 1.0.0
     323 * @since 3.0.0
    324324 *
    325325 * @return bool True to display. False otherwise.
     
    334334 * Are we inside the Current user's default front page sidebar?
    335335 *
    336  * @since 1.0.0
     336 * @since 3.0.0
    337337 *
    338338 * @return bool True if in the group's home sidebar. False otherwise.
     
    345345 * Filter the Latest activities Widget to only keep the one of displayed user
    346346 *
    347  * @since 1.0.0
     347 * @since 3.0.0
    348348 *
    349349 * @param array $args The Activities Template arguments.
     
    360360 * Filter the Groups widget to only keep the groups the displayed user is a member of.
    361361 *
    362  * @since 1.0.0
     362 * @since 3.0.0
    363363 *
    364364 * @param array $args The Groups Template arguments.
     
    375375 * Filter the Members widgets to only keep members of the displayed group.
    376376 *
    377  * @since 1.0.0
     377 * @since 3.0.0
    378378 *
    379379 * @param array $args The Members Template arguments.
     
    395395 * Init the Member's default front page filters as we're in the sidebar
    396396 *
    397  * @since 1.0.0
     397 * @since 3.0.0
    398398 */
    399399function bp_nouveau_members_add_home_widget_filters() {
     
    408408 * Remove the Member's default front page filters as we're no more in the sidebar
    409409 *
    410  * @since 1.0.0
     410 * @since 3.0.0
    411411 */
    412412function bp_nouveau_members_remove_home_widget_filters() {
     
    421421 * Get the WP Profile fields for all or a specific user
    422422 *
    423  * @since 1.0.0
     423 * @since 3.0.0
    424424 *
    425425 * @param  WP_User $user The user object. Optional.
     
    442442 * Build the Member's nav for the our customizer control.
    443443 *
    444  * @since 1.0.0
     444 * @since 3.0.0
    445445 *
    446446 * @return array The Members single item primary nav ordered.
  • trunk/src/bp-templates/bp-nouveau/includes/members/loader.php

    r11856 r11899  
    33 * BP Nouveau Members
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Members Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Members {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    4040     * Include needed files
    4141     *
    42      * @since 1.0.0
     42     * @since 3.0.0
    4343     */
    4444    protected function includes() {
     
    5050     * Register do_action() hooks
    5151     *
    52      * @since 1.0.0
     52     * @since 3.0.0
    5353     */
    5454    protected function setup_actions() {
     
    8282     * Register add_filter() hooks
    8383     *
    84      * @since 1.0.0
     84     * @since 3.0.0
    8585     */
    8686    protected function setup_filters() {
     
    9393     * with the displayed user's default front page.
    9494     *
    95      * @since 1.0.0
     95     * @since 3.0.0
    9696     *
    9797     * @param string $sidebar_index The Sidebar identifier.
     
    112112     * the displayed user in account.
    113113     *
    114      * @since 1.0.0
     114     * @since 3.0.0
    115115     *
    116116     * @param  string $sidebar_index The Sidebar identifier.
     
    131131 * Launch the Members loader class.
    132132 *
    133  * @since 1.0.0
     133 * @since 3.0.0
    134134 */
    135135function bp_nouveau_members( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/members/template-tags.php

    r11856 r11899  
    33 * Members template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1313 * before the members directory content
    1414 *
    15  * @since 1.0.0
     15 * @since 3.0.0
    1616 */
    1717function bp_nouveau_before_members_directory_content() {
     
    4949 * after the members directory content
    5050 *
    51  * @since 1.0.0
     51 * @since 3.0.0
    5252 */
    5353function bp_nouveau_after_members_directory_content() {
     
    8484 * Fire specific hooks into the single members templates
    8585 *
    86  * @since 1.0.0
    87  * @since 1.2.0 (BuddyPress) for the 'activity_content', 'blogs_content', 'header_meta',
    88  *                           'friends_content', 'groups_content', 'home_content', 'plugin_template'
    89  *                           'friend_requests_content' suffixes.
    90  * @since 1.5.0 (BuddyPress) for the 'settings_template' suffix.
    91  *
    92  * @param string $when    'before' or 'after'
    93  * @param string $suffix  Use it to add terms at the end of the hook name
     86 * @since 3.0.0
     87 *
     88 * @param string $when   'before' or 'after'
     89 * @param string $suffix Use it to add terms at the end of the hook name
    9490 */
    9591function bp_nouveau_member_hook( $when = '', $suffix = '' ) {
     
    113109 * Template tag to wrap the notification settings hook
    114110 *
    115  * @since 1.0.0
     111 * @since 3.0.0
    116112 */
    117113function bp_nouveau_member_email_notice_settings() {
     
    127123 * Output the action buttons for the displayed user profile
    128124 *
    129  * @since 1.0.0
     125 * @since 3.0.0
    130126 *
    131127 * @param array $args See bp_nouveau_wrapper() for the description of parameters.
     
    176172 * Output the action buttons in member loops
    177173 *
    178  * @since 1.0.0
     174 * @since 3.0.0
    179175 *
    180176 * @param array $args See bp_nouveau_wrapper() for the description of parameters.
     
    219215     * Get the action buttons for the displayed user profile
    220216     *
    221      * @since 1.0.0
     217     * @since 3.0.0
    222218     *
    223219     * @return array
     
    477473         * Filter to add your buttons, use the position argument to choose where to insert it.
    478474         *
    479          * @since 1.0.0
     475         * @since 3.0.0
    480476         *
    481477         * @param array  $buttons The list of buttons.
     
    508504         * Leave a chance to adjust the $return
    509505         *
    510          * @since 1.0.0
     506         * @since 3.0.0
    511507         *
    512508         * @param array  $return  The list of buttons ordered.
     
    522518 * Does the member has meta.
    523519 *
    524  * @since 1.0.0
     520 * @since 3.0.0
    525521 *
    526522 * @return bool True if the member has meta. False otherwise.
     
    533529 * Display the member meta.
    534530 *
    535  * @since 1.0.0
     531 * @since 3.0.0
    536532 *
    537533 * @return string HTML Output.
     
    544540     * Get the member meta.
    545541     *
    546      * @since 1.0.0
     542     * @since 3.0.0
    547543     *
    548544     * @return array The member meta.
     
    588584             * Filter to add/remove Member meta.
    589585             *
    590              * @since 1.0.0
     586             * @since 3.0.0
    591587             *
    592588             * @param array  $meta    The list of meta to output.
     
    603599 * Load the appropriate content for the single member pages
    604600 *
    605  * @since 1.0.0
     601 * @since 3.0.0
    606602 */
    607603function bp_nouveau_member_template_part() {
     
    651647 * Use the appropriate Member header and enjoy a template hierarchy
    652648 *
    653  * @since 1.0.0
     649 * @since 3.0.0
    654650 *
    655651 * @return string HTML Output
     
    686682 * reach the Customizer section where it's possible to do it.
    687683 *
    688  * @since 1.0.0
     684 * @since 3.0.0
    689685 *
    690686 * @return string HTML Output
     
    704700 * reach the Customizer section where it's possible to do it.
    705701 *
    706  * @since 1.0.0
     702 * @since 3.0.0
    707703 *
    708704 * @return string HTML Output
     
    721717 * Display the Member description making sure linefeeds are taking in account
    722718 *
    723  * @since 1.0.0
     719 * @since 3.0.0
    724720 *
    725721 * @param int $user_id Optional.
     
    757753 * Display the Edit profile link (temporary).
    758754 *
    759  * @since 1.0.0
     755 * @since 3.0.0
    760756 *
    761757 * @todo replace with Ajax feature
     
    771767     * @todo  replace with Ajax featur
    772768     *
    773      * @since 1.0.0
     769     * @since 3.0.0
    774770     *
    775771     * @return string HTML Output
     
    797793 * before and after the WP User's Profile.
    798794 *
    799  * @since 1.0.0
     795 * @since 3.0.0
    800796 */
    801797function bp_nouveau_wp_profile_hooks( $type = 'before' ) {
     
    841837 * Does the displayed user has WP profile fields?
    842838 *
    843  * @since 1.0.0
     839 * @since 3.0.0
    844840 *
    845841 * @return bool True if user has profile fields. False otherwise.
     
    886882 * Check if there are still profile fields to output.
    887883 *
    888  * @since 1.0.0
     884 * @since 3.0.0
    889885 *
    890886 * @return bool True if the profile field exists. False otherwise.
     
    906902 * Set the current profile field and iterate into the loop.
    907903 *
    908  * @since 1.0.0
     904 * @since 3.0.0
    909905 */
    910906function bp_nouveau_wp_profile_field() {
     
    918914 * Output the WP profile field ID.
    919915 *
    920  * @since 1.0.0
     916 * @since 3.0.0
    921917 */
    922918function bp_nouveau_wp_profile_field_id() {
     
    926922     * Get the WP profile field ID.
    927923     *
    928      * @since 1.0.0
     924     * @since 3.0.0
    929925     *
    930926     * @return int the profile field ID.
     
    938934 * Output the WP profile field label.
    939935 *
    940  * @since 1.0.0
     936 * @since 3.0.0
    941937 */
    942938function bp_nouveau_wp_profile_field_label() {
     
    947943     * Get the WP profile label.
    948944     *
    949      * @since 1.0.0
     945     * @since 3.0.0
    950946     *
    951947     * @return string the profile field label.
     
    959955 * Output the WP profile field data.
    960956 *
    961  * @since 1.0.0
     957 * @since 3.0.0
    962958 */
    963959function bp_nouveau_wp_profile_field_data() {
     
    984980     * Get the WP profile field data.
    985981     *
    986      * @since 1.0.0
     982     * @since 3.0.0
    987983     *
    988984     * @return string the profile field data.
  • trunk/src/bp-templates/bp-nouveau/includes/messages/ajax.php

    r11855 r11899  
    33 * Messages Ajax functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    2929
    3030/**
    31  * @since 1.0.0
     31 * @since 3.0.0
    3232 */
    3333function bp_nouveau_ajax_messages_send_message() {
     
    8989
    9090/**
    91  * @since 1.0.0
     91 * @since 3.0.0
    9292 */
    9393function bp_nouveau_ajax_messages_send_reply() {
     
    178178
    179179/**
    180  * @since 1.0.0
     180 * @since 3.0.0
    181181 */
    182182function bp_nouveau_ajax_get_user_message_threads() {
     
    290290
    291291/**
    292  * @since 1.0.0
     292 * @since 3.0.0
    293293 */
    294294function bp_nouveau_ajax_messages_thread_read() {
     
    320320
    321321/**
    322  * @since 1.0.0
     322 * @since 3.0.0
    323323 */
    324324function bp_nouveau_ajax_get_thread_messages() {
     
    416416
    417417/**
    418  * @since 1.0.0
     418 * @since 3.0.0
    419419 */
    420420function bp_nouveau_ajax_delete_thread_messages() {
     
    449449
    450450/**
    451  * @since 1.0.0
     451 * @since 3.0.0
    452452 */
    453453function bp_nouveau_ajax_star_thread_messages() {
     
    536536
    537537/**
    538  * @since 1.0.0
     538 * @since 3.0.0
    539539 */
    540540function bp_nouveau_ajax_readunread_thread_messages() {
     
    599599
    600600/**
    601  * @since 1.0.0
     601 * @since 3.0.0
    602602 */
    603603function bp_nouveau_ajax_dismiss_sitewide_notice() {
  • trunk/src/bp-templates/bp-nouveau/includes/messages/functions.php

    r11856 r11899  
    33 * Messages functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Enqueue styles for the Messages UI (mentions).
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param array $styles Optional. The array of styles to enqueue.
     
    3535 * Register Scripts for the Messages component
    3636 *
    37  * @since 1.0.0
     37 * @since 3.0.0
    3838 *
    3939 * @param array $scripts The array of scripts to register
     
    6464 * Enqueue the messages scripts
    6565 *
    66  * @since 1.0.0
     66 * @since 3.0.0
    6767 */
    6868function bp_nouveau_messages_enqueue_scripts() {
     
    8080 * Localize the strings needed for the messages UI
    8181 *
    82  * @since 1.0.0
     82 * @since 3.0.0
    8383 *
    8484 * @param  array $params Associative array containing the JS Strings needed by scripts
     
    124124
    125125/**
    126  * @since 1.0.0
     126 * @since 3.0.0
    127127 */
    128128function bp_nouveau_message_search_form() {
     
    138138     * Filters the private message component search form.
    139139     *
    140      * @since 1.0.0
     140     * @since 3.0.0
    141141     *
    142142     * @param string $search_form_html HTML markup for the message search form.
     
    147147
    148148/**
    149  * @since 1.0.0
     149 * @since 3.0.0
    150150 */
    151151function bp_nouveau_messages_adjust_nav() {
     
    179179
    180180/**
    181  * @since 1.0.0
     181 * @since 3.0.0
    182182 */
    183183function bp_nouveau_messages_adjust_admin_nav( $admin_nav ) {
     
    204204
    205205/**
    206  * @since 1.0.0
     206 * @since 3.0.0
    207207 */
    208208function bp_nouveau_add_notice_notification_for_user( $notifications, $user_id ) {
     
    239239
    240240/**
    241  * @since 1.0.0
     241 * @since 3.0.0
    242242 */
    243243function bp_nouveau_format_notice_notification_for_user( $array ) {
     
    253253
    254254/**
    255  * @since 1.0.0
     255 * @since 3.0.0
    256256 */
    257257function bp_nouveau_unregister_notices_widget() {
     
    262262 * Add active sitewide notices to the BP template_message global.
    263263 *
    264  * @since 1.0.0
     264 * @since 3.0.0
    265265 */
    266266function bp_nouveau_push_sitewide_notices() {
     
    300300
    301301/**
    302  * @since 1.0.0
     302 * @since 3.0.0
    303303 */
    304304function bp_nouveau_mce_buttons( $buttons = array() ) {
     
    320320
    321321/**
    322  * @since 1.0.0
     322 * @since 3.0.0
    323323 */
    324324function bp_nouveau_messages_at_on_tinymce_init( $settings, $editor_id ) {
     
    332332
    333333/**
    334  * @since 1.0.0
     334 * @since 3.0.0
    335335 */
    336336function bp_nouveau_get_message_date( $date ) {
     
    369369
    370370/**
    371  * @since 1.0.0
     371 * @since 3.0.0
    372372 */
    373373function bp_nouveau_messages_get_bulk_actions() {
     
    401401 * Register notifications filters for the messages component.
    402402 *
    403  * @since 1.0.0
     403 * @since 3.0.0
    404404 */
    405405function bp_nouveau_messages_notification_filters() {
  • trunk/src/bp-templates/bp-nouveau/includes/messages/loader.php

    r11868 r11899  
    33 * BP Nouveau Messages
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Messages Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Messages {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    6262     * Register do_action() hooks
    6363     *
    64      * @since 1.0.0
     64     * @since 3.0.0
    6565     */
    6666    protected function setup_actions() {
     
    8585     * Register add_filter() hooks
    8686     *
    87      * @since 1.0.0
     87     * @since 3.0.0
    8888     */
    8989    protected function setup_filters() {
     
    124124 * Launch the Messages loader class.
    125125 *
    126  * @since 1.0.0
     126 * @since 3.0.0
    127127 */
    128128function bp_nouveau_messages( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/messages/template-tags.php

    r11686 r11899  
    33 * Messages template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Fire specific hooks into the private messages template.
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param string $when   Optional. Either 'before' or 'after'.
     
    4141 * Load the new Messages User Interface
    4242 *
    43  * @since 1.0.0
     43 * @since 3.0.0
    4444 */
    4545function bp_nouveau_messages_member_interface() {
  • trunk/src/bp-templates/bp-nouveau/includes/notifications/functions.php

    r11686 r11899  
    33 * Notifications functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Register Scripts for the Notifications component
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param  array  $scripts  The array of scripts to register
     
    3535 * Enqueue the notifications scripts
    3636 *
    37  * @since 1.0.0
     37 * @since 3.0.0
    3838 */
    3939function bp_nouveau_notifications_enqueue_scripts() {
     
    5050 * plugins/components register their filters.
    5151 *
    52  * @since 1.0.O
     52 * @since 3.0.0
    5353 */
    5454function bp_nouveau_notifications_init_filters() {
     
    6262     * Hook here to register your custom notification filters
    6363     *
    64      * @since 1.0.0
     64     * @since 3.0.0
    6565     */
    6666    do_action( 'bp_nouveau_notifications_init_filters' );
     
    7070 * Register new filters for the notifications screens.
    7171 *
    72  * @since 1.0.0
     72 * @since 3.0.0
    7373 *
    7474 * @param  array  $args {
     
    105105 * Get one or all notifications filters.
    106106 *
    107  * @since 1.0.0
     107 * @since 3.0.0
    108108 *
    109109 * @param  string $id  The notificication component action to get the filter of.
     
    131131 * Sort Notifications according to their position arguments.
    132132 *
    133  * @since 1.0.0
     133 * @since 3.0.0
    134134 *
    135135 * @param  array  $filters The notifications filters to order.
     
    170170 * Add a dashicon to Notifications action links
    171171 *
    172  * @since 1.0.0
     172 * @since 3.0.0
    173173 *
    174174 * @param  string $link        The action link.
     
    200200 * Edit the Mark Unread action link to include a dashicon
    201201 *
    202  * @since 1.0.0
     202 * @since 3.0.0
    203203 *
    204204 * @param  string $link The Mark Unread action link.
     
    212212 * Edit the Mark Read action link to include a dashicon
    213213 *
    214  * @since 1.0.0
     214 * @since 3.0.0
    215215 *
    216216 * @param  string $link The Mark Read action link.
     
    224224 * Edit the Delete action link to include a dashicon
    225225 *
    226  * @since 1.0.0
     226 * @since 3.0.0
    227227 *
    228228 * @param  string $link The Delete action link.
  • trunk/src/bp-templates/bp-nouveau/includes/notifications/loader.php

    r11856 r11899  
    33 * BP Nouveau Notifications
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Notifications Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_Notifications {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    5151     * Register do_action() hooks
    5252     *
    53      * @since 1.0.0
     53     * @since 3.0.0
    5454     */
    5555    protected function setup_actions() {
     
    8080     * Register add_filter() hooks
    8181     *
    82      * @since 1.0.0
     82     * @since 3.0.0
    8383     */
    8484    protected function setup_filters() {
     
    9393 * Launch the Notifications loader class.
    9494 *
    95  * @since 1.0.0
     95 * @since 3.0.0
    9696 */
    9797function bp_nouveau_notifications( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/notifications/template-tags.php

    r11686 r11899  
    33 * Notifications template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Display the notifications filter options.
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616function bp_nouveau_notifications_filters() {
     
    2121     * Get the notifications filter options.
    2222     *
    23      * @since 1.0.0
     23     * @since 3.0.0
    2424     *
    2525     * @return string HTML output.
     
    5757         * Filter to edit the options output.
    5858         *
    59          * @since 1.0.0
     59         * @since 3.0.0
    6060         *
    6161         * @param string $output  The options output.
     
    6868 * Outputs the order action links.
    6969 *
    70  * @since 1.0.0
     70 * @since 3.0.0
    7171 */
    7272function bp_nouveau_notifications_sort_order_links() {
     
    9292 * Output the dropdown for bulk management of notifications.
    9393 *
    94  * @since 1.0.0
     94 * @since 3.0.0
    9595 */
    9696function bp_nouveau_notifications_bulk_management_dropdown() {
  • trunk/src/bp-templates/bp-nouveau/includes/template-tags.php

    r11856 r11899  
    33 * Common template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Fire specific hooks at various places of templates
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param array $pieces The list of terms of the hook to join.
     
    3434 * Fire plugin hooks in the plugins.php template (Groups and Members single items)
    3535 *
    36  * @since 1.0.0
     36 * @since 3.0.0
    3737 *
    3838 * @param string The suffix of the hook.
     
    5858 *       once we'll need other friends template tags.
    5959 *
    60  * @since 1.0.0
     60 * @since 3.0.0
    6161 *
    6262 * @param string The suffix of the hook.
     
    7979 * Add classes to style the template notice/feedback message
    8080 *
    81  * @since 1.0.0
     81 * @since 3.0.0
    8282 */
    8383function bp_nouveau_template_message_classes() {
     
    9595     * Get the template notice/feedback message type
    9696     *
    97      * @since 1.0.0
     97     * @since 3.0.0
    9898     *
    9999     * @return string The type of the notice. Defaults to error.
     
    115115 * Checks if a template notice/feedback message is set
    116116 *
    117  * @since 1.0.0
     117 * @since 3.0.0
    118118 *
    119119 * @return bool True if a template notice is set. False otherwise.
     
    137137    *
    138138 *
    139  * @since 1.0.0
     139 * @since 3.0.0
    140140 *
    141141 * @return bool True if a template notice needs a dismiss button. False otherwise.
     
    163163 * Currently template_notices(BP) will take $type = 'clear' if button set to true.
    164164 *
    165  * @since 1.0.0
     165 * @since 3.0.0
    166166 */
    167167function bp_nouveau_dismiss_button_type() {
     
    179179 * Displays a template notice/feedback message.
    180180 *
    181  * @since 1.0.0
     181 * @since 3.0.0
    182182 */
    183183function bp_nouveau_template_message() {
     
    188188     * Get the template notice/feedback message and make sure core filter is applied.
    189189     *
    190      * @since 1.0.0
     190     * @since 3.0.0
    191191     *
    192192     * @return string HTML Output.
     
    222222 * Template tag to display feedback notices to users, if there are to display
    223223 *
    224  * @since 1.0.0
     224 * @since 3.0.0
    225225 */
    226226function bp_nouveau_template_notices() {
     
    254254         * Fires after the display of any template_notices feedback messages.
    255255         *
    256          * @since 1.1.0
     256         * @since 3.0.0
    257257         */
    258258        do_action( 'bp_core_render_message' );
     
    262262     * Fires towards the top of template pages for notice display.
    263263     *
    264      * @since 1.0.0
     264     * @since 3.0.0
    265265     */
    266266    do_action( 'template_notices' );
     
    270270 * Displays a feedback message to the user.
    271271 *
    272  * @since 1.0.0
     272 * @since 3.0.0
    273273 *
    274274 * @param string $feedback_id The ID of the message to display
     
    296296         * Filter here if you wish to use a different templates than the notice one.
    297297         *
    298          * @since 1.0.0
     298         * @since 3.0.0
    299299         *
    300300         * @param string path to your template part.
     
    314314 * Template tag to wrap the before component loop
    315315 *
    316  * @since 1.0.0
     316 * @since 3.0.0
    317317 */
    318318function bp_nouveau_before_loop() {
     
    334334 * Template tag to wrap the after component loop
    335335 *
    336  * @since 1.0.0
     336 * @since 3.0.0
    337337 */
    338338function bp_nouveau_after_loop() {
     
    356356 * @param string $position
    357357 *
    358  * @since 1.0.0
     358 * @since 3.0.0
    359359 */
    360360function bp_nouveau_pagination( $position ) {
     
    439439         * Fires after the component directory list.
    440440         *
    441          * @since 1.1.0
     441         * @since 3.0.0
    442442         */
    443443        do_action( $bottom_hook );
     
    474474         * Fires before the component directory list.
    475475         *
    476          * @since 1.1.0
     476         * @since 3.0.0
    477477         */
    478478        do_action( $top_hook );
     
    483483 * Display the component's loop classes
    484484 *
    485  * @since 1.0.0
     485 * @since 3.0.0
    486486 *
    487487 * @return string CSS class attributes (escaped).
     
    494494     * Get the component's loop classes
    495495     *
    496      * @since 1.0.0
     496     * @since 3.0.0
    497497     *
    498498     * @return string space separated value of classes.
     
    562562         * NB: you can also directly add classes into the template parts.
    563563         *
    564          * @since 1.0.0
     564         * @since 3.0.0
    565565         *
    566566         * @param array  $classes   The list of classes.
     
    576576 * Checks if the layout preferences is set to grid (2 or more columns).
    577577 *
    578  * @since 1.0.0
     578 * @since 3.0.0
    579579 *
    580580 * @return bool True if loop is displayed in grid mod. False otherwise.
     
    590590 * Returns the number of columns of the layout preferences.
    591591 *
    592  * @since 1.0.0
     592 * @since 3.0.0
    593593 *
    594594 * @return int The number of columns.
     
    607607     * Filter number of columns for this grid.
    608608     *
    609      * @since 1.0.0
     609     * @since 3.0.0
    610610     *
    611611     * @param int $columns The number of columns.
     
    618618 * Checks if activity, members, groups, blogs has the vert nav layout selected
    619619 *
    620  * @since 1.0.0
     620 * @since 3.0.0
    621621 *
    622622 * @return bool.
     
    632632 * Get the full size avatar args.
    633633 *
    634  * @since 1.0.0
     634 * @since 3.0.0
    635635 *
    636636 * @return array The avatar arguments.
     
    662662 * Init the Navigation Loop and check it has items.
    663663 *
    664  * @since 1.0.0
     664 * @since 3.0.0
    665665 *
    666666 * @param array $args {
     
    756756         * Use the $n param to check for your custom object.
    757757         *
    758          * @since 1.0.0
     758         * @since 3.0.0
    759759         *
    760760         * @param array $nav The list of item navigations generated by the BP_Core_Nav API.
     
    785785 * Checks there are still nav items to display.
    786786 *
    787  * @since 1.0.0
     787 * @since 3.0.0
    788788 *
    789789 * @return bool True if there are still items to display. False otherwise.
     
    805805 * Sets the current nav item and prepare the navigation loop to iterate to next one.
    806806 *
    807  * @since 1.0.0
     807 * @since 3.0.0
    808808 */
    809809function bp_nouveau_nav_item() {
     
    817817 * Displays the nav item ID.
    818818 *
    819  * @since 1.0.0
     819 * @since 3.0.0
    820820 */
    821821function bp_nouveau_nav_id() {
     
    826826     * Retrieve the ID attribute of the current nav item.
    827827     *
    828      * @since 1.0.0
     828     * @since 3.0.0
    829829     *
    830830     * @return string the ID attribute.
     
    845845         * Filter to edit the ID attribute of the nav.
    846846         *
    847          * @since 1.0.0
     847         * @since 3.0.0
    848848         *
    849849         * @param string $id       The ID attribute of the nav.
     
    857857 * Displays the nav item classes.
    858858 *
    859  * @since 1.0.0
     859 * @since 3.0.0
    860860 */
    861861function bp_nouveau_nav_classes() {
     
    866866     * Retrieve a space separated list of classes for the current nav item.
    867867     *
    868      * @since 1.0.0
     868     * @since 3.0.0
    869869     *
    870870     * @return string List of classes.
     
    909909         * NB: you can also directly add classes into the template parts.
    910910         *
    911          * @since 1.0.0
     911         * @since 3.0.0
    912912         *
    913913         * @param string $value    A space separated list of classes.
     
    927927 * Displays the nav item scope.
    928928 *
    929  * @since 1.0.0
     929 * @since 3.0.0
    930930 */
    931931function bp_nouveau_nav_scope() {
     
    936936     * Retrieve the specific scope for the current nav item.
    937937     *
    938      * @since 1.0.0
     938     * @since 3.0.0
    939939     *
    940940     * @return string the specific scope of the nav.
     
    955955             * Filter to add your own scope.
    956956             *
    957              * @since 1.0.0
     957             * @since 3.0.0
    958958             *
    959959             * @param array $scope     Contains the key and the value for your scope.
     
    974974 * Displays the nav item URL.
    975975 *
    976  * @since 1.0.0
     976 * @since 3.0.0
    977977 */
    978978function bp_nouveau_nav_link() {
     
    983983     * Retrieve the URL for the current nav item.
    984984     *
    985      * @since 1.0.0
     985     * @since 3.0.0
    986986     *
    987987     * @return string The URL for the nav item.
     
    10071007         * Filter to edit the URL of the nav item.
    10081008         *
    1009          * @since 1.0.0
     1009         * @since 3.0.0
    10101010         *
    10111011         * @param string $link     The URL for the nav item.
     
    10191019 * Displays the nav item link ID.
    10201020 *
    1021  * @since 1.0.0
     1021 * @since 3.0.0
    10221022 */
    10231023function bp_nouveau_nav_link_id() {
     
    10281028     * Retrieve the id attribute of the link for the current nav item.
    10291029     *
    1030      * @since 1.0.0
     1030     * @since 3.0.0
    10311031     *
    10321032     * @return string The link id for the nav item.
     
    10501050         * Filter to edit the link id attribute of the nav.
    10511051         *
    1052          * @since 1.0.0
     1052         * @since 3.0.0
    10531053         *
    10541054         * @param string $link_id  The link id attribute for the nav item.
     
    10621062 * Displays the nav item link title.
    10631063 *
    1064  * @since 1.0.0
     1064 * @since 3.0.0
    10651065 */
    10661066function bp_nouveau_nav_link_title() {
     
    10711071     * Retrieve the title attribute of the link for the current nav item.
    10721072     *
    1073      * @since 1.0.0
     1073     * @since 3.0.0
    10741074     *
    10751075     * @return string The link title for the nav item.
     
    10941094         * Filter to edit the link title attribute of the nav.
    10951095         *
    1096          * @since 1.0.0
     1096         * @since 3.0.0
    10971097         *
    10981098         * @param string $title    The link title attribute for the nav item.
     
    11061106 * Displays the nav item link html text.
    11071107 *
    1108  * @since 1.0.0
     1108 * @since 3.0.0
    11091109 */
    11101110function bp_nouveau_nav_link_text() {
     
    11151115     * Retrieve the html text of the link for the current nav item.
    11161116     *
    1117      * @since 1.0.0
     1117     * @since 3.0.0
    11181118     *
    11191119     * @return string The html text for the nav item.
     
    11381138         * Filter to edit the html text of the nav.
    11391139         *
    1140          * @since 1.0.0
     1140         * @since 3.0.0
    11411141         *
    11421142         * @param string $link_text The html text of the nav item.
     
    11501150 * Checks if the nav item has a count attribute.
    11511151 *
    1152  * @since 1.0.0
     1152 * @since 3.0.0
    11531153 *
    11541154 * @return bool
     
    11701170     * Filter to edit whether the nav has a count attribute.
    11711171     *
    1172      * @since 1.0.0
     1172     * @since 3.0.0
    11731173     *
    11741174     * @param bool   $value     True if the nav has a count attribute. False otherwise
     
    11821182 * Displays the nav item count attribute.
    11831183 *
    1184  * @since 1.0.0
     1184 * @since 3.0.0
    11851185 */
    11861186function bp_nouveau_nav_count() {
     
    11911191     * Retrieve the count attribute for the current nav item.
    11921192     *
    1193      * @since 1.0.0
     1193     * @since 3.0.0
    11941194     *
    11951195     * @return int The count attribute for the nav item.
     
    12211221         * Filter to edit the count attribute for the nav item.
    12221222         *
    1223          * @since 1.0.0
     1223         * @since 3.0.0
    12241224         *
    12251225         * @param int $count    The count attribute for the nav item.
     
    12351235 * Displays the directory nav class.
    12361236 *
    1237  * @since 1.0.0
     1237 * @since 3.0.0
    12381238 */
    12391239function bp_nouveau_directory_type_navs_class() {
     
    12471247     * Gets user selection Customizer options.
    12481248     *
    1249      * @since 1.0.0
     1249     * @since 3.0.0
    12501250     *
    12511251     * @return string
     
    12801280         * NB: you can also directly add classes to the class attr.
    12811281         *
    1282          * @since 1.0.0
     1282         * @since 3.0.0
    12831283         *
    12841284         * @param array $nav_wrapper_classes The list of classes.
     
    12921292 * Displays the directory nav item list class.
    12931293 *
    1294  * @since 1.0.0
     1294 * @since 3.0.0
    12951295 */
    12961296function bp_nouveau_directory_list_class() {
     
    13011301     * Gets the directory nav item list class.
    13021302     *
    1303      * @since 1.0.0
     1303     * @since 3.0.0
    13041304     */
    13051305    function bp_nouveau_get_directory_list_class() {
     
    13101310 * Displays the directory nav item object (data-bp attribute).
    13111311 *
    1312  * @since 1.0.0
     1312 * @since 3.0.0
    13131313 */
    13141314function bp_nouveau_directory_nav_object() {
     
    13251325     * @see BP_Component::setup_nav().
    13261326     *
    1327      * @since 1.0.0
     1327     * @since 3.0.0
    13281328     *
    13291329     * @return array
     
    13451345 * Output main BuddyPress container classes.
    13461346 *
    1347  * @since 1.0.0
     1347 * @since 3.0.0
    13481348 *
    13491349 * @return string CSS classes
     
    13561356     * Returns the main BuddyPress container classes.
    13571357     *
    1358      * @since 1.0.0
     1358     * @since 3.0.0
    13591359     *
    13601360     * @return string CSS classes
     
    14451445 * Output single item nav container classes
    14461446 *
    1447  * @since 1.0.0
     1447 * @since 3.0.0
    14481448 *
    14491449 * @return string CSS classes
     
    14561456     * Returns the single item nav container classes
    14571457     *
    1458      * @since 1.0.0
     1458     * @since 3.0.0
    14591459     *
    14601460     * @return string CSS classes
     
    15101510 * Output single item subnav container classes.
    15111511 *
    1512  * @since 1.0.0
     1512 * @since 3.0.0
    15131513 *
    15141514 * @return string CSS classes
     
    15211521     * Returns the single item subnav container classes.
    15221522     *
    1523      * @since 1.0.0
     1523     * @since 3.0.0
    15241524     *
    15251525     * @return string CSS classes
     
    15601560 * Output the groups create steps classes.
    15611561 *
    1562  * @since 1.0.0
     1562 * @since 3.0.0
    15631563 *
    15641564 * @return string CSS classes
     
    15711571     * Returns the groups create steps customizer option choice class.
    15721572     *
    1573      * @since 1.0.0
     1573     * @since 3.0.0
    15741574     *
    15751575     * @return string CSS classes
     
    15941594 * Get the search primary object
    15951595 *
    1596  * @since 1.0.0
     1596 * @since 3.0.0
    15971597 *
    15981598 * @param string $object Optional. The primary object.
     
    16171617 * Get The list of search objects (primary + secondary).
    16181618 *
    1619  * @since 1.0.0
     1619 * @since 3.0.0
    16201620 *
    16211621 * @param array $objects Optional. The list of objects.
     
    16471647 * Output the search form container classes.
    16481648 *
    1649  * @since 1.0.0
     1649 * @since 3.0.0
    16501650 */
    16511651function bp_nouveau_search_container_class() {
     
    16591659 * Output a selector ID.
    16601660 *
    1661  * @since 1.0.0
     1661 * @since 3.0.0
    16621662 *
    16631663 * @param string $suffix Optional. A string to append at the end of the ID.
     
    16741674 * Output the name attribute of a selector.
    16751675 *
    1676  * @since 1.0.0
     1676 * @since 3.0.0
    16771677 *
    16781678 * @param  string $suffix Optional. A string to append at the end of the name.
     
    16961696 * Output the default search text for the search object
    16971697 *
    1698  * @since 1.0.0
     1698 * @since 3.0.0
    16991699 *
    17001700 * @param  string $text    Optional. The default search text for the search object.
     
    17231723 * Get the search form template part and fire some do_actions if needed.
    17241724 *
    1725  * @since 1.0.0
     1725 * @since 3.0.0
    17261726 */
    17271727function bp_nouveau_search_form() {
     
    17851785 * IDs/labels for group/activity & similar screens.
    17861786 *
    1787  * @since 1.0.0
     1787 * @since 3.0.0
    17881788 */
    17891789function bp_nouveau_current_object() {
     
    18141814 * Output data filter container's ID attribute value.
    18151815 *
    1816  * @since 1.0.0
     1816 * @since 3.0.0
    18171817 */
    18181818function bp_nouveau_filter_container_id() {
     
    18231823     * Get data filter container's ID attribute value.
    18241824     *
    1825      * @since 1.0.0
     1825     * @since 3.0.0
    18261826     *
    18271827     * @param string
     
    18491849 * Output data filter's ID attribute value.
    18501850 *
    1851  * @since 1.0.0
     1851 * @since 3.0.0
    18521852 */
    18531853function bp_nouveau_filter_id() {
     
    18581858     * Get data filter's ID attribute value.
    18591859     *
    1860      * @since 1.0.0
     1860     * @since 3.0.0
    18611861     *
    18621862     * @param string
     
    18841884 * Output data filter's label.
    18851885 *
    1886  * @since 1.0.0
     1886 * @since 3.0.0
    18871887 */
    18881888function bp_nouveau_filter_label() {
     
    18931893     * Get data filter's label.
    18941894     *
    1895      * @since 1.0.0
     1895     * @since 3.0.0
    18961896     *
    18971897     * @param string
     
    19111911 * Output data filter's data-bp-filter attribute value.
    19121912 *
    1913  * @since 1.0.0
     1913 * @since 3.0.0
    19141914 */
    19151915function bp_nouveau_filter_component() {
     
    19211921 * Output the <option> of the data filter's <select> element.
    19221922 *
    1923  * @since 1.0.0
     1923 * @since 3.0.0
    19241924 */
    19251925function bp_nouveau_filter_options() {
     
    19301930     * Get the <option> of the data filter's <select> element.
    19311931     *
    1932      * @since 1.0.0
     1932     * @since 3.0.0
    19331933     *
    19341934     * @return string
     
    19611961 * Get a link to reach a specific section into the customizer
    19621962 *
    1963  * @since 1.0.0
     1963 * @since 3.0.0
    19641964 *
    19651965 * @param array $args Optional. The argument to customize the Customizer link.
     
    20222022 * Fire specific hooks into the register template
    20232023 *
    2024  * @since 1.0.0
     2024 * @since 3.0.0
    20252025 *
    20262026 * @param string $when   'before' or 'after'
     
    20542054 * Fire specific hooks into the activate template
    20552055 *
    2056  * @since 1.0.0
     2056 * @since 3.0.0
    20572057 *
    20582058 * @param string $when   'before' or 'after'
     
    20822082 * Output the signup form for the requested section
    20832083 *
    2084  * @since 1.0.0
     2084 * @since 3.0.0
    20852085 *
    20862086 * @param string $section Optional. The section of fields to get 'account_details' or 'blog_details'.
     
    22442244 * Output a submit button and the nonce for the requested action.
    22452245 *
    2246  * @since 1.0.0
     2246 * @since 3.0.0
    22472247 *
    22482248 * @param string $action The action to get the submit button for. Required.
     
    22822282 * @param string $type optional: the type of error message e.g 'error'.
    22832283 *
    2284  * @since 1.0.0
     2284 * @since 3.0.0
    22852285 */
    22862286function nouveau_error_template( $message = '', $type = '' ) {
  • trunk/src/bp-templates/bp-nouveau/includes/xprofile/functions.php

    r11686 r11899  
    33 * xProfile functions
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Register Scripts for the xProfile component
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param  array $scripts  The array of scripts to register
     
    3535 * Enqueue the xprofile scripts
    3636 *
    37  * @since 1.0.0
     37 * @since 3.0.0
    3838 */
    3939function bp_nouveau_xprofile_enqueue_scripts() {
  • trunk/src/bp-templates/bp-nouveau/includes/xprofile/loader.php

    r11855 r11899  
    33 * BP Nouveau xProfile
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * xProfile Loader class
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 */
    1616class BP_Nouveau_xProfile {
     
    1818     * Constructor
    1919     *
    20      * @since 1.0.0
     20     * @since 3.0.0
    2121     */
    2222    public function __construct() {
     
    3030     * Globals
    3131     *
    32      * @since 1.0.0
     32     * @since 3.0.0
    3333     */
    3434    protected function setup_globals() {
     
    3939     * Include needed files
    4040     *
    41      * @since 1.0.0
     41     * @since 3.0.0
    4242     */
    4343    protected function includes() {
     
    4949     * Register do_action() hooks
    5050     *
    51      * @since 1.0.0
     51     * @since 3.0.0
    5252     */
    5353    protected function setup_actions() {
     
    5959     * Register add_filter() hooks
    6060     *
    61      * @since 1.0.0
     61     * @since 3.0.0
    6262     */
    6363    protected function setup_filters() {
     
    7070 * Launch the xProfile loader class.
    7171 *
    72  * @since 1.0.0
     72 * @since 3.0.0
    7373 */
    7474function bp_nouveau_xprofile( $bp_nouveau = null ) {
  • trunk/src/bp-templates/bp-nouveau/includes/xprofile/template-tags.php

    r11856 r11899  
    33 * xProfile Template tags
    44 *
    5  * @since 1.0.0
     5 * @since 3.0.0
    66 */
    77
     
    1212 * Fire specific hooks into the single members xprofile templates.
    1313 *
    14  * @since 1.0.0
     14 * @since 3.0.0
    1515 *
    1616 * @param string $when   Optional. Either 'before' or 'after'.
     
    3838 * Template tag to output the field visibility markup in edit and signup screens.
    3939 *
    40  * @since 1.0.0
     40 * @since 3.0.0
    4141 */
    4242function bp_nouveau_xprofile_edit_visibilty() {
     
    5353     * Fires after the visibility options for a field.
    5454     *
    55      * @since 1.1.0
     55     * @since 3.0.0
    5656     */
    5757    do_action( 'bp_custom_profile_edit_fields' );
     
    6262 * profile fields added to it for the registration screen.
    6363 *
    64  * @since 1.0.0
     64 * @since 3.0.0
    6565 */
    6666function bp_nouveau_base_account_has_xprofile() {
Note: See TracChangeset for help on using the changeset viewer.