Skip to content

Commit e88a064

Browse files
author
Jippe Holwerda
committed
Include PHP version in user agent string.
1 parent bc2c345 commit e88a064

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/docker-functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ run_phantomjs() {
2121
echo "Starting PhantomJS container..."
2222
docker run --name phantomjs \
2323
--link "wordpress$version":wordpress \
24-
-d phantomjs
24+
--detach=false phantomjs
2525
}
2626

2727
run_wordpress() {

src/class-tiny-wp-base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function plugin_version() {
5555
}
5656

5757
public static function plugin_identification() {
58-
return 'Wordpress/' . self::wp_version() . ' Tiny/' . self::plugin_version();
58+
return 'Wordpress/' . self::wp_version() . ' PHP/' . PHP_VERSION . ' Tiny/' . self::plugin_version();
5959
}
6060

6161
protected static function get_prefixed_name($name) {

0 commit comments

Comments
 (0)