Change media directory to /media/

This commit is contained in:
Ben Word
2013-06-03 17:58:56 -05:00
parent ddb5b7c2bf
commit db13eaddaa
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
### HEAD ### HEAD
* Change media directory from `/assets/` to `/media/`
* Update to Bootstrap 2.3.2 * Update to Bootstrap 2.3.2
* Update to Google Universal Analytics * Update to Google Universal Analytics
* Update to jQuery 1.10.1 * Update to jQuery 1.10.1

View File

@@ -17,7 +17,7 @@ Change permalink structure to `/%postname%/`. This is normally handled from the
### Change uploads folder ### Change uploads folder
Change uploads folder to `/assets/` instead of `/wp-content/uploads/`. This is normally handled from the Media settings. Change uploads folder to `/media/` instead of `/wp-content/uploads/`.
### Create navigation menu ### Create navigation menu

View File

@@ -93,7 +93,7 @@ function roots_theme_activation_options_render_page() { ?>
<option value="false"><?php echo _e('No', 'roots'); ?></option> <option value="false"><?php echo _e('No', 'roots'); ?></option>
</select> </select>
<br> <br>
<small class="description"><?php printf(__('Change uploads folder to /assets/ instead of /wp-content/uploads/', 'roots')); ?></small> <small class="description"><?php printf(__('Change uploads folder to /media/ instead of /wp-content/uploads/', 'roots')); ?></small>
</fieldset> </fieldset>
</td> </td>
</tr> </tr>
@@ -191,7 +191,7 @@ function roots_theme_activation_action() {
update_option('uploads_use_yearmonth_folders', 0); update_option('uploads_use_yearmonth_folders', 0);
if (!is_multisite()) { if (!is_multisite()) {
update_option('upload_path', 'assets'); update_option('upload_path', 'media');
} else { } else {
update_option('upload_path', ''); update_option('upload_path', '');
} }