function do_shortcode_tag( $m ) { global $shortcode_tags;
// Allow [[foo]] syntax for escaping a tag.
if ( '[' ===
$m[1
] && ']' ===
$m[6
] ) { return substr( $m[0
], 1, -1
);
} $tag =
$m[2
];
$attr =
shortcode_parse_atts( $m[3
] );
if ( !
is_callable( $shortcode_tags[ $tag ] ) ) { _doing_it_wrong( __FUNCTION__,
/* translators: %s: Shortcode tag. */
sprintf( __( 'Attempting to parse a shortcode without a valid callback: %s'
),
$tag ),
'4.3.0'
);
return $m[0
];
}