[wp-trac] [WordPress Trac] #61555: Add deprecation notice to wp_title()

WordPress Trac noreply at wordpress.org
Thu Jul 4 06:34:31 UTC 2024


#61555: Add deprecation notice to wp_title()
------------------------------------+------------------------------
 Reporter:  bedas                   |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-docs 2nd-opinion  |     Focuses:
------------------------------------+------------------------------

Comment (by bedas):

 I am not sure to understand why "just" because some older software still
 uses certain functions, functions are undeprecated.
 I am sure we could find hundreds or more plugins/themes that use
 deprecated functions, yet we wouldn't undeprecate them, rather we'd ask or
 expect those plugins/themes to update.

 The risk at not deprecating, or putting a "doing it wrong" in place (I
 guess this could also be done dynamically depending on theme or wp version
 running) is that developers use it. They do not always rely on the
 documentation.

 ---

 Note that I had opened tickets about the wrong link to a missing note in
 the codex, see
 - https://github.com/WordPress/Documentation-Issue-Tracker/issues/1620
 (solved through this trac)
 - https://github.com/WordPress/Documentation-Issue-Tracker/issues/1624

 ---

 Thanks for the changes made!

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


More information about the wp-trac mailing list