If the automatic Wages & salaries account is renamed and/or given an account code, the new name does not appear when defining payslip items. For example, if the account is renamed as below:

The new name appears correctly on the chart of accounts:

and in the Summary:

But when defining a payslip earnings item, the default account name appears:

All financial aspects of using the renamed account work as intended. The payslip item posts correctly when used on payslips.