MW Latest Tweet 1.1b2
Published 15 years, 11 months pastNow available: MW Latest Tweet 1.1b2. The only real difference between this version and the previous is better auto-link routines, thanks largely to a PHP4-ified version of Joseph Scott‘s recently released MakeItLink PHP class. I tightened up some related code as well, thanks to my newfound understanding of just what the heck a “callback function” actually does, and how it can be useful. And anonymous functions, too!
Also, there is an “enter debug mode” link at the bottom of the administrative panel for the plugin. It’s very cleverly matched with an “exit debug mode” link when you’re in debug mode. These links do just what they sound like they should do. Debug mode itself, introduced in the previous beta, is unchanged (except maybe cosmetically).
In case anyone’s interested in seeing how I use the text-replacement strings on meyerweb, here’s what I have in that textarea
, formatted slightly for readability:
<div class="panel">
<h4>Recently Tweeted</h4>
<p class="more">
<a href="http://twitter.com/%%USER_SCREEN_NAME%%">see more</a>
</p>
<p>
%%TEXT%% <small>–tweeted %%CREATED_AT%%</small>
</p>
</div>
There were some reports of incompatibility between this plugin and early WordPress 2.7 betas. Word is it’s working fine with the latest beta. I probably won’t fix any incompatibilities until 2.7 final ships, but if anyone spots something they absolutely know will be a problem in 2.7 final, let me know. Thanks!