Next 3.0 release “Real Soon Now”
Update: There’s a reason “real soon now” is quoted out. It’s over a month later, and I’m still testing. In Series 3.0.5 will eventually get released, though!
Sorry for all the not-posting I’ve been doing lately; work’s killing me, and I’ve been taking a little break. That said, I have been working on bugs and testing; I’m trying to perfect an issue with the %-tokens needing to expand correctly when used as a value for an HTML attribute (bug 21). I have a mostly-working solution; I just need to hammer out the trickier corner cases (correctly dealing with the case where an expanded token results in another token inside an HTML attribute). Once that’s out of the way, I get to run the full set of tests on all the WordPress versions I’ve got (anyone want to volunteer to help? I’ll provide the test cases, the database, the web server, and everything!). Granted that all the tests pass, I’ll cut 3.0.6, and that should be the last version of 3.0 I’ll need to release for a while.
Oh, and thanks to everyone who gave suggestions for 3.1 features; I appreciate it. :)


8 Responses to “Next 3.0 release “Real Soon Now””
Posted: May 13th, 2007 at 17:57
We’re patiently waiting ;-)
Posted: May 13th, 2007 at 18:05
I’m working on it. I swear. I think I have the replacement problem thoroughly solved; all that’s left is to write up the new testcases, perform the test pass, and hope that there aren’t any more bugs waiting. :)
Posted: May 15th, 2007 at 01:49
I’m looking forward to it. Meanwhile, I believe I’ve discovered a bug of some sort… It appears that InSeries appends the TOC to every post, whether it’s in a series or not (In the source there are two div’s: ). Under normal operation, this doesn’t matter.
However, when viewing part of the series, the_content expands in all posts, even those that are not part of the series. As I have a sideblog (based on excluding a category on the front page, then listing it in the sidebar), where the full posts are shown in the sidebar, the TOC expands in every single post there as well, when viewing an InSeries post.
Example (unfortunately in Swedish):
http://www.henriksjoholm.se/2007/04/17/i-kina/ is the first post in a series about China. When viewing this, you also see the TOC under the posts in the sidebar, heades “Bloggrannar” (blog neighbourhood).
Again, thanks for your great work!
Posted: May 15th, 2007 at 07:21
@Henrik
Are you using a plugin to accomplish this? If so, can you provide a link to it? I need to understand how that page is generated in order to figure out what’s going on. In Series uses
get_the_ID()(if present) or$post->ID(if not) to figure out the current post, then does a reverse-lookup to figure out which series data should be inserted. This lookup happens every timethe_content()is called, so my first inclination would be that the source is somehow abusing or circumventing “The Loop” to get its results.Thanks for the report. :)
Posted: May 15th, 2007 at 13:14
Thanks for the response.
Yes, actually, I’m using to plugins to accomplish this:
First, “customizable post listings” (http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/) to generate a listing.
Secondly, it’s embedded in one of my favorites - “widgetize anything” (http://www.erik-rasmussen.com/blog/2006/11/30/widgetize-anything/).
The actual code within the widget:
echo ‘<ul><li><a href=”/category/sideblog”>Arkiv</a>:</li>:</ul>:’;
echo ‘<div id=”sidoblogg”>:<ul>:’;
c2c_get_recent_posts(5,$format = “<li>:<h3>:%post_title%</h3>: %post_content%<p>: (%post_date%)</p>:</li>:”,$categories = ‘17′);
echo ‘</ul>:</div>:’;
(not sure whether this will display correctly, but hopefully it’ll be enough to grasp the general idea).
Posted: May 16th, 2007 at 00:37
As it didn’t show up correctly, here’s another attempt:
echo ‘<ul><li><a href=”/category/sideblog”>Arkiv</a></li></ul>’;
echo ‘<div id=”sidoblogg”><ul>’;
c2c_get_recent_posts(5,$format = “<li><h3>%post_title%</h3> %post_content%<p> (%post_date%)</p></li>”,$categories = ‘17′);
echo ‘</ul></div>’;
Posted: May 16th, 2007 at 06:30
@Henrik
The Customizable Post Listings plugin only sets
$post; it does not set all of the other global values (among them$id, which is whatget_the_IDuses) used by “The Loop.” Any plugin that uses the WordPress template tags (including In Series) is going to choke in one way or another when Customizable Post Listings callsapply_filtersdirectly.Posted: May 16th, 2007 at 07:13
@Henrik
And just so I’m not leaving you in the cold, the problem should be solvable with a call to
setup_postdata($post), which will set up all the other bits required to make “The Loop” switch over to the new post. It’s a two-line change; I’ve sent you a copy via e-mail.