diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php
index 5d7483c5d8..f2be9f0579 100644
|
a
|
b
|
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : |
| 112 | 112 | ?> |
| 113 | 113 | <tr> |
| 114 | 114 | <th scope="row"><label for="upload_path"><?php _e( 'Store uploads in this folder' ); ?></label></th> |
| 115 | | <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr( get_option( 'upload_path' ) ); ?>" class="regular-text code" /> |
| | 115 | <td><input name="upload_path" type="text" id="upload_path" value="<?php form_option( 'upload_path' ); ?>" class="regular-text code" /> |
| 116 | 116 | <p class="description"> |
| 117 | 117 | <?php |
| 118 | 118 | /* translators: %s: wp-content/uploads */ |
| … |
… |
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : |
| 124 | 124 | |
| 125 | 125 | <tr> |
| 126 | 126 | <th scope="row"><label for="upload_url_path"><?php _e( 'Full URL path to files' ); ?></label></th> |
| 127 | | <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option( 'upload_url_path' ) ); ?>" class="regular-text code" /> |
| | 127 | <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php form_option( 'upload_url_path' ); ?>" class="regular-text code" /> |
| 128 | 128 | <p class="description"><?php _e( 'Configuring this is optional. By default, it should be blank.' ); ?></p> |
| 129 | 129 | </td> |
| 130 | 130 | </tr> |