Use jetpack autoloader and composer instead of namespace rewrite
This commit is contained in:
1 parent
1e02e42706
commit
71b0e7a455
3479 files changed
+4128
-379511
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user