The Faulty Edit Link

Granted, this issue is far from what I had envisioned blogging about when I decided to start this Gothic design blog, although it might generate a bit more traffic.
Those reading the comments on previous posts might have noticed the static word (Edit) appearing after each line of comment information.

Yesterday's comments
Scrolling around other WordPress supported blogs running the zBench theme, I gathered this appears to be a common bug. The blogs not affected by this seem to be running a slightly older version of WordPress than the one I currently have installed. Because I didn’t manage to find a solution on the web I had a quick look at the code and it actually turned out to be quite the easy fix.

The function call for the administrator-only comment-edit link seems to be formatted for an earlier version of the WP script, using a slightly different set of arguments. Replacing <?php edit_comment_link(_e(‘(Edit)’,’zbench’),’  ‘,”) ?> on line 65 of the Theme Functions template, using the WP Theme Editor, by <?php edit_comment_link( __( ‘(Edit)’, ‘zbench’), ‘ ‘ ); ?> corrects this issue and makes the zBench edit-comment-link function the same way the link from the standard theme does.

Frankly, I have to say I am surprised to see so many blogs running with that blatant bug. Are so many blog-owners not able to devise this small fix themselfs; or do they just not notice or care enough to ask for support ?

2 Comments.

  1. What a cunning way to show off your hidden talents!