Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#13577 closed feature request (wontfix)

Pair Deprecated Function Warnings with New and Trunk Function Warnings

Reported by: hakre's profile hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

We have deprecated functions. The do a warning when used.

To complete that principle it would be nice to have new functions as well. New functions are those that were introduced in the current point release.

They should give warning until they are not new any longer.

Next to that there can be trunk functions as well that are those that exist in trunk only and have not used already.

This would complete the dynamic version control we offer in core.

Change History (1)

#1 @nacin
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Why should we throw warnings on new functions? Should every function give a warning? When would it give a warning, when it is used? If it's being used, don't they already know it exists?

This sounds like opportunity for a Codex page or API reference that lists all new public functions with each release. Beyond that, this is code bloat.

Note: See TracTickets for help on using tickets.