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.

Dec
13
answered How to add add more properties to WP_Post object in search results loop
Dec
4
awarded Necromancer
Nov
15
awarded Popular Question
Oct
11
awarded Yearling
Oct
11
awarded Yearling
Oct
2
comment Where should i put my php script for ajax implementation in wordpress?
WP handles all ajax requests through admin-ajax.php. The fact that it considers the script to be running in the 'admin' bears no relation to the origin of the request, or even if the user is logged in.
Oct
2
comment Where should i put my php script for ajax implementation in wordpress?
possible duplicate of What's the preferred method of writing AJAX-enabled plugins?
Sep
30
awarded Explainer
Sep
22
answered Heartbeat API long polling
Sep
22
comment Heartbeat API long polling
Long polling isn't used due to unreliability of servers (see discussion in #23216). To clarify, is this a question on how to use the Heartbeat API or implement long-polling?
Sep
17
comment How to modify only part of a function through the filter
Sorry, my mistake. Corrected now. (You need to modify $result and return it).
Sep
17
revised How to modify only part of a function through the filter
added 74 characters in body
Sep
17
comment Enable update notification, disable updates
Really? I use that and I still see the update notification. It tells me to "Please notify the site administrator"
Sep
17
revised How to modify only part of a function through the filter
deleted 26 characters in body
Sep
17
answered How to modify only part of a function through the filter
Sep
16
awarded Autobiographer
Sep
16
awarded Supporter
Aug
29
comment Translate third party plugin and save translation files in custom theme
It changes where WordPress looks for the translation. I'm not sure how Codestyling Localisation works, but if you can download a copy of the .mo file, then you can put it in the appropriate directory.
Aug
29
answered Custom form action hook
Aug
29
comment Check if we're on the wp-login page?
For reference there is related trac discussion here core.trac.wordpress.org/ticket/19898
1 2 3 4 5