Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/25/2015 12:02:25 AM (11 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the Messages component.

See #6576.

File:
1 edited

Legend:

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

    r9951 r10139  
    44 *
    55 * @since BuddyPress (2.3.0)
    6  */
     6 *
     7 * @package BuddyPress
     8 * @subpackage MessagesStar
     9 */
     10
     11// Exit if accessed directly.
     12defined( 'ABSPATH' ) || exit;
    713
    814/** UTILITY **************************************************************/
     
    1117 * Return the starred messages slug. Defaults to 'starred'.
    1218 *
    13  * @since BuddyPress (2.3.0)
     19 * @since 2.3.0
    1420 *
    1521 * @return string
     
    1925     * Filters the starred message slug.
    2026     *
    21      * @since BuddyPress (2.3.0)
     27     * @since 2.3.0
    2228     *
    2329     * @param string
     
    2935 * Function to determine if a message ID is starred.
    3036 *
    31  * @since BuddyPress (2.3.0)
     37 * @since 2.3.0
    3238 *
    3339 * @param  int $mid     The message ID. Please note that this isn't the message thread ID.
     
    5662 * Output the link or raw URL for starring or unstarring a message.
    5763 *
    58  * @since BuddyPress (2.3.0)
     64 * @since 2.3.0
    5965 *
    6066 * @param array $args See bp_get_the_message_star_action_link() for full documentation.
     
    6672     * Return the link or raw URL for starring or unstarring a message.
    6773     *
    68      * @since BuddyPress (2.3.0)
     74     * @since 2.3.0
    6975     *
    7076     * @param array $args {
     
    207213         * Filters the star action URL for starring / unstarring a message.
    208214         *
    209          * @since BuddyPress (2.3.0)
     215         * @since 2.3.0
    210216         *
    211217         * @param string $retval URL for starring / unstarring a message.
     
    220226         * Filters the star action link, including markup.
    221227         *
    222          * @since BuddyPress (2.3.0)
     228         * @since 2.3.0
    223229         *
    224230         * @param string $retval Link for starring / unstarring a message, including markup.
     
    231237 * Save or delete star message meta according to a message's star status.
    232238 *
    233  * @since BuddyPress (2.3.0)
     239 * @since 2.3.0
    234240 *
    235241 * @param array $args {
     
    311317 * Screen handler to display a user's "Starred" private messages page.
    312318 *
    313  * @since BuddyPress (2.3.0)
     319 * @since 2.3.0
    314320 */
    315321function bp_messages_star_screen() {
     
    319325     * Fires right before the loading of the "Starred" messages box.
    320326     *
    321      * @since BuddyPress (2.3.0)
     327     * @since 2.3.0
    322328     */
    323329    do_action( 'bp_messages_screen_star' );
     
    329335 * Screen content callback to display a user's "Starred" messages page.
    330336 *
    331  * @since BuddyPress (2.3.0)
     337 * @since 2.3.0
    332338 */
    333339function bp_messages_star_content() {
     
    345351 * Filter message threads by those starred by the logged-in user.
    346352 *
    347  * @since BuddyPress (2.3.0)
     353 * @since 2.3.0
    348354 *
    349355 * @param  array $r Current message thread arguments.
     
    365371 * Action handler to set a message's star status for those not using JS.
    366372 *
    367  * @since BuddyPress (2.3.0)
     373 * @since 2.3.0
    368374 */
    369375function bp_messages_star_action_handler() {
     
    402408 * Bulk manage handler to set the star status for multiple messages.
    403409 *
    404  * @since BuddyPress (2.3.0)
     410 * @since 2.3.0
    405411 */
    406412function bp_messages_star_bulk_manage_handler() {
     
    475481 * The dashicons font is used for the star / unstar icon.
    476482 *
    477  * @since BuddyPress (2.3.0)
     483 * @since 2.3.0
    478484 */
    479485function bp_messages_star_enqueue_scripts() {
     
    489495 * Add the "Add star" and "Remove star" options to the bulk management list.
    490496 *
    491  * @since BuddyPress (2.3.0)
     497 * @since 2.3.0
    492498 */
    493499function bp_messages_star_bulk_management_dropdown() {
     
    504510 * Add CSS class for the current message depending on starred status.
    505511 *
    506  * @since BuddyPress (2.3.0)
     512 * @since 2.3.0
    507513 *
    508514 * @param  array $retval Current CSS classes
Note: See TracChangeset for help on using the changeset viewer.