[wp-trac] [WordPress Trac] #12295: More support to customize user profile edit page

WordPress Trac noreply at wordpress.org
Sat Feb 15 13:04:49 UTC 2020


#12295: More support to customize user profile edit page
-------------------------------------------------+-------------------------
 Reporter:  pampfelimetten                       |       Owner:  nacin
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Users                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback early                                 |
-------------------------------------------------+-------------------------

Comment (by jvcdk):

 I have a similar need / wish and have created a patch against version
 5.3.2. Please find it attached.

 The approach I have taken is to add a filter (user_profile_active_fields)
 that a dev can hook in to and customize which fields are shown.

 I have uploaded 2 files:
  * A patch in git format-patch format (with commit message).
  * A "simple" standard diff (since you are using svn)

 I am unsure which format serves you best. The files are named 0001-Users-
 Add-filter-to-hide-fields-from-user-page.diff and .patch.

 I believe it is ready for merge, but of course needs a review and test (by
 other people than just me :-D ). One note:

 In the API documentation, I left the @since fields as TBD as I do not know
 with which version this will be accepted.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/12295#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list