Skip to:
Content

BuddyPress.org

Changeset 13517


Ignore:
Timestamp:
07/15/2023 05:22:09 AM (3 years ago)
Author:
imath
Message:

Inform about $activities_template usage in some functions inline doc

Props upadalavipul

Fixes #8890

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-blocks.php

    r13108 r13517  
    1717 *
    1818 * @since 9.0.0
     19 *
     20 * @global BP_Activity_Template $activities_template The Activity template loop.
    1921 *
    2022 * @param array $attributes The block attributes.
  • trunk/src/bp-activity/bp-activity-embeds.php

    r13491 r13517  
    129129         *
    130130         * @since 2.6.0
     131         *
     132         * @global BP_Activity_Template $activities_template The Activity template loop.
    131133         *
    132134         * @param  string $content The content to generate an excerpt for.
    … …  
    165167 *
    166168 * @since 2.6.0
     169 *
     170 * @global BP_Activity_Template $activities_template The Activity template loop.
     171 *
    167172 */
    168173function bp_activity_embed_media() {
  • trunk/src/bp-activity/classes/class-bp-activity-oembed-extension.php

    r13436 r13517  
    157157         *
    158158         * @since 2.6.0
     159         *
     160         * @global BP_Activity_Template $activities_template The Activity template loop.
    159161         *
    160162         * @param  int $item_id The activity ID.
  • trunk/src/bp-blogs/bp-blogs-blocks.php

    r13436 r13517  
    1717 *
    1818 * @since 9.0.0
     19 *
     20 * @global BP_Activity_Template $activities_template The Activity template loop.
    1921 *
    2022 * @param array $attributes The block attributes.
    … …  
    7375                }
    7476
    75                 $GLOBALS['activities_template'] = new \stdClass();
     77                $GLOBALS['activities_template'] = new stdClass();
    7678                $activities                     = array();
    7779
  • trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php

    r13504 r13517  
    277277         * @todo This function is too large and needs refactoring and reviewing.
    278278         * @since 3.0.0
     279         *
     280         * @global BP_Activity_Template $activities_template The Activity template loop.
    279281         *
    280282         * @param array $args See bp_nouveau_wrapper() for the description of parameters.
    … …  
    776778         *
    777779         * @since 3.0.0
     780         *
     781         * @global BP_Activity_Template $activities_template The Activity template loop.
    778782         *
    779783         * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
Note: See TracChangeset for help on using the changeset viewer.