Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ public function enqueue_scripts( $page = '' ) {
wp_register_style( 'wp-multi-network', wpmn()->plugin_url . 'assets/css/wp-multi-network' . $suffix . '.css', array(), $asset_version );
wp_register_script( 'wp-multi-network', wpmn()->plugin_url . 'assets/js/wp-multi-network' . $suffix . '.js', array( 'jquery', 'post' ), $asset_version, true );

wp_style_add_data( 'wp-multi-network', 'rtl', 'replace' );

if ( $suffix ) {
wp_style_add_data( 'wp-multi-network', 'suffix', $suffix );
}

wp_enqueue_style( 'wp-multi-network' );
wp_enqueue_script( 'wp-multi-network' );
}
Expand Down
8 changes: 5 additions & 3 deletions wp-multi-network/includes/metaboxes/edit-network.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ function wpmn_edit_network_details_metabox( $network = null ) {
</th>
<td>
<label for="domain">
<span class="scheme"><?php echo esc_html( wp_get_scheme() ); ?></span>
<input type="text" name="domain" id="domain" class="regular-text" value="<?php echo esc_attr( $domain ); ?>">
<span class="code">
<span class="scheme"><?php echo esc_html( wp_get_scheme() ); ?></span><!--
--><input type="text" name="domain" id="domain" class="regular-text code" value="<?php echo esc_attr( $domain ); ?>">
</span>
</label>
</td>
</tr>
Expand All @@ -48,7 +50,7 @@ function wpmn_edit_network_details_metabox( $network = null ) {
<label for="path"><?php esc_html_e( 'Path', 'wp-multi-network' ); ?></label>
</th>
<td>
<input type="text" name="path" id="path" class="regular-text" value="<?php echo esc_attr( $path ); ?>">
<input type="text" name="path" id="path" class="regular-text code" value="<?php echo esc_attr( $path ); ?>">
<p class="description"><?php esc_html_e( 'Use "/" if you are unsure.', 'wp-multi-network' ); ?></p>
</td>
</tr>
Expand Down
Loading