[wp-trac] [WordPress Trac] #41121: Consistency of the _deprecated_function() calls and related documentation.

WordPress Trac noreply at wordpress.org
Thu Jun 22 18:26:47 UTC 2017


#41121: Consistency of the _deprecated_function() calls and related documentation.
----------------------------+---------------------------
 Reporter:  jrf             |       Owner:  DrewAPicture
     Type:  task (blessed)  |      Status:  reviewing
 Priority:  normal          |   Milestone:  4.9
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------

Comment (by jrf):

 @DrewAPicture I've based my usage of escaped quotes on the precedent for
 this as set in numerous other function calls to `_deprecated_function()`,
 though there is no real consensus as current usage is inconsistent.

 Escaped quotes:
 * https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/deprecated.php#L1306 - line 1306 up to line 1620 (25 functions)
 * https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/deprecated.php#L2976 - line 2976 up to line 3033 (4 functions)

 Non-escaped quotes:
 * https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/deprecated.php#L2386 (1 function)
 * https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/deprecated.php#L921 - line 921 to line 960 ( 4 functions)
 * https://core.trac.wordpress.org/browser/trunk/src/wp-includes/pluggable-
 deprecated.php#L67 - line 67 up to line 84 (2 functions)

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


More information about the wp-trac mailing list