auto-patch 673-dev-dev01-2024-05-25T22_41_57

This commit is contained in:
root
2024-05-25 22:41:57 +00:00
parent 5d6d82e226
commit a961f203c3
26 changed files with 1391 additions and 1619 deletions

View File

@@ -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 ) );