178 reputation
315
bio website
location
age
visits member for 4 years, 2 months
seen Aug 12 at 10:57

Mar
29
comment post_date vs. post_modified - what's the difference?
Looks like it doesn't occur on fresh installation.
Mar
28
comment post_date vs. post_modified - what's the difference?
It is a custom post type and it has revisions disabled on it. I look it up in the database by the ID and it is the only one in the list.
Dec
3
comment Is it possible to trigger some JavaScript when Media Popup is opened?
Can you provide an example of how one is supposed to invoke your script (for backbone.js dummies...)
Aug
18
comment What is the way to add additional fields to attachments in 3.5+?
It stopped working, but now I know that it requires additional params to show up. However as I see it operates in compatibility mode and is deprecated in general. Should I assume that there is no way to extend this updated part of WordPress anymore?
Aug
17
comment Adding thumbnails for non-image attachments
There still might be a necessity for such thumbnail. For example video attachments currently do not provide a field for the thumbnail, which is a drawback, to say at least.
Oct
10
comment How can I determine if a post has an image attachment?
Does it understand it without slash and image format identifier?
Aug
2
comment Easy way to inject js in tinymce iframe?
Yes it has. Whole editor area is an iframe.
Aug
2
comment How to manually activate user in dashboard only by admin
There's no such feature in WordPress itself, so probably you will require some plugin (community one or self-written). +1
Jan
8
comment Apply Classes to post text inside editor
This used to work for me too, but now it's not :|
Oct
22
comment How do I programmatically set default role for new users?
I will mark your one as correct, although real answer turned out to be as simple as update_option('default_role', 'custom_role_name') upon activation of the plugin.
Oct
3
comment Disable revisions for a specific post type only?
Actually it turned out that it is disabled by default... so.
Mar
1
comment Is there a quick way to inject i18n domain into theme/plugin files?
MY_TEXTDOMAIN tip looks handy, thanks. Although I definitely remember there was some script for this.
Feb
5
comment wp_schedule_event will it run if timestamp has passed?
Thanks for the link.
Feb
3
comment Add SideBar/Widgets Just Below the Post
Hmm... right. But anyway... it is the function you actually need. I updated example.
Feb
3
comment wp_schedule_event will it run if timestamp has passed?
What does ALTERNATE_WP_CRON do?
Feb
3
comment wp_schedule_event will it run if timestamp has passed?
Have you ever encountered a case of it not triggering?