Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 7 years ago

#7493 closed enhancement (fixed)

_deprecated() version numbers.

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

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 16 years ago.
7493-deprecated-docs.diff (36.0 KB) - added by nacin 15 years ago.
7493-deprecated-docs.2.diff (41.9 KB) - added by nacin 15 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: @santosj
16 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
16 years ago

  • Keywords needs-patch added; has-patch removed
  • Owner changed from anonymous to westi
  • Status changed from new to 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
16 years ago

  • Milestone changed from 2.7 to 2.8

#4 @jacobsantos
16 years ago

  • Type changed from defect (bug) to enhancement

#5 @Denis-de-Bernardy
16 years ago

  • Milestone changed from 2.8 to Future Release

#6 @Denis-de-Bernardy
16 years ago

  • Component changed from General to Inline Docs

#7 @nacin
15 years ago

  • Keywords has-patch early added; needs-patch removed
  • Milestone changed from Future Release to 3.0

To align with #10920.

Tons of new phpdoc here.

#8 @nacin
15 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
15 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
15 years ago

  • Resolution set to fixed
  • Status changed from accepted to 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.


7 years ago

Note: See TracTickets for help on using tickets.