Credits Shortcode & Block

描述

Credits Shortcode & Block allows content creators to easily add formatted Source or Via attribution links to WordPress posts and pages.

Supports the modern Gutenberg Block Editor (with live preview, customizable accent color pickers, and sidebar controls), traditional Shortcodes, and legacy Classic Editor toolbar buttons.

屏幕截图

区块

该插件提供了 1 个区块.

  • Credits Link Insert Source or Via credit link into your post with customizable accent colors.

安装

  1. Upload credits-shortcode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

「Credits Shortcode & Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3.1

  • Sanitize attributes on input (esc_url_raw, sanitize_text_field, sanitize_key, sanitize_hex_color).
  • Escape only when building output: esc_url() for href, esc_html() for text, esc_attr( safecss_filter_attr() ) for inline CSS.
  • Restrict accent colors to hex values and run the final markup through wp_kses().

1.3

  • Added native Gutenberg Block support (credits/shortcode).
  • Added custom Accent Color Pickers in the Block Editor sidebar and shortcodes.
  • Added micro-interaction hover lift animations and smooth CSS transitions.
  • Fixed Stored XSS vulnerability (CVE-2026-6256).

1.2

  • Initial public release with Classic Editor support.