diff options
-rw-r--r-- | GWP_bs3_panel_shortcode.php | 4 | ||||
-rw-r--r-- | librevideojs-html5-player.php | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/GWP_bs3_panel_shortcode.php b/GWP_bs3_panel_shortcode.php index d82b98b..56976b6 100644 --- a/GWP_bs3_panel_shortcode.php +++ b/GWP_bs3_panel_shortcode.php @@ -66,8 +66,6 @@ class GWP_bs3_panel_shortcode{ * @return void */ function admin_enqueue_scripts(){ - wp_enqueue_style('librevideojs_shortcode', plugins_url('librevideojs/css/mce-button.css', __FILE__)); + wp_enqueue_style('librevideojs_shortcode', plugins_url('librevideojs/css/mce-button.css', __FILE__)); } } - -?> diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 00f1904..b5f9eb4 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -68,11 +68,10 @@ if (!class_exists('LIBREVIDEOJS_HTML5_PLAYER')){ function options_page(){ $url = "https://wordpress.org/plugins/librevideojs-html5-player"; $link_text = sprintf(wp_kses(__('For detailed documentation please visit the plugin homepage <a target="_blank" href="%s">here</a>.', 'librevideojs-html5-player'), array('a' => array('href' => array(), 'target' => array()))), esc_url($url)); - ?> - <div class="wrap"><h2>LibreVideoJS HTML5 Player - v<?php echo $this->plugin_version; ?></h2> - <div class="update-nag"><?php echo $link_text;?></div> - </div> - <?php + printf( + '<div class="wrap"><h2>LibreVideoJS HTML5 Player - v ' . $this->plugin_version . '</h2> + <div class="update-nag">' . $link_text . '</div> + </div>'); } } |