[wp-trac] [WordPress Trac] #34908: Merge similar strings in REST API deprecated function/argument handlers
WordPress Trac
noreply at wordpress.org
Tue Dec 8 11:28:23 UTC 2015
#34908: Merge similar strings in REST API deprecated function/argument handlers
----------------------------------------+------------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by rmccue):
For `_deprecated_function`, the arguments are `$file, $version,
$replacement`; for `_deprecated_argument`, they're instead `$function,
$version, $message`. We have the different strings here because functions
typically only have a replacement function string, whereas arguments have
a sentence explaining it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34908#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list