#47423 closed defect (bug) (fixed)
Docs: Added the `locale` field to description for insert_user_meta filter.
Reported by: | tmatsuur | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Users | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
Since there was an anxious part in the source code of wp_insert_user function, I will post it.
In version 4.7, the insert_user_meta filter corresponds to the locale field, but this document does not describe it.
I think that it is better to correct the document.
Attachments (1)
Change History (5)
#1
@
5 years ago
- Focuses docs added
- Milestone changed from Awaiting Review to 5.3
- Owner set to desrosj
- Status changed from new to reviewing
#4
in reply to:
↑ 2
@
5 years ago
Replying to desrosj:
I don't think we need to add a
@since
annotation because no parameters were added to the filter, just possible values within the$meta
array. I can change that when I commit.
Thanks @desrosj
In such cases, I did not know that @ since
is unnecessary. I want to be careful in the future.
Note: See
TracTickets for help on using
tickets.
Thanks for catching this, @tmatsuur!
Looks like the
locale
user meta field was introduced in [38705] for version 4.7 and the filter documentation was just missed.I don't think we need to add a
@since
annotation because no parameters were added to the filter, just possible values within the$meta
array. I can change that when I commit.