Changeset 139237
- Timestamp:
- 07/25/2009 05:40:15 PM (17 years ago)
- File:
-
- 1 edited
-
comment-saver/trunk/comment-saver.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
comment-saver/trunk/comment-saver.php
r125678 r139237 6 6 Plugin URI: http://wordpress.org/extend/plugins/comment-saver/ 7 7 Author URI: http://willnorris.com/ 8 Version: 1. 38 Version: 1.4 9 9 License: Dual GPL (http://www.fsf.org/licensing/licenses/info/GPLv2.html) and Modified BSD (http://www.fsf.org/licensing/licenses/index_html#ModifiedBSD) 10 10 */ … … 21 21 function comment_saver_cookie_path() { 22 22 $parts = parse_url(get_option('home')); 23 $path = $parts['path'];24 return $path ? $path : '/';23 $path = array_key_exists('path', $parts) ? $parts['path'] : '/'; 24 return $path; 25 25 } 26 26
Note: See TracChangeset
for help on using the changeset viewer.