Make WordPress Core


Ignore:
Timestamp:
11/18/2015 08:48:24 PM (9 years ago)
Author:
jorbin
Message:

Revert [34291] bringing back my-hacks

Keeping myhacks support is a small price to pay for not breaking people's sites. Even if it is very very very few sites, breaking sites isn't something that should be encouraged. Even with 10 years of deprecation notices.

https://core.trac.wordpress.org/ticket/33741#comment:18 outlines all the ways that the hack_file and my-hacks options can be setup and thus all the ways that the removal of those options could break sites.

Fixes #33741.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r35644 r35688  
    4040    'audio.php' => __('Audio Attachment Template'),
    4141    'application.php' => __('Application Attachment Template'),
     42    'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ),
    4243    '.htaccess' => __( '.htaccess (for rewrite rules )' ),
    4344    // Deprecated files
Note: See TracChangeset for help on using the changeset viewer.