Changeset 47733 for trunk/src/wp-includes/SimplePie/Net/IPv6.php
- Timestamp:
- 05/01/2020 02:24:42 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/SimplePie/Net/IPv6.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/SimplePie/Net/IPv6.php
r22798 r47733 6 6 * Takes the hard work out of managing a complete RSS/Atom solution. 7 7 * 8 * Copyright (c) 2004-201 2, Ryan Parman, GeoffreySneddon, Ryan McCue, and contributors8 * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors 9 9 * All rights reserved. 10 10 * … … 34 34 * 35 35 * @package SimplePie 36 * @version 1.3.1 37 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue 36 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue 38 37 * @author Ryan Parman 39 * @author GeoffreySneddon38 * @author Sam Sneddon 40 39 * @author Ryan McCue 41 40 * @link http://simplepie.org/ SimplePie … … 55 54 * @author elfrink at introweb dot nl 56 55 * @author Josh Peck <jmp at joshpeck dot org> 57 * @author GeoffreySneddon <geoffers@gmail.com>56 * @author Sam Sneddon <geoffers@gmail.com> 58 57 */ 59 58 class SimplePie_Net_IPv6 … … 175 174 return implode(':', $ip_parts); 176 175 } 177 else 178 { 179 return $ip_parts[0]; 180 } 176 177 return $ip_parts[0]; 181 178 } 182 179 … … 202 199 return array($ipv6_part, $ipv4_part); 203 200 } 204 else 205 { 206 return array($ip, ''); 207 } 201 202 return array($ip, ''); 208 203 } 209 204 … … 255 250 return true; 256 251 } 257 else 258 { 259 return false; 260 } 252 253 return false; 261 254 } 262 255
Note: See TracChangeset
for help on using the changeset viewer.