Mar 6, 2009 0
wp-Hyphenate WordPress Plugin
wp-Hyphenate 1.07 beta
GigPress 1.4.5
I have a site that uses GigPress and in order to get it to embed its own code you need to insert a [gigpress_upcoming] (or similar) code into the page. However, when wp-Hyphenate is activated it seems GigPress gets skipped and the string literal “[gigpress_upcoming]” gets regurgitated onto the page.
Update: It is indeed a known problem by the developer who quickly got in touch with me and informed me that it’s fixed in the upcoming release. If this is actually bugging you and you need a quick fix you need to edit wp-content/plugins/wp-hyphenate/wp-hyphenate.php
around line 94. Change:
[sourcecode language=’php’]
add_filter(‘category_description’, ‘hyph_preProcess’, 10);
add_filter(‘comment_text’, ‘hyph_preProcess’, 10);
add_filter(‘the_content’, ‘hyph_preProcess’, 10);
add_filter(‘the_excerpt’, ‘hyph_preProcess’, 10);
add_filter(‘the_title’, ‘hyph_title’, 10);
[/sourcecode]
to
[sourcecode language=’php’]
add_filter(‘category_description’, ‘hyph_preProcess’, 9999);
add_filter(‘comment_text’, ‘hyph_preProcess’, 9999);
add_filter(‘the_content’, ‘hyph_preProcess’, 9999);
add_filter(‘the_excerpt’, ‘hyph_preProcess’, 9999);
add_filter(‘the_title’, ‘hyph_title’, 9999);
[/sourcecode]
Which forces wp-Hyphenate to do its duty last.