My solution provides an equal opportunity for users to write poorly-written code or well-written code. Yes, the solution itself is a dirty fix, but that doesn't mean the code within the solution is inherently poorly-written. I'm not saying my solution is ideal or elegant by any means--I'm only saying a dirty fix is better than no fix, and the end justifies the means.<br>
<br>And yes, my own implementations rely heavily on regex, but the same functionality can be achieved with simple string matching. In other words, there's a big difference between "finding a string within a predictable output string" and "parsing HTML." The article you cited also notes this distinction.<br>
<br><br><br><br><br><div class="gmail_quote">On Sat, Jul 2, 2011 at 7:38 PM, scribu <span dir="ltr"><<a href="mailto:mail@scribu.net">mail@scribu.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, Jul 3, 2011 at 3:22 AM, Darren Slatten <span dir="ltr"><<a href="mailto:darrenslatten@gmail.com" target="_blank">darrenslatten@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My solution provides <b>additional functionality</b> to compensate for poorly-written or outdated plugins and instances where WP core falls short.</blockquote></div><div><br>Your solution requires writing more poorly-written code that parses raw HTML (most probably using regex*), instead of using the API. That's the problem.<br>
</div></div><br>* <a href="http://www.codinghorror.com/blog/2009/11/parsing-html-the-cthulhu-way.html" target="_blank">http://www.codinghorror.com/blog/2009/11/parsing-html-the-cthulhu-way.html</a><br><font color="#888888"><br>
-- <br><a href="http://scribu.net" target="_blank">http://scribu.net</a><br>
</font><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>