Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/15/2015 06:07:35 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Always predefine $args as an array, for code consistency across all components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/template.php

    r5770 r5802  
    23662366 * @uses bbp_get_topic_tag_list() To get the topic tag list
    23672367 */
    2368 function bbp_topic_tag_list( $topic_id = 0, $args = '' ) {
     2368function bbp_topic_tag_list( $topic_id = 0, $args = array() ) {
    23692369    echo bbp_get_topic_tag_list( $topic_id, $args );
    23702370}
     
    23812381     * @return string Tag list of the topic
    23822382     */
    2383     function bbp_get_topic_tag_list( $topic_id = 0, $args = '' ) {
     2383    function bbp_get_topic_tag_list( $topic_id = 0, $args = array() ) {
    23842384
    23852385        // Bail if topic-tags are off
Note: See TracChangeset for help on using the changeset viewer.