diff --git a/css/msls.less b/css/msls.less index de18eec2..e10339aa 100644 --- a/css/msls.less +++ b/css/msls.less @@ -103,6 +103,11 @@ select.msls-translations { margin: 0 1px !important; } + +.column-mslscol { + width: 56px; +} + #wpadminbar .language-badge, #wpadminbar * .language-badge { position: relative; diff --git a/includes/MslsMetaBox.php b/includes/MslsMetaBox.php index 73124c1e..b94a5f56 100644 --- a/includes/MslsMetaBox.php +++ b/includes/MslsMetaBox.php @@ -257,7 +257,7 @@ public function render_options( $type, $msls_id ): string { ); foreach ( $posts as $post ) { - $options[] = $this->render_option( $post->ID, $msls_id ); + $options[] = $this->render_option( $post->ID, intval($msls_id) ); } return implode( PHP_EOL, $options );