Use jetpack autoloader and composer instead of namespace rewrite

This commit is contained in:
David Stone
2025-02-02 01:22:03 -07:00
parent 1e02e42706
commit 71b0e7a455
3479 changed files with 4128 additions and 379511 deletions

View File

@ -55,7 +55,7 @@ function wu_validate_date($date, $format = 'Y-m-d H:i:s') {
* @see https://carbon.nesbot.com/docs/
*
* @param string|false $date Parsable date string.
* @return \WP_Ultimo\Dependencies\Carbon\Carbon
* @return \Carbon\Carbon
*/
function wu_date($date = false) {
@ -65,7 +65,7 @@ function wu_date($date = false) {
} // end if;
return \WP_Ultimo\Dependencies\Carbon\Carbon::parse($date);
return \Carbon\Carbon::parse($date);
} // end wu_date;