[wp-trac] [WordPress Trac] #18355: Request to include 'object' in $default_no_texturize_tags of formatting.php - or more sophisticated formatting
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 8 17:33:10 UTC 2011
#18355: Request to include 'object' in $default_no_texturize_tags of formatting.php
- or more sophisticated formatting
-----------------------------+------------------------------
Reporter: creacog | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.1.2
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by scribu):
I think it makes sense anyway. No point in wasting time texturizing text
that the user won't see.
But, there's also a filter for adding whatever tag you want, without
modifying core:
{{{
no_texturize_objects( $tags ) {
$tags[] = 'object';
return $tags;
}
add_filter( 'no_texturize_tags', 'no_texturize_objects' );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18355#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list