William Patton

Results 96 comments of William Patton

Sounds to me like the need here is more about being able to modify the markup than it is to filter the translated string. It doesn't appear like it's currently...

I still feel like subclassing the walker, overriding just one or 2 methods, in a theme is the most ideal solution here. No core changes needed and then the theme...

> Customisation of string translation is possible everywhere via the `gettext` hook The requested hooks is less for modifying the text and more about being able to modify the surrounding...

> > The requested hooks is less for modifying the text and more about being able to modify the surrounding markup which currently isn't achievable via hooks. > > I've...

I'm more than happy to test this out as it gets worked through, feel free to ping me here or in any resulting PR :)

After quickly scanning through the code I also believe that this would be the case. I can write a unit test at the weekend as a verification if nobody is...