Beispiel #1
0
/**
 * Output the description of the current tag
 *
 * @since 2.0.0 bbPress (r3109)
 *
 * @uses bbp_get_topic_tag_description()
 */
function bbp_topic_tag_description($args = array())
{
    echo bbp_get_topic_tag_description($args);
}
Beispiel #2
0
    esc_html_e('Slug:', 'bbpress');
    ?>
</label>
						<input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" value="<?php 
    echo esc_attr(apply_filters('editable_slug', bbp_get_topic_tag_slug()));
    ?>
" />
					</div>

					<div>
						<label for="tag-description"><?php 
    esc_html_e('Description:', 'bbpress');
    ?>
</label>
						<input type="text" id="tag-description" name="tag-description" size="20" value="<?php 
    echo esc_attr(bbp_get_topic_tag_description(array('before' => '', 'after' => '')));
    ?>
" />
					</div>

					<div class="bbp-submit-wrapper">
						<button type="submit" class="button submit"><?php 
    esc_attr_e('Update', 'bbpress');
    ?>
</button>

						<input type="hidden" name="tag-id" value="<?php 
    bbp_topic_tag_id();
    ?>
" />
						<input type="hidden" name="action" value="bbp-update-topic-tag" />