Changeset 10001
- Timestamp:
- 07/03/2020 03:43:53 AM (6 years ago)
- File:
-
- 1 edited
-
sites/trunk/common/includes/slack/trac/ticket.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/slack/trac/ticket.php
r8176 r10001 68 68 $this->id 69 69 ); 70 $contents = @file_get_contents( $url ); 70 71 $context = stream_context_create( array( 72 'http' => array( 73 'user_agent' => 'WordPress.org Trac:Slack Notifications' 74 ) 75 ) ); 76 77 $contents = @file_get_contents( $url, false, $context ); 71 78 if ( $contents === false ) { 72 79 $this->data = false;
Note: See TracChangeset
for help on using the changeset viewer.