PluginProbe
Github Embed / 1.6
Github Embed v1.6
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1
← All changes | github-api.php +7 -5 1.51.6 View file →
@@ -1,19 +1,21 @@
1 1 <?php
2 2
3 3
4 4
5 -// 0 - none
5 +// 0 - none.
6 6 define( 'GEDEBUG_NONE', 0 );
7 7
8 -// 1 - call logging only
8 +// 1 - call logging only.
9 9 define( 'GEDEBUG_CALL', 1 );
10 10
11 -// 2 - calls, and responses
11 +// 2 - calls, and responses.
12 12 define( 'GEDEBUG_RESP', 2 );
13 13
14 -// Selected debug level
15 -define( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
14 +// Selected debug level.
15 +if ( ! defined( 'GITHUB_API_LEVEL' ) ) {
16 + define( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
17 +}
16 18
17 19
18 20 /**
19 21 * This class contains all the functions that actually retrieve information from the GitHub API