Skip to content

Commit

Permalink
Updated link URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 10, 2023
1 parent 747244e commit 296735a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions output/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public static function format_url( $url ) {
/**
* Returns a file path, name, and line number, or a clickable link to the file. Safe for output.
*
* @link https://querymonitor.com/blog/2019/02/clickable-stack-traces-and-function-names-in-query-monitor/
* @link https://querymonitor.com/help/clickable-stack-traces-and-function-names/
*
* @param string $text The display text, such as a function name or file name.
* @param string $file The full file path and name.
Expand Down Expand Up @@ -585,7 +585,7 @@ public static function get_file_link_format() {
/**
* Filters the clickable file link format.
*
* @link https://querymonitor.com/blog/2019/02/clickable-stack-traces-and-function-names-in-query-monitor/
* @link https://querymonitor.com/help/clickable-stack-traces-and-function-names/
* @since 3.0.0
*
* @param string|false $format The format of the clickable file link, or false if there is none.
Expand All @@ -608,7 +608,7 @@ public static function get_file_path_map() {
/**
* Filters the file path mapping for clickable file links.
*
* @link https://querymonitor.com/blog/2019/02/clickable-stack-traces-and-function-names-in-query-monitor/
* @link https://querymonitor.com/help/clickable-stack-traces-and-function-names/
* @since 3.0.0
*
* @param array<string, string> $file_map Array of file path mappings. Keys are the source paths and values are the replacement paths.
Expand Down
2 changes: 1 addition & 1 deletion output/html/logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function output() {
$notice = sprintf(
/* translators: %s: Link to help article */
__( 'No data logged. <a href="%s">Read about logging variables in Query Monitor</a>.', 'query-monitor' ),
'https://querymonitor.com/docs/logging-variables/'
'https://querymonitor.com/wordpress-debugging/profiling-and-logging/'
);
echo $this->build_notice( $notice ); // WPCS: XSS ok.

Expand Down
2 changes: 1 addition & 1 deletion output/html/timing.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function output() {
$notice = sprintf(
/* translators: %s: Link to help article */
__( 'No data logged. <a href="%s">Read about timing and profiling in Query Monitor</a>.', 'query-monitor' ),
'https://querymonitor.com/blog/2018/07/profiling-and-logging/'
'https://querymonitor.com/wordpress-debugging/profiling-and-logging/'
);
echo $this->build_notice( $notice ); // WPCS: XSS ok.

Expand Down

0 comments on commit 296735a

Please sign in to comment.