Problem bei Shortcode Atts
-
Hallo liebe Support-Mitglieder,
ich stosse bei der Entwicklung eines Plugins auf das folgende Problem:Die Shortcode-Attribute werden mit normalen Anführungszeichen eingegeben (also ASCII 39), kommen aber umgeben von leading/trailing quotes oder double-quotes in der Shortcode Callback Funktion an. Beispiel:Eingabe: [spalten] => ’region,appellation,domaine,bezeichnung,sorte,jahrgang,anzahl‘ geparst (und mit htmlentities sichtbar gemacht) wurde: ’region,appellation,domaine,bezeichnung,sorte,jahrgang,anzahl‘Das ist störend, und verhindert dass Leerzeichen in die Shortcode Parameter eingegeben werden können.HAbt Ihr eine Idee, woran das liegen könnte?
Danke !
Meinhard
Hier ist der Bericht über die Installation
` wp-core
version: 6.7.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 1
blog_public: 0
default_comment_status: undefined
environment_type: production
user_count: 4
dotorg_communication: true wp-paths-sizes
wordpress_path: /volume1/vhost_WP/Wordpress
wordpress_size: 45,79 MB (48013558 bytes)
uploads_path: /volume1/vhost_WP/Wordpress/wp-content/uploads
uploads_size: 995,20 MB (1043538423 bytes)
themes_path: /volume1/vhost_WP/Wordpress/wp-content/themes
themes_size: 5,04 MB (5289429 bytes)
plugins_path: /volume1/vhost_WP/Wordpress/wp-content/plugins
plugins_size: 10,65 MB (11166540 bytes)
fonts_path: /volume1/vhost_WP/Wordpress/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 152,58 MB (159989760 bytes)
total_size: 1,18 GB (1267997710 bytes) wp-active-theme
name: Twenty Twenty Child-Theme (twentytwenty-child)
version: undefined
author: mb
author_website: (undefined)
parent_theme: Twenty Twenty (twentytwenty)
theme_features: core-block-patterns, appearance-tools, widgets-block-editor, automatic-feed-links, custom-background, post-thumbnails, custom-logo, title-tag, html5, align-wide, responsive-embeds, customize-selective-refresh-widgets, editor-color-palette, editor-font-sizes, editor-styles, custom-line-height, custom-spacing, border, widgets, menus, editor-style
theme_path: /volume1/vhost_WP/Wordpress/wp-content/themes/twentytwenty-child
auto_update: Deaktiviert wp-parent-theme
name: Twenty Twenty (twentytwenty)
version: 2.8
author: Das WordPress-Team
author_website: https://de.wordpress.org/
theme_path: /volume1/vhost_WP/Wordpress/wp-content/themes/twentytwenty
auto_update: Deaktiviert wp-themes-inactive (1)
Twenty Twenty-Five: version: 1.0, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert wp-plugins-active (6)
MonochromIØ-Weinkeller: version: 1.1, author: mb, Automatische Aktualisierungen deaktiviert
Participants Database: version: 2.6.1, author: Roland Barker, xnau webdesign, Automatische Aktualisierungen deaktiviert
Participants Database Custom Templates: version: 2.4.1, author: Roland Barker, xnau webdesign, Automatische Aktualisierungen deaktiviert
Participants Database Participant Log: version: 1.9.8, author: Roland Barker, xnau webdesign, Automatische Aktualisierungen deaktiviert
Twentig: version: 1.9, author: Twentig.com, Automatische Aktualisierungen deaktiviert
xnau Plugin Updates: version: 1.5.1, author: Roland Barker, xnau webdesign, Automatische Aktualisierungen deaktiviert wp-media
image_editor: WP_Image_Editor_GD
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-61 Q8 x86_64 17418 https://legacy.imagemagick.org
imagick_version: @PACKAGE_VERSION@
file_uploads: 1
post_max_size: 128M
upload_max_filesize: 128M
max_effective_size: 128 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: not available wp-server
server_architecture: Linux 4.4.302+ x86_64
httpd_software: Apache/2.4.58 (Unix)
php_version: 8.2.21 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 240
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 128M
php_post_max_size: 128M
curl_version: 7.86.0 OpenSSL/1.1.1u
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2025-01-26T09:21:27+00:00
utc-time: Sunday, 26-Jan-25 09:21:27 UTC
server-time: 2025-01-26T10:21:24+01:00 wp-database
extension: mysqli
server_version: 10.11.6-MariaDB
client_version: mysqlnd 8.2.21
max_allowed_packet: 1048576
max_connections: 151 wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /volume1/vhost_WP/Wordpress/wp-content
WP_PLUGIN_DIR: /volume1/vhost_WP/Wordpress/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable
Ansicht von 3 Antworten – 1 bis 3 (von insgesamt 3)
Ansicht von 3 Antworten – 1 bis 3 (von insgesamt 3)
- Du musst angemeldet sein, um auf dieses Thema zu antworten.