[wp-testers] Re: wp-testers Digest, Vol 31, Issue 2

Yazerty yazerty at yazerty.net
Sun Sep 2 16:16:44 GMT 2007


Hello,

I'm using the get_the_title function in a personnal php script. I absolutly
need it.
If this is better to filtered it, ok, but I need to use title in my php
script.
Will it change the way I have to use get_the_title according to you :-?
Thanks !

Yazerty.

---------- Forwarded message ----------

> From: Travis Snoozy <ai2097 at users.sourceforge.net>
> To: wp-testers at lists.automattic.com
> Date: Sat, 1 Sep 2007 12:37:12 -0700
> Subject: [wp-testers] 2.3 Beta 1 changes semantics of get_the_title
> Hey folks,
>
>   The get_the_title function is now filtered, whereas in the past
> (through all the versions back to 2.0; I haven't checked earlier) it was
> not. This is a breaking change, since (among other things) filtering
> causes escaped titles to be returned, whereas before unescaped titles
> were returned before. While this makes get_the_title consistent with
> other get_the_* APIs, IMHO changing a public API like this is a Bad Thing
> (doubly so, since none of the APIs have solid documentation, making
> it impossible to tell whether one is using an API properly to begin
> with).
>
>
> Any other thoughts on this?
>
>
> --
> Travis
>


More information about the wp-testers mailing list