Changeset 25261
- Timestamp:
- 09/05/2013 06:48:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-info.php
r23567 r25261 51 51 52 52 if ( isset( $_POST['update_home_url'] ) && $_POST['update_home_url'] == 'update' ) { 53 $blog_address = get_blogaddress_by_domain( $_POST['blog']['domain'],$_POST['blog']['path'] );53 $blog_address = esc_url_raw( $_POST['blog']['domain'] . $_POST['blog']['path'] ); 54 54 if ( get_option( 'siteurl' ) != $blog_address ) 55 55 update_option( 'siteurl', $blog_address );
Note: See TracChangeset
for help on using the changeset viewer.