Stephen Harris

Edinburgh, United Kingdom

stephenharris.info

Age: 26

Mathematics PhD student at the University of Edinburgh with a (geeky) passion for anything coding related.

I've recently created a new WordPress Event management plugin, Event Organiser.

1d
reviewed Close Query function not executed between <div> element
2d
accepted Get entered value of customiser field for live preview
Jul
26
awarded Autobiographer
Jul
26
asked Get entered value of customiser field for live preview
Jul
22
revised current_user_can not always working properly
deleted 7 characters in body
Jul
22
answered current_user_can not always working properly
Jul
19
comment Page permalink conflict with Date
I'm not suggesting that you alter the source code, but instead you should create a plug-in for this code. That way, after an update, your changes will not be lost. It's possible that when WordPress updates the patch is either no longer needed or is incompatible. This is unlikely, but is why you need to test code you are using after an update. In this case, there is a trac ticket, but at the time of writing no patch.
Jul
17
awarded Popular Question
Jul
12
comment Get all posts (of any post type) an attachment is used in
One thing we mentioned in chat was that the LIKE statement can be improved to avoid some silly edge cases. E.g. <img src="not-what-you-want.png"> [anything] what-you-want.png"
Jul
11
revised Get all posts (of any post type) an attachment is used in
added 118 characters in body
Jul
11
answered Get all posts (of any post type) an attachment is used in
Jul
2
awarded Curious
Jul
1
comment Turn a URL into an Attachment / Post ID
Can you explain why you query both _wp_attached_file and _wp_attachment_metadata?
Jun
16
awarded Enlightened
Jun
16
awarded Nice Answer
Jun
13
comment How to get the post publish date outside the loop?
@DavidHobs Fixed :)
Jun
13
revised How to get the post publish date outside the loop?
deleted 1 character in body
Jun
12
comment Theme specific plugin, how?
Is this a third-party plug-in? If not, just bundle it into functions.php...
Jun
12
comment Theme specific plugin, how?
If it's so tied to the theme, why not use functions.php?
Jun
10
answered Markdown everywhere?
1 2 3 4 5