Opened 10 years ago
Last modified 6 years ago
#36244 assigned enhancement
added a filter to allow the separator in the week date range to be changed
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Themes | Keywords: | has-patch needs-dev-note needs-docs |
| Focuses: | template | Cc: |
Description
added a new filter 'getarchives_week_separator' in wp_get_archives() to allow the separator used in the weekly archive text to changed
Attachments (4)
Change History (17)
This ticket was mentioned in Slack in #core by noisysocks. View the logs.
6 years ago
#7
@
6 years ago
I like having a filter for this so that a Theme can set it globally
so am adding a second patch with a filter as well
#9
@
6 years ago
I am going to ask the polygots if this should be translated and if the string should be swapped for the right to left langs
This ticket was mentioned in Slack in #polyglots by pbearne. View the logs.
6 years ago
#12
@
6 years ago
I can't remember the actual use case that caused me to create the patch but I think it was a CPT archive for something events where the client what to use the work from to
Hi @pbearne !
This came up in the #core triage today - thanks for opening the ticket and working on it!
To avoid filter clutter - perhaps it would be better to allow customization of the separator through the arguments variable instead?
Moving this to Themes as it seems more related to theming.