Make WordPress Core

Opened 18 years ago

Closed 17 years ago

Last modified 8 years ago

#7493 closed enhancement (fixed)

_deprecated() version numbers.

Reported by: docwhat Owned by: westi
Priority: normal Milestone: 3.0
Component: Inline Docs Version:
Severity: normal Keywords: has-patch early
Cc: Focuses:

Description

This is a patch to change the "deprecated since 0.0" messages to their correct number.

Attachments (3)

deprecated.php.patch​ (17.3 KB ) - added by docwhat 18 years ago.
7493-deprecated-docs.diff​ (36.0 KB ) - added by nacin 17 years ago.
7493-deprecated-docs.2.diff​ (41.9 KB ) - added by nacin 17 years ago.
Updated patch also removes $deprecated args that don't affect argument order -- see #11386. Also, some whitespace improvements for _deprecated_function() calls.

Download all attachments as: .zip

Change History (13)

#1 follow-up: @anonymized_218323
18 years ago

You're using Ozh Version list, but I believe the deprecated version numbers are when the function was deprecated, not when the function was added.

#2 in reply to: ↑ 1 @westi
18 years ago

  • Keywords needs-patch added; has-patch removed
  • Owner changed from anonymous to westi
  • Status new → assigned

Replying to santosj:

You're using Ozh Version list, but I believe the deprecated version numbers are when the function was deprecated, not when the function was added.

That is correct.

#3 @jacobsantos
18 years ago

  • Milestone 2.7 → 2.8

#4 @jacobsantos
18 years ago

  • Type defect (bug) → enhancement

#5 @Denis-de-Bernardy
17 years ago

  • Milestone 2.8 → Future Release

#6 @Denis-de-Bernardy
17 years ago

  • Component General → Inline Docs

#7 @nacin
17 years ago

  • Keywords has-patch early added; needs-patch removed
  • Milestone Future Release → 3.0

To align with #10920.

Tons of new phpdoc here.

#8 @nacin
17 years ago

FWIW, every version number for '0.0' values was traced back through changesets, revisions and tickets. Not guaranteeing 100% accuracy but it should be.

On occasion, @since and @deprecated are the same version. The function was added early in a dev cycle and removed later on in the same cycle.

#10920 was incorporated into this patch.

@nacin
17 years ago

Updated patch also removes $deprecated args that don't affect argument order -- see #11386. Also, some whitespace improvements for _deprecated_function() calls.

#9 @ryan
17 years ago

  • Resolution → fixed
  • Status accepted → closed

(In [12526]) Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493

This ticket was mentioned in ​Slack in #mobile by jcasariego. ​View the logs.


8 years ago

Note: See TracTickets for help on using tickets.