Closed SteelWagstaff closed 2 years ago
This repo has a pinned dependency: "soberwp/intervention": "1.2.0-p" which uses composer/installers 1. I believe this dependency was used to remove unwanted menu and customizer options: https://github.com/pressbooks/pressbooks-aldine/commit/8bc26d01d8fc8ccb981f84e5bf7049533cac7a3b. 2.0.0-rc-5 includes composer 2 support: https://github.com/darrenjacoby/intervention/blob/7377e42b36780d0c4787b36119524ffac14cc8d4/composer.json#L23. We either want to attempt to update to this version so that we can begin using composer 2 (see https://github.com/darrenjacoby/intervention#updating) or remove the dependency and accomplish these customizations through another method. I think I’d prefer removing the dependency.
To remove customizer items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveCustomizerItems.php
To remove emoji, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveEmoji.php or https://kinsta.com/knowledgebase/disable-emojis-wordpress/
To change Howdy to Hello, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveHowdy.php or https://github.com/pressbooks/pressbooks/commit/f2400e568846b0ab657d8c074218a2e4e5466e4c
To remove dashboard items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveDashboardItems.php
To remove menu items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveMenuItems.php
To remove widgets, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveWidgets.php
To remove Toolbar frontend, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveToolbarFrontend.php
This repo has a pinned dependency: "soberwp/intervention": "1.2.0-p" which uses composer/installers 1. I believe this dependency was used to remove unwanted menu and customizer options: https://github.com/pressbooks/pressbooks-aldine/commit/8bc26d01d8fc8ccb981f84e5bf7049533cac7a3b. 2.0.0-rc-5 includes composer 2 support: https://github.com/darrenjacoby/intervention/blob/7377e42b36780d0c4787b36119524ffac14cc8d4/composer.json#L23. We either want to attempt to update to this version so that we can begin using composer 2 (see https://github.com/darrenjacoby/intervention#updating) or remove the dependency and accomplish these customizations through another method. I think I’d prefer removing the dependency.
To remove customizer items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveCustomizerItems.php
To remove emoji, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveEmoji.php or https://kinsta.com/knowledgebase/disable-emojis-wordpress/
To change Howdy to Hello, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveHowdy.php or https://github.com/pressbooks/pressbooks/commit/f2400e568846b0ab657d8c074218a2e4e5466e4c
To remove dashboard items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveDashboardItems.php
To remove menu items, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveMenuItems.php
To remove widgets, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveWidgets.php
To remove Toolbar frontend, see https://github.com/darrenjacoby/intervention/blob/1.2.0-p/src/Module/RemoveToolbarFrontend.php