PressForward is a free plugin that provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web.
GNU Affero General Public License v3.0
120
stars
21
forks
source link
Modules should not save to the database on every admin page load #1146
The
PF_Modal
base class calls themodule_setup()
method onadmin_init
: https://github.com/PressForward/pressforward/blob/c4e4e572cd7710dd78a1e03fe95374426db94e5a/includes/module-base.php#L57Each module's
module_setup()
then callsupdate_option()
: https://github.com/PressForward/pressforward/blob/c4e4e572cd7710dd78a1e03fe95374426db94e5a/modules/comments/comments.php#L44We should not do this.