Changes between Initial Version and Version 3 of Ticket #19012
- Timestamp:
- 10/20/11 05:27:28 (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19012
- Property Status changed from new to reviewing
- Property Cc peter@… added
- Property Owner changed from peterchester to ryan
- Property Milestone changed from Awaiting Review to Future Release
- Property Keywords needs-patch 2nd-opinion added; has-patch removed
-
Ticket #19012 – Description
initial v3 1 I see through out the wordpress code as well as through out many plugins and themes that get_ID is often accompanied by a test to see if an ID had been passed. It would be a harmless but extremely useful update to simply allow get_ID and the_IDto accept an optional $id and pass it through if it's numerical.1 I see throughout the WordPress code as well as throughout many plugins and themes that {{{get_ID()}}} is often accompanied by a test to see if an ID had been passed. It would be a harmless but extremely useful update to simply allow {{{get_ID()}}} and {{{the_ID()}}} to accept an optional $id and pass it through if it's numerical. 2 2 3 3 I've already gone ahead and created the patch (attached)
