diff --git a/includes/Features/ShortcodeInline.php b/includes/Features/ShortcodeInline.php index a5774c3c..85549e69 100644 --- a/includes/Features/ShortcodeInline.php +++ b/includes/Features/ShortcodeInline.php @@ -63,14 +63,14 @@ public function shortcode_inline( $atts, $content = null ) { if ( ! current_user_can( 'administrator' ) ) { return; } - return '
' . __( 'Choose a Notification from the dropdown.', 'notificationx-pro' ) . '
'; + return '' . __( 'Choose a Notification from the dropdown.', 'notificationx' ) . '
'; } if ( ! PostType::get_instance()->is_enabled( $nx_id ) ) { if ( ! current_user_can( 'administrator' ) ) { return; } - return '' . __( 'Make sure you have enabled the notification which ID you have given.', 'notificationx-pro' ) . '
'; + return '' . __( 'Make sure you have enabled the notification which ID you have given.', 'notificationx' ) . '
'; } do_action( 'nx_inline' ); @@ -141,7 +141,7 @@ public function shortcode_inline( $atts, $content = null ) { if ( $timestamp ) { $diff_for_humans = sprintf( /* translators: time */ - _x( '%s ago', 'Inline Shortcode', 'notificationx-pro' ), + _x( '%s ago', 'Inline Shortcode', 'notificationx' ), human_time_diff( $timestamp ) ); $_template = str_replace( '{{time}}', $diff_for_humans, $_template );