jchristopher / attachments

[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
wordpress.org/extend/plugins/attachments/
GNU General Public License v2.0
239 stars 78 forks source link

Updated how to disable Settings screen in docs #169

Closed tcoukoulis closed 8 years ago

tcoukoulis commented 8 years ago

The documentation in docs/usage.md incorrectly instructs developers to add a method calling the add_filter method inside the wp-config.php file before:

require_once(ABSPATH . 'wp-settings.php');

This results in a fatal error, per my comments in #162. I have edited the line in the documentation to instead define a constant as expected at https://github.com/jchristopher/attachments/blob/master/classes/class.attachments.php#L1826.

jchristopher commented 8 years ago

Thank you!