19,712 reputation
32260
bio website stephenharris.info
location Edinburgh, United Kingdom
age 26
visits member for 3 years
seen 7 hours ago

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

I develop WordPress plugins, including the event management plugin, Event Organiser. I also write for Wptuts+

Github | Twitter


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.
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
12
revised Get a user's most recent post title
rolled back to a previous revision
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
Aug
29
comment Allow the access over wp-login.php
See also related trac discussion: core.trac.wordpress.org/ticket/19898
Aug
29
comment Allow the access over wp-login.php
possible duplicate of Check if we're on the wp-login page?
Aug
29
answered Translate third party plugin and save translation files in custom theme
Aug
20
comment Why are passwords exportable as plain text in WordPress?
The bug here is a poor UI. It seems wp-members allows you add custom fields to the registration form, including "password" field. What is not (understandably) clear to users is that these added fields are just for collecting meta data, and the "password" refers to the HTML input type alone and is nothing to do with the user's WP password, nor comes with any guarantee of storing it securely.
Aug
14
comment Why WordPress architecture is not pure object oriented and it don't use MVC pattern?
It's an important & good question, but I'm afraid this isn't the place for it. I'm fairly certain all of the core team will be on the wp-hackers mailing list, so I think trying there might be better.
Aug
2
awarded  Announcer