22,765 reputation
22551
bio website gm.zoomlab.it
location Italy
age 32
visits member for 1 year, 10 months
seen 14 mins ago

WordPress swearer, verbose PHP developer.

In this moment I'm probably complaining about WordPress while coding WordPress plugins.

Despite all your rages I don't like cats nor Star Trek. And I hate gifs.

I'm developer of Brain Project, a collection of packages for a modern OOP development in WordPress.


On Twitter


smarterer


May
26
comment No Error Log File, no debug info
You said "the end of my wp-config.php"... Is it literally the end? Constants definition goes before the line require_once(ABSPATH . 'wp-settings.php'); or it does nothing...
May
25
comment Why not register shortcodes if is_admin dashboard?
Not registering shortcode has close to zero impact in performance. Registering just adds a variable to an array. What is possibly slow is to perform the shortcode, not to register it. So if it's a performace optimizazion, it's a failing one. If the plugin author want to disable shortcode for ajax, checking for is_admin is doing_it_wrong there're far better ways in WP to check for ajax requests. Finally, if plugin enqueues js/css, if it does it well (using 'wp_enqueue_scripts' action) it will not affect admin pages because that hook is not fired in admin pages.
May
25
reviewed Close Get Gravity Forms field values and count how many?
May
25
reviewed Leave Open Problem with Duplicate Meta / tag description in Webmaster Tool
May
25
reviewed Leave Open There's an image named g.gif somewhere in my WordPress site
May
25
reviewed Close phpexcel function not passing variables
May
25
reviewed Close Version 3.1.3 to 4.2.2: Exporting old DB and importing new User/Admin credentials
May
25
reviewed Close 's' term in WP_Query extended class causes huge memory leak (268MB)
May
25
reviewed Leave Open Get post attached in sequence
May
25
reviewed Close Posts 2 Posts Plugin - When saving connection, can it also set the connected post as draft and/or add taxonomy?
May
25
reviewed Close Dropdown Menu Widget Plugin Links not Clickable
May
25
reviewed Close Set widget class & page assignment in theme options
May
25
revised Why not register shortcodes if is_admin dashboard?
added 27 characters in body
May
24
answered Why not register shortcodes if is_admin dashboard?
May
15
answered Callback URL in WordPress
May
15
comment Acf Pro repeater field returns null
Thanks to share here :)
May
8
revised Query Multiple Post types each with own meta query
deleted 28 characters in body
May
8
answered Query Multiple Post types each with own meta query
May
8
comment Is there a JavaScript API? How to access public and private data in JS?
@stackoverclan AJAX entry-point is slow because it loads whole WordPress environment. But so does the WP API, so you don't get perf benefit with that. On the countrary, using SHORTINIT you can make ajax a lot faster. Do the same with WP API would be much harder. Btp, do you what a real snappy app? Tip: don't use WordPress.
May
6
comment Can I store my custom comment_type into wp_comments table?
Don't have time to see how it was before, if you just added 'comment_approved' than yes, I think is better to revert, otherwise just delete that line @MayeenulIslam