Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bw_trace_url_link output doesn't show up in some scenarios #119

Open
bobbingwide opened this issue Oct 18, 2024 · 0 comments
Open

bw_trace_url_link output doesn't show up in some scenarios #119

bobbingwide opened this issue Oct 18, 2024 · 0 comments

Comments

@bobbingwide
Copy link
Owner

In s.b/officialcaravan the hooks attached to shutdown are as below.

: 0   bw_trace_attached_hooks;9 WC_Cart_Session::maybe_set_cart_cookies;1
: 1   wp_ob_end_flush_all;1
: 10   Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackâ“¥13_9\al3_1_0\Shutdown_Handler;1 Jetpack::push_stats;1 bw_trace_plugin_loaded_report;1 bw_trace_included_files;1 bw_trace_saved_queries;1 bw_trace_output_buffer;1 bw_trace_functions_traced;1 bw_trace_status_report;1 bw_trace_url_link;1 wc_webhook_execute_queue;1 WC_Post_Data::do_deferred_product_sync;1 WC_Cache_Helper::delete_transients_on_shutdown;1 Closure;1 Automattic\Jetpack\Connection\Package_Version_Tracker::maybe_update_package_versions;1 Yoast_Notification_Center::update_storage;1 WPSEO_Sitemaps_Cache::clear_queued;1 WC_Customer::save;1 WC_Admin_Notices::store_notices;1 ActionScheduler_QueueRunner::maybe_dispatch_async_request;1
: 11   OIK_trace_summary::record_vt;1
: 20   Automattic\WooCommerce\Blocks\Assets\Api::update_script_data_cache;1 WC_Session_Handler::save_data;1
: 99   bw_trace_count_report;1
: 9998   Automattic\Jetpack\Sync\Sender::do_sync;1
: 9999   Automattic\Jetpack\Sync\Sender::do_full_sync;1

bw_trace_url_link is being run, but the output doesn't make it to the browser.
Perhaps it should be added with a higher priority than 10.
That will necessitate a parameter change to bw_trace_add_action().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant