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

Clickable URLs in HTTP API for failed GET requests #781

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
36df245
save
crstauf Jul 3, 2023
033558e
Merge branch 'develop' into clickable-get-url
crstauf Jul 5, 2023
4b65369
Merge branch 'develop' into clickable-get-url
crstauf Jul 10, 2023
b31c8d5
Merge branch 'develop' into clickable-get-url
crstauf Jul 27, 2023
4650d15
Merge branch 'develop' into clickable-get-url
crstauf Aug 2, 2023
76b1087
Merge branch 'develop' into clickable-get-url
crstauf Aug 3, 2023
9fc3f66
Merge branch 'develop' into clickable-get-url
crstauf Aug 9, 2023
16f4b61
Merge branch 'develop' into clickable-get-url
crstauf Sep 11, 2023
db2c6b9
Merge branch 'develop' into clickable-get-url
crstauf Oct 17, 2023
d981679
Merge branch 'develop' into clickable-get-url
crstauf Oct 20, 2023
b27a96e
Merge branch 'develop' into clickable-get-url
crstauf Oct 30, 2023
ebb496f
Merge branch 'develop' into clickable-get-url
crstauf Nov 6, 2023
ee82d17
Merge branch 'develop' into clickable-get-url
crstauf Nov 11, 2023
4c07f9f
Merge branch 'develop' into clickable-get-url
crstauf Nov 13, 2023
e7b5e77
Merge branch 'develop' into clickable-get-url
crstauf Dec 20, 2023
85d8dc9
Merge branch 'develop' into clickable-get-url
crstauf Feb 15, 2024
8a9230c
Merge branch 'develop' into clickable-get-url
crstauf May 25, 2024
583a435
Merge branch 'develop' into clickable-get-url
crstauf Jul 27, 2024
e2b4c1d
Merge branch 'develop' into clickable-get-url
crstauf Jul 27, 2024
3a049a0
Merge branch 'develop' into clickable-get-url
crstauf Aug 19, 2024
2b4ba4f
Merge branch 'develop' into clickable-get-url
crstauf Sep 25, 2024
f3a89b1
Merge branch 'develop' into clickable-get-url
crstauf Nov 18, 2024
2b692c2
Merge branch 'develop' into clickable-get-url
crstauf Nov 27, 2024
659ff7f
Merge branch 'develop' into clickable-get-url
crstauf Nov 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions output/html/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public function output() {
esc_html( $row['args']['method'] )
);

if ( $is_error && 'GET' === $row['args']['method'] ) {
$url .= sprintf( ' <a href="%s">%s</a>', esc_url( $row['url'] ), QueryMonitor::icon( 'external' ) );
}

if ( ! empty( $row['redirected_to'] ) ) {
$url .= sprintf(
'<br><span class="qm-warn">%1$s%2$s</span><br>%3$s',
Expand Down