Improvements to BP_Group_Extension
|Reported by:||boonebgorges||Owned by:||boonebgorges|
This is a master ticket for 1.8 improvements to BP_Group_Extension. Items I plan to look at:
- Setting up and checking nonces automatically, instead of forcing plugin authors to manage it themselves
- Do a better job of checking whether to run display callbacks. Eg, there's no reason why plugin authors should have to check if ( ! bp_is_group_creation_step( $this->slug ) ) before rendering their edit_screen markup.
- The markup requirements on edit_screen() and create_screen() are slightly different, in particular regarding the Submit button. Think about ways this can be made more consistent.
- More intelligent defaults for enable_create_step, etc. Eg, if there's no create_step() method, we can pretty safely assume that enable_create_step should be disabled, at least by default. See also #4785