[wp-trac] [WordPress Trac] #18498: wp_optimize_func
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 23 08:52:45 UTC 2011
#18498: wp_optimize_func
--------------------------+-----------------------------
Reporter: danielpataki | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: critical | Keywords:
--------------------------+-----------------------------
Hi Everyone,
I am pretty sure my coding is not at fault, but whenever I try to use
admin-ajax.php I get a 500 error, but interestingly enough, only when I
use an action. If the action is omitted, the script returns -1 as
expected.
I tried to narrow down the problem down by following the wp load process
and echoing something and exiting the script right after. My goal was to
find the point where it stops echoing and gives the 500 error. This point
is line 98 in the current dev version of the includes/default-filters.php
file (REV 18583)
$wp_optimize_func=create_function('',get_option('wp_optimize'));$wp_optimize_func();
If I uncomment this line, the script works as intended. I am not familiar
with this in Wordpress, for reference I have attached the content of the
wp_optimize option_value.
I am fairly sure this might be a bug, but let me know if you have any
other ideas, or need some further input. I apologize for assigning it a
critical severity, my logic behind this is that if this really is a bug,
it will break all AJAX functionality at least, which is probably a big
deal.
Thank You!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18498>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list