[wp-trac] [WordPress Trac] #35253: The codex says the_title filter is deprecated

WordPress Trac noreply at wordpress.org
Tue Dec 29 14:56:40 UTC 2015


#35253: The codex says the_title filter is deprecated
--------------------------+----------------------
 Reporter:  steve@…       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi there

 Thanks for your report and welcome to trac.

 The codex entry is wrong. The `the_title` filter is not deprecated. In
 fact, there's currently not even a way to deprecate filters.

 It looks like the person who added that note mixed something up.

 If you're unsure about a Codex entry, have a look at the
 [https://developer.wordpress.org/reference/ code reference]. There you can
 see if something is really deprecated or not.

 Ps. If you find misleading information on the codex (e.g. when the
 information isn't the same as in the code reference), you can also go
 ahead and just edit it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35253#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list