Changeset 58813 for trunk/src/wp-includes/functions.php
- Timestamp:
- 07/27/2024 12:25:44 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r58763 r58813 9007 9007 echo wp_kses_post( wp_get_admin_notice( $message, $args ) ); 9008 9008 } 9009 9010 /** 9011 * Returns the current WordPress Version. 9012 * 9013 * Returns an unmodified version of `$wp_version`. Some plugins modify the 9014 * global in an attempt to improve security through obscurity. This 9015 * practice can cause errors in WordPress so the ability to get an 9016 * unmodified version is needed. 9017 * 9018 * @since 6.7.0 9019 * 9020 * @return string The current WordPress Version. 9021 */ 9022 function wp_get_wp_version() { 9023 require ABSPATH . WPINC . '/version.php'; 9024 9025 return $wp_version; 9026 }
Note: See TracChangeset
for help on using the changeset viewer.