Implementation: User editor
sc0ttkclark opened this issue · 4 comments
- Sections = Headings
- Display sections and their fields in user editor form, below contact fields
- Save handling in editor
- Pull values for fields based on user currently being editted
- Merge existing user editor fields into implementation
- Handle edit_user compatibility concerns
- Get user object fields saving correctly (currently meta-only)
- Test it out, confirm all fields functional
Idea: Maybe hook into user insert / update function to process fields like for posts in #26?
Would be cool if in my free time I could follow up with integration with https://wordpress.org/plugins/wp-user-profiles/screenshots/ so that if that plugin is active, we add our sections as meta boxes and display them on a specific tab.
I'm not able to test this out, Is this ready for testing?
It appear you're trying to load a file that does not exist in the _wp_fields_api_user_edit_include() functions
require_once( WP_FIELDS_API_DIR . 'implementation/user-profile.php' );
Almost ready for testing, I'm trying to clear out some of the remaining @todo
markers in https://github.com/sc0ttkclark/wordpress-fields-api/blob/master/implementation/wp-admin/includes/class-wp-fields-api-user-profile.php so I can move onto plugging it all in.