Skip to content

Commit 6c9fdd1

Browse files
committed
server
1 parent f65780e commit 6c9fdd1

File tree

5 files changed

+18
-20
lines changed

5 files changed

+18
-20
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM wordpress:6.4.2-php8.1-apache
2-
1+
FROM wordpress:6.8.1-php8.3-apache
32
RUN apt-get update && \
43
apt-get install -y --no-install-recommends ssl-cert && \
54
rm -r /var/lib/apt/lists/* && \
@@ -8,7 +7,7 @@ RUN apt-get update && \
87

98
ENV PHP_INI_PATH "/usr/local/etc/php/php.ini"
109

11-
RUN pecl install xdebug-3.2.2 && docker-php-ext-enable xdebug \
10+
RUN pecl install xdebug-3.4.2 && docker-php-ext-enable xdebug \
1211
&& echo "xdebug.mode=debug" >> ${PHP_INI_PATH} \
1312
&& echo "xdebug.client_port=9003" >> ${PHP_INI_PATH} \
1413
&& echo "xdebug.client_host=host.docker.internal" >> ${PHP_INI_PATH} \
@@ -17,4 +16,4 @@ RUN pecl install xdebug-3.2.2 && docker-php-ext-enable xdebug \
1716
&& echo "xdebug.idekey=IDE_DEBUG" >> ${PHP_INI_PATH}
1817

1918
EXPOSE 80
20-
EXPOSE 443
19+
EXPOSE 443

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Displays download links and versions for latest BMLT Releases simply add [bmlt_v
55
SHORTCODE
66
[bmlt_versions]
77

8-
**Attributes:** root_server, wordpress, drupal, basic, crouton, bread, yap, tabbed_map, meeting_map, list_locations, upcoming_meetings, contacts, temporary_closures, workflow
8+
**Attributes:** server, wordpress, drupal, basic, crouton, bread, yap, tabbed_map, meeting_map, list_locations, upcoming_meetings, contacts, temporary_closures, workflow
99
Adds ability to hide certain releases, default for most is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions sort_by="name"] or [bmlt_versions sort_by="date"] defaults to date if not specified.
1010

1111
Ex. [bmlt_versions drupal="0"] would not display drupal link.
@@ -14,7 +14,7 @@ Ex. [bmlt_versions drupal="0"] would not display drupal link.
1414
[bmlt_versions_simple]
1515

1616
This is just a more concise and simple display but allows you to add documentation links in dashboard settings.
17-
**Attributes:** root_server, crouton, bread, yap, workflow
17+
**Attributes:** server, crouton, bread, yap, workflow
1818
Adds ability to hide certain releases, default is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions_simple sort_by="name"] or [bmlt_versions_simple sort_by="date"] defaults to date if not specified.
1919

2020
Ex. [bmlt_versions_simple drupal="0"] would not display drupal link.

bmlt-versions.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function enqueueFrontendFiles()
4545
public function bmltVersionsRegisterSettings()
4646
{
4747
$options = [
48-
'rootServerDoc' => 'Root Server Documentation Link',
48+
'serverDoc' => 'Server Documentation Link',
4949
'croutonDoc' => 'Crouton Documentation Link',
5050
'yapDoc' => 'Yap Documentation Link',
5151
'breadDoc' => 'Bread Documentation Link',
@@ -78,8 +78,8 @@ public function bmltVersionsAdminOptionsPage()
7878
<td><input type="text" id="bmltVersionsGithubApiKey" name="bmltVersionsGithubApiKey" value="<?php echo get_option('bmltVersionsGithubApiKey'); ?>" /></td>
7979
</tr>
8080
<tr valign="top">
81-
<th scope="row"><label for="rootServerDoc">Server Documentation</label></th>
82-
<td><input type="text" id="rootServerDoc" name="rootServerDoc" value="<?php echo get_option('rootServerDoc'); ?>" /></td>
81+
<th scope="row"><label for="serverDoc">Server Documentation</label></th>
82+
<td><input type="text" id="serverDoc" name="serverDoc" value="<?php echo get_option('serverDoc'); ?>" /></td>
8383
</tr>
8484
<tr valign="top">
8585
<th scope="row"><label for="croutonDoc">Crouton Documentation</label></th>
@@ -110,7 +110,7 @@ public function bmltVersionsSimpleFunc($atts = [])
110110
$content = '';
111111
$args = shortcode_atts(
112112
[
113-
'root_server' => '1',
113+
'server' => '1',
114114
'crouton' => '1',
115115
'bread' => '1',
116116
'yap' => '1',
@@ -121,10 +121,10 @@ public function bmltVersionsSimpleFunc($atts = [])
121121
);
122122

123123
$products = [
124-
'root_server' => [
124+
'server' => [
125125
'github_name' => 'bmlt-server',
126126
'display_name' => 'BMLT Server',
127-
'docs_option_name' => 'rootServerDoc',
127+
'docs_option_name' => 'serverDoc',
128128
'download_url' => 'https://github.com/bmlt-enabled/bmlt-server/releases/',
129129
'github_url' => 'https://github.com/bmlt-enabled/bmlt-server'
130130
],
@@ -214,7 +214,7 @@ private function generateSimpleHtmlContent($product, $version, $date, $docs)
214214
public function bmltVersionsFunc($atts = [])
215215
{
216216
$defaults = [
217-
'root_server' => '1',
217+
'server' => '1',
218218
'wordpress' => '0',
219219
'drupal' => '0',
220220
'basic' => '0',
@@ -237,7 +237,7 @@ public function bmltVersionsFunc($atts = [])
237237
}
238238

239239
$repositories = [
240-
'root_server' => ['display_name' => 'BMLT Server', 'name' => 'bmlt-root-server', 'source' => 'github'],
240+
'server' => ['display_name' => 'BMLT Server', 'name' => 'bmlt-server', 'source' => 'github'],
241241
'yap' => ['display_name' => 'Yap', 'name' => 'yap', 'source' => 'github'],
242242
'wordpress' => ['display_name' => 'Wordpress Satellite', 'name' => 'bmlt-wordpress-satellite-plugin', 'source' => 'wordpress'],
243243
'drupal' => ['display_name' => 'Drupal Satellite', 'name' => 'bmlt-drupal', 'source' => 'drupal'],

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.1'
2-
31
services:
42
wordpress:
53
depends_on:
@@ -10,6 +8,7 @@ services:
108
- 8080:80
119
- 7443:443
1210
environment:
11+
WORDPRESS_DEBUG: true
1312
WORDPRESS_DB_HOST: db:3306
1413
WORDPRESS_DB_USER: wordpress
1514
WORDPRESS_DB_PASSWORD: wordpress

readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: pjaudiomv, GarrettWeinberg, tempsaint, dgershman
44
Tags: bmlt, meeting list
5-
Tested up to: 6.4.2
5+
Tested up to: 6.8
66
Stable tag: 1.8.2
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -14,7 +14,7 @@ Displays download links and versions for latest BMLT Releases simply add [bmlt_v
1414
SHORTCODE
1515
[bmlt_versions]
1616

17-
**Attributes:** root_server, wordpress, drupal, basic, crouton, bread, yap, tabbed_map, meeting_map, list_locations, upcoming_meetings, contacts, temporary_closures, workflow
17+
**Attributes:** server, wordpress, drupal, basic, crouton, bread, yap, tabbed_map, meeting_map, list_locations, upcoming_meetings, contacts, temporary_closures, workflow
1818
Adds ability to hide certain releases, default for most is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions sort_by="name"] or [bmlt_versions sort_by="date"] defaults to date if not specified.
1919

2020
Ex. [bmlt_versions drupal="0"] would not display drupal link.
@@ -23,7 +23,7 @@ Ex. [bmlt_versions drupal="0"] would not display drupal link.
2323
[bmlt_versions_simple]
2424

2525
This is just a more concise and simple display but allows you to add documentation links in dashboard settings.
26-
**Attributes:** root_server, crouton, bread, yap, workflow
26+
**Attributes:** server, crouton, bread, yap, workflow
2727
Adds ability to hide certain releases, default is to show all or 1. sort_by allows you to sort by name or date, defaults to date. [bmlt_versions_simple sort_by="name"] or [bmlt_versions_simple sort_by="date"] defaults to date if not specified.
2828

2929
Ex. [bmlt_versions_simple drupal="0"] would not display drupal link.
@@ -113,7 +113,7 @@ This section describes how to install the plugin and get it working.
113113

114114
= 1.1.3 =
115115

116-
* Changed root server to pull version from github api.
116+
* Changed server to pull version from github api.
117117

118118
= 1.1.2 =
119119

0 commit comments

Comments
 (0)