Timeline for Enqueue Google Web Fonts Without Messing Up Symbols In URL
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
Dec 30, 2012 at 10:00 | comment | added | fuxia♦ |
@AndrewNacin My answer is just about the pipe | , not the ampersand. The & should be escaped of course.
|
|
Dec 30, 2012 at 7:20 | comment | added | Andrew Nacin | This is a very clever solution, but would it not be better to steer a user toward the knowledge they need to realize their problem is not a problem, rather than the code that does what they think they need, but don't? | |
Dec 25, 2012 at 23:17 | comment | added | fuxia♦ | @EdT. Look closer: the function is not used here, just the filter. | |
Dec 25, 2012 at 23:14 | comment | added | Ed T. | This function has been deprecated "clean_url" -> codex.wordpress.org/Function_Reference/clean_url, you should use other one. | |
Dec 25, 2012 at 21:25 | comment | added | fuxia♦ |
The argument separator is & , not ? . You cannot rely on Google’s generosity.
|
|
Dec 25, 2012 at 17:00 | comment | added | its_me |
http://fonts.googleapis.com/css?family=Ubuntu%20Condensed|Open%20Sans:400italic,700italic,400,700?ver=3.5 is loading up just fine. Or am I missing your point?
|
|
Dec 25, 2012 at 16:57 | comment | added | fuxia♦ |
You cannot use a second ? . That would result in an invalid URL for Google.
|
|
Dec 25, 2012 at 16:53 | comment | added | its_me |
Yes, it kinda works, except the way versioning is done (wrongly?). Output looks like: <link rel='stylesheet' id='google-webfonts-css' href='http://fonts.googleapis.com/css?family=Ubuntu Condensed|Open Sans:400italic,700italic,400,700&ver=3.5' type='text/css' media='all' /> -- notice &ver=3.5? It should rather be ?ver=3.5. Any fix in mind? Thanks for the answer. :)
|
|
Dec 25, 2012 at 16:39 | history | answered | fuxia♦ | CC BY-SA 3.0 |