diff options
author | Heckyel <heckyel@openmailbox.org> | 2017-02-24 17:11:10 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2017-02-24 17:11:10 -0500 |
commit | c7857b172d48524eee9acbb1bcf49ebb8805b650 (patch) | |
tree | 3e78a992a38049e8494fffb2329c340e2740ea37 | |
parent | 86302c79859c1450d699c70f3bcbfd372c30aac9 (diff) | |
download | librevideojs-html5-player-c7857b172d48524eee9acbb1bcf49ebb8805b650.tar.lz librevideojs-html5-player-c7857b172d48524eee9acbb1bcf49ebb8805b650.tar.xz librevideojs-html5-player-c7857b172d48524eee9acbb1bcf49ebb8805b650.zip |
Clean syntax
-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>'); } } |