Skip to:
Content

bbPress.org

Changeset 5020


Ignore:
Timestamp:
07/10/2013 03:10:11 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Attributes are optional in the display_topic_form() shortcode. Suppresses debug notice when no attribute is passed, introduced in r5012. See #1649.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/shortcodes.php

    r5012 r5020  
    389389     * @return string
    390390     */
    391     public function display_topic_form( $attr, $content = '' ) {
     391    public function display_topic_form( $attr = array(), $content = '' ) {
    392392
    393393        // Sanity check supplied info
Note: See TracChangeset for help on using the changeset viewer.