Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Deleting ‘Allowed Markup’ info below posting field

@beernews

Member

Got around to trying this in version 0.9.0.2 / template: bbOrg

I didnt see those files you mentioned but searched a bunch of files and all I found was this strip of code in the includes/template-functions.php file:

function allowed_markup( $args = '' ) {
echo apply_filters( 'allowed_markup', get_allowed_markup( $args ) );
}

// format=list or array( 'format' => 'list' )
function get_allowed_markup( $args = '' ) {
$args = wp_parse_args( $args, array('format' => 'flat') );
extract($args, EXTR_SKIP);

$tags = bb_allowed_tags();
unset($tags['pre'], $tags['br']);
$tags = array_keys($tags);

switch ( $format ) :
case 'array' :
$r = $tags;
break;
case 'list' :
$r = "<ul class='allowed-markup'>nt<li>";
$r .= join("</li>nt<li>", $tags);
$r .= "</li>n</ul>n";
break;
default :
$r = join(' ', $tags);
break;
endswitch;
return apply_filters( 'get_allowed_markup', $r, $format );
}

Would that get rid of the markup stuff underneath the posting area WITHOUT disrupting my BB Code Buttons functionality?

Thanks!

Skip to toolbar