#47423 closed defect (bug) (fixed)
Docs: Added the `locale` field to description for insert_user_meta filter.
| Reported by: | tmatsuur | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Users | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
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
@
7 years ago
- Focuses docs added
- Milestone Awaiting Review → 5.3
- Owner set to
- Status new → reviewing
#4
in reply to: ↑ 2
@
7 years ago
Replying to desrosj:
I don't think we need to add a
@sinceannotation because no parameters were added to the filter, just possible values within the$metaarray. 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for catching this, @tmatsuur!
Looks like the
localeuser 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
@sinceannotation because no parameters were added to the filter, just possible values within the$metaarray. I can change that when I commit.