Skip to:
Content

BuddyPress.org

Ticket #8890: 8890-bp-blogs-template.diff

File 8890-bp-blogs-template.diff, 1.8 KB (added by viralsampat, 3 years ago)
  • src/bp-blogs/bp-blogs-template.php

    diff --git a/src/bp-blogs/bp-blogs-template.php b/src/bp-blogs/bp-blogs-template.php
    index 6733bb35f..41dcad5ba 100644
    a b function bp_blog_avatar( $args = '' ) { 
    338338         *     @type bool     $html          Default: true.
    339339         * }
    340340         * @return string User avatar string.
     341         *
     342         * @global BP_Blogs_Template $blogs_template The main blog template loop class.
    341343         */
    342344        function bp_get_blog_avatar( $args = '' ) {
    343345                global $blogs_template;
    function bp_blog_name() { 
    503505         * Return the name of the current blog in the loop.
    504506         *
    505507         * @return string The name of the current blog in the loop.
     508         *
     509         * @global BP_Blogs_Template $blogs_template The main blog template loop class.
    506510         */
    507511        function bp_get_blog_name() {
    508512                global $blogs_template;
    function bp_blog_id() { 
    531535         * @since 1.7.0
    532536         *
    533537         * @return int ID of the current blog in the loop.
     538         *
     539         * @global BP_Blogs_Template $blogs_template The main blog template loop class.
    534540         */
    535541        function bp_get_blog_id() {
    536542                global $blogs_template;
    function bp_blog_description() { 
    563569         * Return the description of the current blog in the loop.
    564570         *
    565571         * @return string Description of the current blog in the loop.
     572         *
     573         * @global BP_Blogs_Template $blogs_template The main blog template loop class.
    566574         */
    567575        function bp_get_blog_description() {
    568576                global $blogs_template;
    function bp_blog_last_active( $args = array() ) { 
    642650         *                               Default: true.
    643651         * }
    644652         * @return string Last active date.
     653         *
     654         * @global BP_Blogs_Template $blogs_template The main blog template loop class.
    645655         */
    646656        function bp_get_blog_last_active( $args = array() ) {
    647657                global $blogs_template;