auto-patch 673-dev-dev01-2024-05-25T22_41_57
This commit is contained in:
@@ -64,7 +64,7 @@ class Minute_Control {
|
||||
wp_json_encode(
|
||||
array(
|
||||
'postid' => $post->ID,
|
||||
'nonce' => wp_create_nonce( $this->plugin->meta_prefix ),
|
||||
'nonce' => wp_create_nonce( META_PREFIX ),
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -197,7 +197,7 @@ class Minute_Control {
|
||||
public function inline_shortcode( $atts ) {
|
||||
global $post;
|
||||
|
||||
$data_url = isset( $atts['url'] ) ? esc_attr( 'data-url="' . $atts['url'] . '"' ) : '';
|
||||
$data_url = isset( $atts['url'] ) ? esc_attr( 'data-url=' . esc_url( $atts['url'] ) ) : '';
|
||||
|
||||
if ( is_archive() || is_front_page() || is_tag() ) {
|
||||
$data_url = esc_attr( 'data-url=' . get_permalink( $post->ID ) );
|
||||
|
||||
Reference in New Issue
Block a user