Skip to content

Commit

Permalink
Standardize user-agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Nov 22, 2024
1 parent 742f39f commit 8160d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/system/class-http.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Http {
* @since 1.0.0
*/
public static function user_agent() {
return TRAFFIC_PRODUCT_NAME . ' (' . Environment::wordpress_version_id() . '; ' . Environment::plugin_version_id() . '; +' . TRAFFIC_PRODUCT_URL . ')';
return 'PerfOps One - ' . TRAFFIC_PRODUCT_NAME . ' / ' . TRAFFIC_VERSION . ' (https://perfops.one/' . TRAFFIC_SLUG . ')';
}

/**
Expand Down

0 comments on commit 8160d43

Please sign in to comment.