#46958 closed defect (bug) (fixed)
Which of 'privacypolicy' or 'privacy_policy' is valid for get_query_template function?
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | Privacy | Keywords: | |
Focuses: | template | Cc: |
Description
Currently, 'privacy_policy' is used in the get_privacy_policy_template function.
return get_query_template( 'privacy_policy', $templates );
In contrast, the docs contains a 'privacypolicy' without the hyphen.
Is the content of docs wrong?
Change History (6)
#2
follow-up:
↓ 3
@
4 years ago
- Component changed from General to Privacy
- Focuses template added
- Milestone changed from Awaiting Review to 5.2
This sounds like the same problem that happens with front_page
.
#3
in reply to:
↑ 2
@
4 years ago
Replying to johnbillion:
This sounds like the same problem that happens with
front_page
.
Thank you @johnbillion.
Note: See
TracTickets for help on using
tickets.
It was an underscore, not a hyphen.