rebase on oct-10-2023
This commit is contained in:
@@ -91,7 +91,7 @@ if ( ! class_exists( 'WC_Admin_Dashboard_Setup', false ) ) :
|
||||
* @return string
|
||||
*/
|
||||
public function get_button_link( $task ) {
|
||||
$url = $task->get_json()['actionUrl'];
|
||||
$url = (string) $task->get_json()['actionUrl'];
|
||||
|
||||
if ( substr( $url, 0, 4 ) === 'http' ) {
|
||||
return $url;
|
||||
|
||||
Reference in New Issue
Block a user