1,356 reputation
619
bio website moraleida.me
location Rio de Janeiro, Brazil
age 31
visits member for 3 years, 4 months
seen Dec 18 at 12:27
/**
* Handyman Developer - WordPress Enthusiast
* Website: http://moraleida.me
* Email: ricardo [ at ] moraleida.me
* Tweet me @moraleida
*
* 
*/

Dec
12
comment Why doesn't the WordPress Importer update posts?
I'm aware of the dangers of ovewriting by default. What intrigues me is the fact that there isn't a hook to allow for that. Makes me wonder if it was just a decision-not-options design or if there's any hidden gotchas that could creep from that sort of repurposing. As I commented on the other answer, this is indeed an issue of moving content around environments, but from dev to staging to production, which makes a sync impossible. The other way around is obviously much simpler.
Dec
11
comment insert image with custom post type
they probably have some documentation for this, but if all else fails, this plugin should help you find it: wordpress.org/plugins/database-peek
Dec
11
comment Why doesn't the WordPress Importer update posts?
I'm actually looking for a solution to migrate data from staging to production in the least messiest way, so it seemed like a good idea to use the "native" plugin. Also seems likely that they thought it over before closing the door on updating posts, so I just want to measure how deep I'll need to go into this to be able to use it.
Aug
17
comment Reject upload of wrong-sized images using the Media Uploader
Yes, this is what i am already doing to validate filenames and svg properties. What I need right now is a way to pass another parameter to that ( or another ) filter, indicating which field is being populated by that upload so that I can apply different restrictions for different fields. This is actually on hold right now. I'll update the question later on with my findings.
Aug
6
comment Reject upload of wrong-sized images using the Media Uploader
I was working on it yesterday, exploring the (rather poorly documented) core js but didn't go much further. Will probably get back to it tomorrow, then I can paste some code. Would love to get this done :)
Aug
6
comment Unattaching unlinked images
@Arkuen what do you mean by "some images are taken out" ? Is that a gallery that you manage? Or are they loose links on the editor textarea that you manually delete?
Aug
6
comment Unattaching unlinked images
have you seen this: wordpress.stackexchange.com/a/88104/7890 ? Should get you going.
Aug
6
comment Unattaching unlinked images
can't you upload the images using the Media -> Add New menu? This way they'll never be attached.
Aug
5
comment wp-admin/admin-ajax.php returns 404
are you accessing those URLs directly? they're not meant for that
Aug
4
comment Reject upload of wrong-sized images using the Media Uploader
Yeah, I've done something like this before, in the days of the Flash Uploader. I was going for a cleaner way this time, but it just might not be possible. Will look into that, thanks!
Jul
30
comment infinite scroll not working when logged out
hadn't even seen that. Good catch :)
Jul
30
comment Items By Group added to custom post type
have a go at it and come back to tell us if it worked out
Jul
30
comment Is there a way for a plugin to add an attribute to the <html> tag of a theme?
glad to help out!
Jul
30
comment Items By Group added to custom post type
It's not really clear where you're having difficulties. Is it the ajax call?
Jul
29
comment Getting a peer review for my new plugin?
4 years later... did you ever get to release those plugins? The gists suggest they're still half-way, but it still seems like a good idea.
Dec
4
comment Upload images from one site to another in Multisite
Hum... this is an old question, from before the media upload change in 3.5, so I'm not sure this answer works on the new HTML5 uploader. Anyway, the uploader variable there was actually the base url for media-upload.php, so that would translate to "example.com/wp-admin/media-upload.php"
Feb
25
comment Default Image Link Removal
Sorry about that, I completely misread your answer...
Feb
21
comment Default Image Link Removal
Don't ever edit core files. The changes will be lost the minute you update WordPress.
Nov
27
comment wp_update_post() doesn't update post_status?
Right you are, brother @brasofilo. I'll post it here shortly. :)
Oct
9
comment wp_update_post() doesn't update post_status?
Yes, i'm doing it as an network admin, and also as a "custom" user role.