-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #32 and fixes #51 #59
Conversation
* @param string $path Path relative to the home URL. Blank string if no path is specified. | ||
* @return string Mangled Content URL | ||
*/ | ||
function mangle_content_url( $url, $path) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs an extra space after $path
Sorry for the overcommenting here, kind of stream-of-consciousness. Thanks for the PR! Do we need the |
I swear I tried using that function first, and there was some reason it didn't work with the other filters. I do agree reading it out of context here that it appears they should be able to merge IF we make the 3rd param optional. Oh, that was it, content_url filter only passes 2 params and causes an error when you try to use this function to filter. I can just set it to null by default. I'll try that. |
…to work with 2 params
Yup, you were right, I removed the function, corrected everything and tested it. |
Merge Primary domain redirection
Fixed alignment
Update with original repo
No description provided.