[wp-trac] [WordPress Trac] #33741: Remove references to my-hacks.php and the hack_file option

WordPress Trac noreply at wordpress.org
Fri Sep 25 08:22:13 UTC 2015


#33741: Remove references to my-hacks.php and the hack_file option
--------------------------+-----------------------
 Reporter:  bobbingwide   |       Owner:  jorbin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.4
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by bobbingwide):

 So where do we stand on this?
 As I said previously. I don't support adding hack_file into the
 $unusedoptions array since it could break someone else's code.

 hack_file=0 my-hacks=N -> OK

 hack_file=0 my-hacks=Y -> dormant file as far as core is concerned, but
 could be loaded some other way
 Deleting the file could break someone's code.

 hack_file=other my-hacks=N -> Deleting the option could break someone's
 code.

 hack_file=other my-hacks=Y -> How long have they been ignoring the
 deprecated message?
 Deleting the code could break someone's code... but that was the whole
 point of the deprecated file message.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33741#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list