├── CHANGES.md ├── README.md ├── LICENSE └── http-debug-info.php /CHANGES.md: -------------------------------------------------------------------------------- 1 | #### 0.4 / 2017-05-21 2 | * moved display link to right 3 | 4 | #### 0.3 / 2017-03-08 5 | * added remaining data to display 6 | * skip display of anything from host webserver 7 | 8 | #### 0.2 / 2017-03-07 9 | * modified display to use `
` tags instead of `var_dump`
10 | 
11 | #### 0.1 / 2017-03-06
12 | * initial commit
13 | 


--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
 1 | # HTTP Debug Info
 2 | * Contributors: [Andy Fragen](https://github.com/afragen)
 3 | * Tags: debug, http
 4 | * Requires at least: 3.8
 5 | * Requires PHP: 5.3
 6 | * Tested up to: 4.7
 7 | * Stable tag: master
 8 | * License: MIT
 9 | 
10 | Display results of hook `http_api_debug` in thickbox.
11 | 
12 | Ignores any calls from _wordpress.org_ and from your webserver host.
13 | 
14 | Doesn't display for AJAX calls.
15 | 


--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
 1 | MIT License
 2 | 
 3 | Copyright (c) 2017 Andy Fragen
 4 | 
 5 | Permission is hereby granted, free of charge, to any person obtaining a copy
 6 | of this software and associated documentation files (the "Software"), to deal
 7 | in the Software without restriction, including without limitation the rights
 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 | 
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 | 
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 | 


--------------------------------------------------------------------------------
/http-debug-info.php:
--------------------------------------------------------------------------------
 1 | 
22 | 	
' ); 27 | print_r( '
' . 'Request Class:' . "\n" . json_encode( $class, 128 | 64 ) . '
' ); 28 | print_r( '
' . 'Request URL:' . "\n" . json_encode( $url, 128 | 64 ) . '
' ); 29 | print_r( '
' . 'Request Args:' . "\n" . json_encode( $args, 128 | 64 ) . '
' ); 30 | print_r( '
' . 'Request Response:' . "\n" . json_encode( $response, 128 | 64 ) . '
' ); 31 | ?> 32 |

33 | 34 | 35 | View HTTP Debug content! 36 |
37 |