2,327 reputation
1029
bio website blog.ashfame.com
location Delhi, India
age 25
visits member for 3 years, 5 months
seen 2 days ago

Developer + Entrepreneur + Opensource fanatic!

Working as Dragon Monk for AnattaDesign. We tackle user experience problems by creating products that fix them. We created Awesome Checkout and My Abandoned Carts.

You can get in touch via Twitter or check out my Github


May
3
comment Creating a user's own folder on user registration
Give us more on your intent & we will suggest you a good implementation
May
3
comment is wpdb->replace() already sanitized?
yeah just keep them to minimum. redudancy comes with the extra overhead of keeping multiple copies in sync. Best would be to just store the post ID and nothing else. And even then if you are going to, just update the row. I don't see the need of replacing the row.
May
3
answered Using shortcodes to communicate my page design
May
3
comment is wpdb->replace() already sanitized?
Just use a post ID in your custom table, no need to keep the data you already have in another table. This is just redundancy.
May
3
answered Wordpress Image uploads plugin needed
May
3
answered is wpdb->replace() already sanitized?
May
3
comment Can a plugin deactivate itself?
Technically speaking, it can but I don't see why someone would build this functionality.
Apr
10
comment Remote login with only the username not working
I would like to know how you are planning to secure this communication without a password. If you don't even have a password, any communication even HTTPS won't help. So post a update here when you figure this out?
Apr
9
comment Programmatically add widgets to sidebars
Monitor the action parameter of ajax call that is made when a widget is added, and then find the code related to that action ajax hook and see how its done in core. Simple! ;)
Apr
9
comment How to remove these fields from the 'Profile' section?
+1 because as far as I can recall removing fields via PHP also stops WordPress from creating blank entries in the usermeta table.
Apr
9
comment Remote login with only the username not working
You are actually making the server on receiving end vulnerable like this, hope this is just an experiment. Ideally you should use XMLRPC API to communicate with other WordPress installs. Write more XMLRPC methods if you need more than the ones available and you are good to go :-)
Dec
16
comment WP 3.3 update disabled editor stylesheet? Or TinyMCE Advanced problem?
Try disabling the plugin once and see if you get the expected behavior. If yes, then the plugin is doing it else WordPress, if only these two have changed since the last time they were working.
Dec
14
accepted Control Custom Post Type template from a plugin
Dec
13
comment get_option() fails to return binary result
Obviously you shouldn't modify serialized data. The only thing you need to change for moving your site is the site URL and home URL. If you want to change the links, then replace them in post content. I guess you were saving local URLs in options somewhere. Remember print_r() & var_dump() are your friends
Dec
13
comment get_option() fails to return binary result
Add more info regarding the actual problem and show how the output differs from your expectations. On a side note, Options API handle serialization and unserialization for you, you need not mess with that. What does var_dump( get_option('magaling_ads_468060_1') ); show?
Dec
11
comment How can I list posts by author?
He simply wants to display lists of authors with a nested list of their posts. And he is adding authors to the navigation menu for a start. Check the second screenshot of this plugin, that's what he wants wordpress.org/extend/plugins/list-posts-by-author/screenshots
Dec
6
comment Find attached images for one post type
Query inside a loop, not a good idea!
Nov
22
answered Control Custom Post Type template from a plugin
Nov
22
revised Control Custom Post Type template from a plugin
removed solution to add as answer
Nov
22
comment Remotely identify the version of a WordPress installation?
Moreover you should be executing on the same server for this to work. Didn't notice that before. lol