Skip to:
Content

BuddyPress.org

Ticket #8890: 8890.7.patch

File 8890.7.patch, 3.3 KB (added by upadalavipul, 3 years ago)

Few more files in improve various globals documentation.

  • src/bp-activity/bp-activity-blocks.php

     
    1616 * Callback function to render the Latest Activities Block.
    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.
    2123 * @return string           HTML output.
  • src/bp-activity/bp-activity-embeds.php

     
    128128         * Generates excerpt for an activity embed item.
    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.
    133135         * @return string
     
    164166 * Outputs the first embedded item in the activity oEmbed template.
    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() {
    169174        // Bail if oEmbed request explicitly hides media.
  • src/bp-activity/classes/class-bp-activity-oembed-extension.php

     
    156156         * Sets a custom <blockquote> for our oEmbed fallback HTML.
    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.
    161163         * @return string
  • src/bp-blogs/bp-blogs-blocks.php

     
    1616 * Callback function to render the Recent Posts Block.
    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.
    2123 * @return string           HTML output.
  • src/bp-templates/bp-nouveau/includes/activity/template-tags.php

     
    276276         *
    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.
    281283         * @return array      Activity action buttons used into an Activity Loop.
     
    783785         * Get the action buttons for the activity comments
    784786         *
    785787         * @since 3.0.0
     788         *
     789         * @global BP_Activity_Template $activities_template The Activity template loop.
    786790         *
    787791         * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters.
    788792         *