remove non ASCII chars

This commit is contained in:
2025-06-02 00:44:43 +01:00
parent 42345c47b9
commit 6fa42e8f45
2 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|--------------------------------------------------------------------------
| Constants are expected in wp-spaceapi-consumer-config.php located in the same
| directory. If that file is missing, sane defaults are used so the plugin
| still works outofthebox.
| still works out-of-the-box.
*/
$config_file = plugin_dir_path( __FILE__ ) . 'wp-spaceapi-consumer-config.php';
@@ -37,7 +37,7 @@ if ( file_exists( $config_file ) ) {
/*
|--------------------------------------------------------------------------
| Core fetch & cache
| Core - fetch & cache
|--------------------------------------------------------------------------
*/
@@ -45,8 +45,8 @@ if ( file_exists( $config_file ) ) {
* Retrieves space open status (boolean) with transient caching.
*
* Supported JSON payloads (any case):
* true / false (bare boolean)
* {"state": {"open": true}} (SpaceAPI standard)
* - true / false (bare boolean)
* - {"state": {"open": true}} (SpaceAPI standard)
*
* @return bool True if open, false if closed (or on error).
*/
@@ -117,7 +117,7 @@ add_shortcode( 'door_status', 'ssi_shortcode' );
function ssi_admin_bar( WP_Admin_Bar $bar ) : void {
if ( ! current_user_can( 'read' ) ) {
return; // Loggedin users only.
return; // Logged-in users only.
}
$open = ssi_get_status();
@@ -135,7 +135,7 @@ add_action( 'admin_bar_menu', 'ssi_admin_bar', 1000 );
/*
|--------------------------------------------------------------------------
| Frontend inline CSS (kept minimal)
| Front-end inline CSS (kept minimal)
|--------------------------------------------------------------------------
*/
@@ -157,7 +157,7 @@ add_action( 'admin_enqueue_scripts', 'ssi_enqueue_assets' ); // so the Admin Bar
/*
|--------------------------------------------------------------------------
| WPCLI command (optional)
| WP-CLI command (optional)
|--------------------------------------------------------------------------
*/