Skip to content

Commit

Permalink
Stats: load rtl stylesheet for dashboard widget.
Browse files Browse the repository at this point in the history
Fixes #13207
  • Loading branch information
jeherve committed Aug 20, 2019
1 parent aeac504 commit 28b290a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -6516,6 +6516,7 @@ public function wp_dashboard_setup() {
array( __CLASS__, 'dashboard_widget' )
);
wp_enqueue_style( 'jetpack-dashboard-widget', plugins_url( 'css/dashboard-widget.css', JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
wp_style_add_data( 'jetpack-dashboard-widget', 'rtl', 'replace' );

// If we're inactive and not in development mode, sort our box to the top.
if ( ! self::is_active() && ! self::is_development_mode() ) {
Expand Down

0 comments on commit 28b290a

Please sign in to comment.