Merge pull request #855 from mailpoet/php53-fix
Fixes reference to self in anonymous function [MAILPOET-871]
This commit is contained in:
@@ -48,7 +48,7 @@ class Links {
|
|||||||
if($shortcodes) {
|
if($shortcodes) {
|
||||||
$extracted_links = array_map(function($shortcode) {
|
$extracted_links = array_map(function($shortcode) {
|
||||||
return array(
|
return array(
|
||||||
'type' => self::LINK_TYPE_SHORTCODE,
|
'type' => Links::LINK_TYPE_SHORTCODE,
|
||||||
'html' => $shortcode,
|
'html' => $shortcode,
|
||||||
'link' => $shortcode
|
'link' => $shortcode
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user