Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/02/2011 11:08:51 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Contextual help fixes. Fixes #1657. Props duck_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-topics.php

    r3506 r3583  
    110110
    111111        // Define local variable(s)
    112         $contextual_help = array();
     112        $contextual_help     = '';
     113        $bbp_contextual_help = array();
    113114
    114115        /** New/Edit **********************************************************/
     
    136137
    137138        // Reset
    138         $contextual_help = $bbp_contextual_help = '';
     139        $contextual_help     = '';
     140        $bbp_contextual_help = array();
    139141
    140142        /** Post Rows *********************************************************/
     
    177179
    178180        // Add help
    179         add_contextual_help( bbp_get_topic_post_type(), $contextual_help );
     181        add_contextual_help( 'edit-' . bbp_get_topic_post_type(), $contextual_help );
    180182
    181183        // Reset
    182         $contextual_help = $bbp_contextual_help = '';
     184        $contextual_help = '';
     185        $bbp_contextual_help = array();
    183186
    184187        /** Topic Tags **********************************************************/
     
    200203
    201204        // Add help
    202         global $bbp;
    203205        add_contextual_help( 'edit-' . bbp_get_topic_tag_tax_id(), $contextual_help );
    204206    }
Note: See TracChangeset for help on using the changeset viewer.