class.json-api-endpoints.php 1 location
|
@@ 1607-1609 (lines=3) @@
|
| 1604 |
|
} |
| 1605 |
|
|
| 1606 |
|
// If the endpoint doesn't exist at the same version, record the max version we found |
| 1607 |
|
if ( empty( $max_version_found ) || version_compare( $max_version_found['version'], $endpoint['max_version'], '<' ) ) { |
| 1608 |
|
$max_version_found = array( 'version' => $endpoint['max_version'], 'regex' => $endpoint_path_regex ); |
| 1609 |
|
} |
| 1610 |
|
} |
| 1611 |
|
} |
| 1612 |
|
|
sal/class.json-api-links.php 1 location
|
@@ 190-192 (lines=3) @@
|
| 187 |
|
} |
| 188 |
|
|
| 189 |
|
// If the endpoint doesn't exist at the same version, record the max version we found |
| 190 |
|
if ( empty( $max_version_found ) || version_compare( $max_version_found['version'], $endpoint['max_version'], '<' ) ) { |
| 191 |
|
$max_version_found = array( 'version' => $endpoint['max_version'], 'regex' => $endpoint_path_regex ); |
| 192 |
|
} |
| 193 |
|
} |
| 194 |
|
} |
| 195 |
|
|