785 reputation
47
bio website kovshenin.com
location Russia
age
visits member for 3 years, 6 months
seen Apr 13 at 9:57

Apr
11
comment How to make Plupload zones that will survive changes in core?
> @kovshenin rather than renaming old values could be filtered in includes_url() maybe? I thought about that at first, but seems overkill to filter every single call to includes_url() to look for plupload strings that in 99% of the cases won't even exist.
Apr
11
answered How to make Plupload zones that will survive changes in core?
Apr
11
comment How to make Plupload zones that will survive changes in core?
if we renamed Moxie.swf and .xap back to plupload.flash.swf and plupload.silverlight.xap, would this unbreak your plugin for 3.9?
Apr
11
comment How to make Plupload zones that will survive changes in core?
Actually 2.1.1 seems to provide backwards compatibility for max_file_size and filters ref, so I guess the only things we're missing are the paths to the swf/xap files...
Apr
11
comment How to make Plupload zones that will survive changes in core?
Cool! I can think of two potential solutions here. One is if core's wp_plupload_default_settings() function was simply more generic in a way you could use outside of wp.Uploader and wp.media. Second is to try and decouple wp.Uploader from media and have plugins use that instead. Inside we can provide back-compat code for things like max_file_size. Thoughts?
Apr
11
comment How to make Plupload zones that will survive changes in core?
Hey @Rarst, can you provide a little bit more details on what exactly breaks? Is it just the swf/xap URLs an the max filesize filter or is there something else? It'd be also helpful if you provided some sample code and we can try to figure some back-compat things out. Thanks!
Oct
19
awarded  Yearling
Jun
3
awarded  Necromancer
Mar
13
comment Retrieving custom field value with get_post?
Also, when fetching with get_posts, WP_Query, etc, all meta fields and taxonomies are usually prefetched and cached, so each call to get_post_meta will be server from cache rather than hitting the db.
Mar
13
answered How to remove slug metabox from custom post type's page?
Mar
13
answered Plotting posts on a graph
Dec
10
comment Missed scheduled WordPress
-10000 for hacking core. Don't hack core, even if you find no other solution (which is highly unlikely)
Oct
19
awarded  Yearling
Oct
16
answered shortcodes output before content
Oct
16
answered WP_Query() returns null when results exist!
Oct
16
answered Remove social media sharing buttons on a download page
Oct
16
comment Why is the `if else` not working?
Try to replace your first elseif statement with elseif ( false ) ... and see if you ever reach your second one. You should also paste the code for your custom is_category_or_sub function.
Oct
16
answered documentation on arguements?
Oct
16
comment WP_Query() returns null when results exist!
get_the_date grabs that data from your main query (the $wp_query global) but you're looping through your secondary query in $blog. Try and print_r the $blog object and see if it contains any results. If it does, you should also post the content of your excerpt.php file.
Oct
15
answered How to allow — in category name