Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/26/2021 12:53:27 AM (3 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Messages (component) files.

Also, adding several minor PHP changes.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/screens/view.php

    r12592 r13096  
    11<?php
    22/**
    3  * Messages: Conversation thread screen handler
     3 * Messages: Conversation thread screen handler.
    44 *
    55 * @package BuddyPress
     
    1313 * @since 1.0.0
    1414 *
    15  * @return false|null False on failure.
     15 * @global BuddyPress $bp The one true BuddyPress instance.
     16 *
     17 * @return bool False on failure.
    1618 */
    1719function messages_screen_conversation() {
     
    5052
    5153    // Decrease the unread count in the nav before it's rendered.
    52     $count    = bp_get_total_unread_messages_count();
    53     $class    = ( 0 === $count ) ? 'no-count' : 'count';
     54    $count = bp_get_total_unread_messages_count();
     55    $class = ( 0 === $count ) ? 'no-count' : 'count';
    5456
    5557    /* translators: 1: class name. 2: number of messages */
Note: See TracChangeset for help on using the changeset viewer.