[wp-trac] [WordPress Trac] #62124: wp_parse_url() - code update for performance and removal of now unnecessary code fix
WordPress Trac
noreply at wordpress.org
Tue Feb 25 18:32:25 UTC 2025
#62124: wp_parse_url() - code update for performance and removal of now unnecessary
code fix
--------------------------------------+--------------------------
Reporter: wpseeddoctor | Owner: pbearne
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.8
Component: HTTP API | Version: 6.7
Severity: trivial | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by pbearne):
here is how you deprecate a function
* @deprecated 6.8.0
*
*/
function _get_component_from_parsed_url_array( $url_parts, $component = -1
) {
_deprecated_function( __FUNCTION__, '6.8.0' );
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62124#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list