Skip to content

Commit 4a159a9

Browse files
authored
Update SQLite database path (WordPress#3428)
Update all references to the SQLite database path from `.ht.sqlite` to `.ht.sqlite.php`, matching the latest SQLite integration plugin version.
1 parent f36f1b1 commit 4a159a9

25 files changed

Lines changed: 53 additions & 49 deletions

File tree

packages/docs/site/docs/developers/05-local-development/04-wp-playground-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ Mount before WP install: /wordpress ->
165165
The database location depends on what you mount:
166166

167167
- **Auto-mounting wp-content or full WordPress**:
168-
- Database: `<your-local-project>/wp-content/database/.ht.sqlite`
168+
- Database: `<your-local-project>/wp-content/database/.ht.sqlite.php`
169169
-**Persisted locally** in your project folder
170170

171171
- **Auto-mounting plugin/theme only**:
172-
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite`
172+
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite.php`
173173
- ⚠️ **Lost when server stops** (temp directories are cleaned up)
174174

175175
- **Custom mounts**: Database location follows your mount configuration
@@ -211,7 +211,7 @@ The `<path-hash>` is derived from your project directory path. This ensures isol
211211
The database location depends on your configuration:
212212

213213
- **Default (automatic persistence)**:
214-
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite`
214+
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite.php`
215215
- **Persisted automatically** between sessions
216216

217217
#### Resetting a persisted site

packages/docs/site/docs/main/quick-start-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ To keep your WordPress Playground site for longer than a single browser session,
7070

7171
The exported file contains the complete site you've built. You could host it on any server that supports PHP and SQLite. All WordPress core files, plugins, themes, and everything else you've added to your site are in there.
7272

73-
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
73+
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
7474

7575
## Restore a saved site
7676

packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/main/quick-start-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ The exported file contains the complete site you've built. You could host it on
155155
এক্সপোর্ট করা ফাইলে আপনার তৈরি করা সম্পূর্ণ সাইটটি থাকে। আপনি এটিকে PHP এবং SQLite সাপোর্ট করে এমন যেকোনো সার্ভারে হোস্ট করতে পারেন। ওয়ার্ডপ্রেসের সমস্ত কোর ফাইল, প্লাগইন, থিম এবং আপনি আপনার সাইটে যা যা যোগ করেছেন তার সবকিছুই সেখানে থাকে।
156156

157157
<!--
158-
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
158+
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
159159
-->
160160

161-
এক্সপোর্টের সাথে SQLite ডাটাবেস ফাইলটিও অন্তর্ভুক্ত থাকে, যা আপনি `wp-content/database/.ht.sqlite` ঠিকানায় পাবেন। মনে রাখবেন যে, ডট (.) দিয়ে শুরু হওয়া ফাইলগুলো সাধারণত অধিকাংশ অপারেটিং সিস্টেমে ডিফল্টভাবে লুকানো থাকে, তাই আপনার ফাইল ম্যানেজারে "Show hidden files" অপশনটি চালু করার প্রয়োজন হতে পারে।
161+
এক্সপোর্টের সাথে SQLite ডাটাবেস ফাইলটিও অন্তর্ভুক্ত থাকে, যা আপনি `wp-content/database/.ht.sqlite.php` ঠিকানায় পাবেন। মনে রাখবেন যে, ডট (.) দিয়ে শুরু হওয়া ফাইলগুলো সাধারণত অধিকাংশ অপারেটিং সিস্টেমে ডিফল্টভাবে লুকানো থাকে, তাই আপনার ফাইল ম্যানেজারে "Show hidden files" অপশনটি চালু করার প্রয়োজন হতে পারে।
162162

163163
<!--
164164
## Restore a saved site

packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/05-local-development/04-wp-playground-cli.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,11 @@ Mount before WP install: /wordpress ->
323323
The database location depends on what you mount:
324324
325325
- **Auto-mounting wp-content or full WordPress**:
326-
- Database: `<your-local-project>/wp-content/database/.ht.sqlite`
326+
- Database: `<your-local-project>/wp-content/database/.ht.sqlite.php`
327327
- ✅ **Persisted locally** in your project folder
328328
329329
- **Auto-mounting plugin/theme only**:
330-
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite`
330+
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite.php`
331331
- ⚠️ **Lost when server stops** (temp directories are cleaned up)
332332
333333
- **Custom mounts**: Database location follows your mount configuration
@@ -346,11 +346,11 @@ Playground CLI automatically removes temp directories that are:
346346
La ubicación de la base de datos depende de lo que montes:
347347

348348
- **Montaje automático de wp-content o WordPress completo**:
349-
- Base de datos: `<tu-proyecto-local>/wp-content/database/.ht.sqlite`
349+
- Base de datos: `<tu-proyecto-local>/wp-content/database/.ht.sqlite.php`
350350
-**Persistida localmente** en la carpeta de tu proyecto
351351

352352
- **Solo montaje automático de plugin/tema**:
353-
- Base de datos: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite`
353+
- Base de datos: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite.php`
354354
- ⚠️ **Se pierde al detener el servidor** (los directorios temporales se eliminan)
355355

356356
- **Montajes personalizados**: La ubicación de la base de datos sigue tu configuración de montaje
@@ -409,7 +409,7 @@ El `<path-hash>` se deriva de la ruta del directorio de tu proyecto. Así se aí
409409
The database location depends on your configuration:
410410
411411
- **Default (automatic persistence)**:
412-
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite`
412+
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite.php`
413413
- **Persisted automatically** between sessions
414414
-->
415415

@@ -421,7 +421,7 @@ The database location depends on your configuration:
421421
La ubicación de la base de datos depende de tu configuración:
422422

423423
- **Por defecto (persistencia automática)**:
424-
- Base de datos: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite`
424+
- Base de datos: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite.php`
425425
- **Persistida automáticamente** entre sesiones
426426

427427
<!--

packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/main/quick-start-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ The exported file contains the complete site you've built. You could host it on
153153
El archivo exportado contiene el sitio completo que has construido. Podrías alojarlo en cualquier servidor que admita PHP y SQLite. Todos los archivos principales de WordPress, plugins, temas y todo lo demás que hayas agregado a tu sitio están allí.
154154

155155
<!--
156-
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
156+
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
157157
-->
158158

159-
El archivo de base de datos SQLite también está incluido en la exportación, lo encontrarás en `wp-content/database/.ht.sqlite`. Ten en cuenta que los archivos que comienzan con un punto están ocultos por defecto en la mayoría de los sistemas operativos, por lo que es posible que necesites habilitar la opción "Mostrar archivos ocultos" en tu administrador de archivos.
159+
El archivo de base de datos SQLite también está incluido en la exportación, lo encontrarás en `wp-content/database/.ht.sqlite.php`. Ten en cuenta que los archivos que comienzan con un punto están ocultos por defecto en la mayoría de los sistemas operativos, por lo que es posible que necesites habilitar la opción "Mostrar archivos ocultos" en tu administrador de archivos.
160160

161161
<!--
162162
## Restore a saved site

packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/quick-start-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ Pour conserver votre site WordPress Playground au delà d’une seule session de
117117

118118
Le fichier exporté contient la totalité du site que vous avez créé. Vous pouvez l’héberger sur n’importe quel serveur prenant en charge PHP et SQLite. Tous les fichiers de base WordPress, les extensions, les thèmes et tout ce que vous avez ajouté d’autre à votre site s’y trouvent.
119119

120-
<!-- The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager. -->
120+
<!-- The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager. -->
121121

122-
Le fichier de base de données SQLite est également inclus dans l’export, vous le trouverez `wp-content/database/.ht.sqlite`. Gardez à l’esprit que les fichiers commençant par un point sont masqués par défaut sur la plupart des systèmes d’exploitation, vous devrez donc peut-être activer l’option « Afficher les fichiers masqués » dans votre gestionnaire de fichiers.
122+
Le fichier de base de données SQLite est également inclus dans l’export, vous le trouverez `wp-content/database/.ht.sqlite.php`. Gardez à l’esprit que les fichiers commençant par un point sont masqués par défaut sur la plupart des systèmes d’exploitation, vous devrez donc peut-être activer l’option « Afficher les fichiers masqués » dans votre gestionnaire de fichiers.
123123

124124
<!-- ## Restore a saved site -->
125125

packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/quick-start-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ https://playground.wordpress.net/?plugin=coblocks&plugin=friends&theme=pendant
123123

124124
એક્સપોર્ટ કરેલી ફાઇલમાં તમે બનાવેલી સંપૂર્ણ સાઇટ સામેલ છે. તમે તેને કોઈપણ સર્વર પર હોસ્ટ કરી શકો છો જે PHP અને SQLite ને સપોર્ટ કરે છે. તમામ વર્ડપ્રેસ કોર ફાઇલો, પ્લગિન્સ, થીમ્સ અને તમે તમારી સાઇટમાં ઉમેરેલી બધી અન્ય વસ્તુઓ તેમાં સામેલ છે.
125125

126-
<!-- The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager. -->
126+
<!-- The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager. -->
127127

128-
SQLite ડેટાબેસ ફાઇલ પણ એક્સપોર્ટમાં સામેલ છે, તમે તેને `wp-content/database/.ht.sqlite` માં શોધી શકો છો. ધ્યાનમાં રાખો કે ડોટ (.) થી શરૂ થતી ફાઇલો મોટાભાગની ઓપરેટિંગ સિસ્ટમમાં ડિફૉલ્ટ મુજબ છુપાયેલી હોય છે, તેથી તમને તમારા ફાઇલ મેનેજરમાં "Show hidden files" વિકલ્પ સક્રિય કરવાની જરૂર પડી શકે છે.
128+
SQLite ડેટાબેસ ફાઇલ પણ એક્સપોર્ટમાં સામેલ છે, તમે તેને `wp-content/database/.ht.sqlite.php` માં શોધી શકો છો. ધ્યાનમાં રાખો કે ડોટ (.) થી શરૂ થતી ફાઇલો મોટાભાગની ઓપરેટિંગ સિસ્ટમમાં ડિફૉલ્ટ મુજબ છુપાયેલી હોય છે, તેથી તમને તમારા ફાઇલ મેનેજરમાં "Show hidden files" વિકલ્પ સક્રિય કરવાની જરૂર પડી શકે છે.
129129

130130
<!-- ## Restore a saved site -->
131131

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/developers/05-local-development/04-wp-playground-cli.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,11 @@ Mount before WP install: /wordpress ->
322322
The database location depends on what you mount:
323323
324324
- **Auto-mounting wp-content or full WordPress**:
325-
- Database: `<your-local-project>/wp-content/database/.ht.sqlite`
325+
- Database: `<your-local-project>/wp-content/database/.ht.sqlite.php`
326326
- ✅ **Persisted locally** in your project folder
327327
328328
- **Auto-mounting plugin/theme only**:
329-
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite`
329+
- Database: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite.php`
330330
- ⚠️ **Lost when server stops** (temp directories are cleaned up)
331331
332332
- **Custom mounts**: Database location follows your mount configuration
@@ -345,11 +345,11 @@ Playground CLI automatically removes temp directories that are:
345345
マウント内容によってデータベースの場所が変わります:
346346

347347
- **wp-content または WordPress 全体の自動マウント**:
348-
- データベース: `<プロジェクト>/wp-content/database/.ht.sqlite`
348+
- データベース: `<プロジェクト>/wp-content/database/.ht.sqlite.php`
349349
- ✅ プロジェクトフォルダに **ローカル永続化**
350350

351351
- **プラグイン/テーマのみ自動マウント**:
352-
- データベース: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite`
352+
- データベース: `<OS-TEMP-DIR>/playground-<id>/wordpress/wp-content/database/.ht.sqlite.php`
353353
- ⚠️ サーバー停止時に **削除**(一時ディレクトリはクリーンアップされる)
354354

355355
- **カスタムマウント**: マウント設定に従う
@@ -407,7 +407,7 @@ The `<path-hash>` is derived from your project directory path. This ensures isol
407407
The database location depends on your configuration:
408408
409409
- **Default (automatic persistence)**:
410-
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite`
410+
- Database: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite.php`
411411
- **Persisted automatically** between sessions
412412
-->
413413

@@ -419,7 +419,7 @@ The database location depends on your configuration:
419419
データベースの場所は設定により異なります:
420420

421421
- **デフォルト(自動永続化)**:
422-
- データベース: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite`
422+
- データベース: `~/.wordpress-playground/sites/<path-hash>/wordpress/wp-content/database/.ht.sqlite.php`
423423
- セッション間で **自動永続化**
424424

425425
<!--

packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/quick-start-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ To keep your WordPress Playground site for longer than a single browser session,
174174
The exported file contains the complete site you've built. You could host it on any server that supports PHP and SQLite. All WordPress core files, plugins, themes, and everything else you've added to your site are in there.
175175
-->
176176

177-
SQLite データベースファイルもエクスポートに含まれており、`wp-content/database/.ht.sqlite`にあります。ドットで始まるファイルは、ほとんどのオペレーティングシステムでデフォルトで非表示になっているため、ファイルマネージャーで「隠しファイルを表示する」オプションを有効にする必要がある場合があります。
177+
SQLite データベースファイルもエクスポートに含まれており、`wp-content/database/.ht.sqlite.php`にあります。ドットで始まるファイルは、ほとんどのオペレーティングシステムでデフォルトで非表示になっているため、ファイルマネージャーで「隠しファイルを表示する」オプションを有効にする必要がある場合があります。
178178

179179
<!--
180-
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
180+
The SQLite database file is also included in the export, you'll find it `wp-content/database/.ht.sqlite.php`. Keep in mind that files starting with a dot are hidden by default on most operating systems so you might need to enable the "Show hidden files" option in your file manager.
181181
-->
182182

183183
## 保存したサイトを復元する

0 commit comments

Comments
 (0)