Making WordPress.org

Opened 7 days ago

Closed 7 days ago

Last modified 7 days ago

#8309 closed defect (bug) (fixed)

Unable to update WordPress.org profile Company and Job Title fields. After saving changes, the profile continues to display the previous values. The issue persists even after clearing the browser cache and retrying.

Reported by: naimur444's profile naimur444 Owned by:
Milestone: Priority: high
Component: Profiles Keywords:
Cc:

Description

When editing my WordPress.org profile, I update the Company and Job Title fields and save the changes successfully. However, after the page reloads, the old values remain unchanged and the new information is not reflected on the profile.

Steps to Reproduce:

  1. Log in to WordPress.org.
  2. Navigate to Profile Settings.
  3. Update the Company and Job Title fields.
  4. Save the changes.

Expected Result:
The updated Company and Job Title values should be saved and displayed on the profile.

Actual Result:
The previous Company and Job Title values continue to appear, and the changes are not applied.

Troubleshooting Performed:

  • Cleared browser cache.
  • Retried using the same browser session.
  • Issue persists.

Change History (1)

#1 @yani.iliev
7 days ago

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the clear report, naimur444. You were right that the change wasn't saving.

Root cause: Company and Job Title are managed by the Jobs tab, which deliberately removes them from the Profile (group 1) edit loop (WPOrg_Jobs_Admin::remove_job_fields_from_group_edit()). Because of that, their field IDs never appear in the hidden field_ids input that the save handler (xprofile_screen_edit_profile()) reads, so anything typed into those two fields on the Profile tab was dropped on save while the stored value stayed put. The recent Profile-tab redesign had re-introduced inputs for them by reading the values directly, which bypassed that filter and made them look editable.

The data layer is fine: Company and Job Title save correctly when edited from the Jobs tab (Profile > Edit > Jobs), which is where they belong.

Fixed by removing the duplicate inputs from the Profile tab in r24866

Props naimur444

Last edited 7 days ago by yani.iliev (previous) (diff)
Note: See TracTickets for help on using tickets.