ICWT Responsive Device Preview
| 开发者 |
incodewetrust
|
| 更新时间 |
2026年7月22日 18:47 |
| PHP版本: |
7.0 及以上 |
| WordPress版本: |
7.0 |
| 版权: |
GPLv2 or later |
| 版权网址: |
版权信息
|
详情介绍:
ICWT Responsive Device Preview allows you to preview your posts and pages in different device sizes (Desktop, Tablet, Mobile) directly from the standard WordPress preview link.
安装:
- Upload the plugin files to the
/wp-content/plugins/icwt-responsive-device-preview directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress.
更新日志:
1.5.6 - 22.07.2026
- Migrated state management from cookies to user meta and localStorage for better reliability.
- Added an admin bar menu to easily enable or disable the device preview.
- Added a button to hide the preview toolbar.
- Improved asset enqueuing with file-based versioning to prevent caching issues.
- Updated German translations and synchronized translation files with source code.
1.5.5 - 21.07.2026
- Restricted plugin frontend functionality and assets to users with
edit_posts capability for improved security.
1.5.4 - 21.07.2026
- Updated internal link modification to use
icwt_responsive_device_preview parameter for better consistency.
- Improved regex check to avoid double-modifying links.
1.5.3 - 21.07.2026
- Configured the preview iframe to load links in the parent window using
<base target="_parent">.
1.5.2 - 21.07.2026
- Fixed an issue where preview parameters were incorrectly added to admin toolbar links.
- Prevented the device selection toolbar from being active in the WordPress admin backend.
- Improved link filtering to skip common asset extensions and admin-specific links.
1.5.1 - 20.07.2026
- Switched to modern WordPress internationalization approach using Domain Path and automatic translation loading.
- Removed discouraged load_plugin_textdomain() function call.
1.5 - 20.07.2026
- Enhanced security with nonce verification and proper data unslashing.
- Added mandatory "translators:" comments for internationalized strings with placeholders.
- Implemented persistent responsive preview mode across frontend navigation.
- Added a dedicated drag handle for better toolbar positioning.
- Improved admin toolbar visibility management for all device views.
- Enhanced UI with smooth transitions and hover-expanding credits.
- Added German translation support.
- Added a settings link to the plugin overview page.
1.4 - 14.07.2026
- Adhered to WordPress best practices by enqueuing CSS and JS instead of using inline tags.
- Moved static assets to dedicated
assets/css/ and assets/js/ directories.
1.3 - 14.07.2026
- Renamed plugin to "ICWT Responsive Device Preview".
- Updated plugin slug and text domain to
icwt-responsive-device-preview.
- Updated all internal identifiers and labels for consistency.
1.2 - 14.07.2026
- Renamed plugin to "ICWT Device Preview".
- Updated plugin slug and text domain to
icwt-device-preview.
- Updated all internal identifiers and labels for consistency.
1.1 - 09.07.2026
- Added draggable controls for the preview bar (restricted to X-axis).
- Implemented persistence for device selection and control position.
- Enhanced security with nonce verification.
- Improved internationalization with mandatory translator comments.
- Added mandatory repository assets (icons and banners).
1.0