title( __('Request', 'debug-bar') ); } function prerender() { $this->set_visible( ! is_admin() ); } function render() { global $wp; echo "
"; if ( empty($wp->request) ) $request = 'None'; else $request = $wp->request; echo '

Request:

'; echo '

' . esc_html( $request ) . '

'; if ( empty($wp->query_string) ) $query_string = 'None'; else $query_string = $wp->query_string; echo '

Query String:

'; echo '

' . esc_html( $query_string ) . '

'; if ( empty($wp->matched_rule) ) $matched_rule = 'None'; else $matched_rule = $wp->matched_rule; echo '

Matched Rewrite Rule:

'; echo '

' . esc_html( $matched_rule ) . '

'; if ( empty($wp->matched_query) ) $matched_query = 'None'; else $matched_query = $wp->matched_query; echo '

Matched Rewrite Query:

'; echo '

' . esc_html( $matched_query ) . '

'; echo '
'; } }