wordpoints
wordpoints copied to clipboard
Split the admin/functions.php file
This has grown long and disorganized so that it is difficult to find things. Let's split some groups of functions out into separate files.
Perhaps one file could be for extensions related code, for example. Maybe also one just for the admin notices code.
I've split the scripts out into their own file, since that is a pretty lot of code now. Also the extensions-related stuff.
I've moved the things relating to the PHP requirement checks for the plugin's updates to a new file as well, since they may eventually get deprecated and removed once PHP requirement checks get added to core. (See #40934.)
An Ajax-only file might make sense at some point as well, but right now there would be so little in it that it doesn't really.