[wp-hackers] Passing Key but Not Value?

Guy wphax at nullamatix.com
Tue Sep 28 15:27:04 UTC 2010


y0,

The following snippet of code exists in my theme's functions.php. The
code works as intended with the exception of the Value in arr_tmp. The
idea is to scan the_content for a list of defined acronyms and replace
the acronym in the_content with: <acronym title="The Acronym
Title">TAT</acronym>. Seems simple enough, but the title="" just isn't
showing up...

What am I missing/doing wrong here? Obviously I'm not a developer,
just pretend to be on TV :P

Code:
http://sprunge.us/ZEVY?php

Regards,

Guy


More information about the wp-hackers mailing list