| 开发者 | hookmaster |
|---|---|
| 更新时间 | 2026年8月23日 16:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
launch-curtain folder to /wp-content/plugins/, or install the plugin directly through the "Plugins → Add New" screen in WordPress.Yes. Regular visitors are shown the stub page instead of the rest of the site. Anyone logged into WordPress as an administrator keeps seeing the real site as normal, so you can keep building without switching accounts or using a private/incognito window.
Yes. The stub is a normal WordPress page with no theme header/footer, so you can open it in Elementor or the block editor and change anything by hand. Just keep in mind that clicking "Save" on the settings screen rebuilds the page from the settings fields again, which would overwrite manual edits — use the settings fields for day-to-day changes, and manual page editing for one-off design tweaks you don't want the plugin to touch again.
You choose. "Redirect (302)" sends visitors to the stub page's own URL — simple, but the address bar changes. "No redirect (503 + Retry-After)" shows the stub at whatever URL the visitor requested, with a proper HTTP 503 status — the approach generally recommended for a temporary outage, since search engines understand the site is only temporarily unavailable instead of treating it as a permanent change.
Yes — add their IP address under "Always show the real site to" in the settings.
Deactivating just stops the redirect; the stub page itself stays in your Pages list untouched. Deleting the plugin removes its settings but does not delete the stub page — you can keep, edit, or delete that page like any other.
Yes — a small, unobtrusive "Powered by Hookmaster" text link appears at the bottom of the stub page, pointing to the developer's wordpress.org profile. It doesn't collect or send any data, doesn't affect functionality or performance, and isn't an advertisement for a third party.
wp_kses() and a purpose-built tag/attribute allowlist (svg/path/rect/circle/text plus the wrapping div/a), instead of a phpcs:ignore suppression. This matters because the icon set is filterable via launcu_social_icons for future extensibility, so its output could no longer be assumed to always be hardcoded, trusted markup — real escaping now provides a genuine safety net if a third-party filter callback ever returns something unexpected.launcu_/LAUNCU_ prefix instead of the too-short lc_/LC_, to avoid collisions with other plugins/themes.wp_register_style() + wp_add_inline_style()) instead of a raw <style> tag in the template — and now uses the actual configured background color instead of a hardcoded one.phpcs:ignore documentation.lc_social_html() is now documented with phpcs:ignore — lc_social_icon_svg() only ever returns one of a small set of hardcoded, developer-authored SVG strings (never user input), so it doesn't need runtime escaping.load_plugin_textdomain() call — WordPress has auto-loaded bundled plugin translations since 4.6, so this was unnecessary and is now handled automatically.$_POST are now unslashed and sanitized before verification (wp_verify_nonce()), per WordPress coding standards.phpcs:ignore + a reason) the handful of places where a helper function/variable already built from escaped pieces (esc_html()/esc_attr()/esc_url()) is echoed as a whole — automated scanners can't trace escaping through a variable, so these are expected, reviewed exceptions, not unescaped output..distignore file (a build-tool helper, not part of the plugin itself) is no longer bundled into the distributed zip, since hidden/dot files aren't allowed in the WordPress.org package.lc_show_credit filter, reserved for a future Pro add-on (add_filter('lc_show_credit', '__return_false');).lc_themes and lc_page_content filters let extra themes be registered without touching core; lc_social_platforms / lc_social_icons let extra social networks be added; lc_is_visitor_bypassed filter for custom access rules (e.g. password protection); lc_default_settings / lc_sanitize_settings filters and lc_settings_page_after_theme / lc_settings_page_end action hooks for extra settings sections.lc_show_credit for a future Pro add-on.