Skip to content

Commit 11c24f2

Browse files
committed
Plugin's version is now included in the JSON
1 parent ca3424f commit 11c24f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inc/WPRDiagnoser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ private function set_no_rocket_print_on_footer()
271271
$json = '{ "error": "Server does not seem to have the ability to encode JSON" }';
272272
} else {
273273
$result = [];
274+
$result['wpr_diagnoser_version'] = constant('WPR_DIAGNOSER_VERSION');
274275
$result['wpr_plugin'] = function_exists('get_rocket_option') ? 'active' : 'not-active';
275276
$result['constants'] = $this->get_constants();
276277
$result['preload_rucss_parameters'] = $this->get_preload_rucss_parameters();

0 commit comments

Comments
 (0)