WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Template:Deprecated"

m
m
Line 1: Line 1:
 
<includeonly>-----
 
<includeonly>-----
 
{{Message|
 
{{Message|
| background = #dfdfdf
+
| background = #FFFFFF
 
| border = #FFFFFF
 
| border = #FFFFFF
 
| color = #c00
 
| color = #c00

Revision as of 08:10, 7 March 2013

Use {{Deprecated}} to show that a specific function is deprecated.

It will look like this:


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

If you want to specify WHICH function to use this instead: {{Deprecated|new_function=get_archives}}


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use get_archives instead.