Skip to:
Content

bbPress.org

Changeset 3583


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

Contextual help fixes. Fixes #1657. Props duck_

Location:
branches/plugin/bbp-admin
Files:
3 edited

Legend:

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

    r3505 r3583  
    9898
    9999                // Define local variable(s)
    100                 $contextual_help = array();
     100                $contextual_help      = '';
     101                $bbp_contextual_help = array();
    101102
    102103                /** New/Edit **********************************************************/
     
    132133
    133134                // Reset
    134                 $contextual_help = $bbp_contextual_help = '';
     135                $contextual_help     = '';
     136                $bbp_contextual_help = array();
    135137
    136138                /** Post Rows *********************************************************/
  • branches/plugin/bbp-admin/bbp-replies.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 **********************************************************/
     
    135136
    136137                // Reset
    137                 $contextual_help = $bbp_contextual_help = '';
     138                $contextual_help     = '';
     139                $bbp_contextual_help = array();
    138140
    139141                /** Post Rows *********************************************************/
  • 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.