Skip to content

Commit 1718c30

Browse files
committed
Small fixes
1 parent 2fb5c94 commit 1718c30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

admin/partials/_bmlt_server_setup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
<div id="customquery-tooltip-content">
7171
<p>
7272
<?php esc_html_e('This will be executed as part of the meeting search query. This will override any setting in the Service Body dropdowns.', 'bread') ?>
73-
/* translators: draft saved date format, see http://php.net/date */
7473
<br /><?php
7574
/* translators: the string is a link to the semantic interface of the BMLT server */
7675
echo esc_html(sprintf(__('You can get help formulating a query using your sites <a href="%s">semantic interface</a>.', 'bread'), esc_url($this->bread->getOption('root_server'))).'/semantic') ?>

admin/partials/bread-admin-display.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ private function refresh_status()
4444
private function select_service_bodies()
4545
{
4646
for ($i = 1; $i <= 5; $i++) { ?>
47-
<li><label for="service_body_<?php
47+
<li><label for="service_body_<?php echo esc_html($i); ?>"><?php
4848
/* translators: Bread can query up to five servers, the string is the number 1-5 */
49-
echo esc_html($i); ?>"><?php echo esc_html(sprintf(__('Service Body %s', 'bread'), $i)) ?>: </label>
49+
esc_html_e(sprintf(__('Service Body %s', 'bread'), $i)) ?>: </label>
5050
<select class="service_body_select" id="service_body_<?php echo esc_html($i); ?>" name="service_body_<?php echo esc_html($i); ?>"><?php
5151
if ($this->connected) {
5252
$this->select_service_body_options($i);
@@ -110,6 +110,7 @@ function admin_options_page()
110110

111111
$this->bread->fillUnsetOptions();
112112
$dir = str_starts_with(get_locale(), 'fa') ? 'rtl' : 'ltr';
113+
$plugin_data = get_plugin_data(WP_PLUGIN_DIR . '/bread/bmlt-meeting-list.php');
113114
?>
114115
<div class="hide wrap bmlt-<?php echo esc_attr($dir) ?>" id="meeting-list-tabs-wrapper" dir="<?php echo esc_attr($dir); ?>">
115116
<div id="tallyBannerContainer">

0 commit comments

Comments
 (0)