Changeset 50842 for trunk/src/wp-includes/Requests/Auth/Basic.php
- Timestamp:
- 05/11/2021 07:40:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/Auth/Basic.php
r46586 r50842 54 54 * @param Requests_Hooks $hooks Hook system 55 55 */ 56 public function register(Requests_Hooks &$hooks) {57 $hooks->register('curl.before_send', array( &$this, 'curl_before_send'));58 $hooks->register('fsockopen.after_headers', array( &$this, 'fsockopen_header'));56 public function register(Requests_Hooks $hooks) { 57 $hooks->register('curl.before_send', array($this, 'curl_before_send')); 58 $hooks->register('fsockopen.after_headers', array($this, 'fsockopen_header')); 59 59 } 60 60
Note: See TracChangeset
for help on using the changeset viewer.