{"id":26027,"date":"2014-10-02T14:47:09","date_gmt":"2014-10-02T14:47:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/source-shortcode\/"},"modified":"2026-08-14T14:13:47","modified_gmt":"2026-08-14T14:13:47","slug":"source-shortcode","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/source-shortcode\/","author":9448965,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.1","stable_tag":"1.3.1","tested":"7.0.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Credits Shortcode & Block","header_author":"Jash Jacob","header_description":"","assets_banners_color":"","last_updated":"2026-08-14 14:13:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/jashjacob.com","header_plugin_uri":"https:\/\/github.com\/jashjacob\/Credits-Shortcode-Plugin-for-Wordpress","header_author_uri":"http:\/\/jashjacob.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1699,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.3":{"tag":"1.3","author":"jashjacob","date":"2026-08-07 09:41:37"},"1.3.1":{"tag":"1.3.1","author":"jashjacob","date":"2026-08-14 14:13:47"}},"upgrade_notice":{"1.3.1":"<p>Security and output-escaping update required to comply with WordPress.org plugin review.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"credits\/shortcode":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"credits\/shortcode","version":"1.3.1","title":"Credits Link","category":"embed","icon":"share","description":"Insert Source or Via credit link into your post with customizable accent colors.","keywords":["credits","source","via","attribution","color"],"textdomain":"credits-shortcode","attributes":{"link":{"type":"string","default":""},"type":{"type":"string","default":"source"},"name":{"type":"string","default":""},"badgeColor":{"type":"string","default":"#ef4423"},"linkColor":{"type":"string","default":"#E0D9D9"},"linkTextColor":{"type":"string","default":"#ef4423"}},"editorScript":"credits-block-js","editorStyle":"credits-shortcode","style":"credits-shortcode"}},"tagged_versions":["1.3","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3637660,"resolution":"1","location":"assets","locale":"","width":506,"height":1024},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3637660,"resolution":"2","location":"assets","locale":"","width":1024,"height":483}},"screenshots":[]},"plugin_section":[],"plugin_tags":[1220,6265,80,8747,19021],"plugin_category":[43],"plugin_contributors":[95483],"plugin_business_model":[],"class_list":["post-26027","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-credits","plugin_tags-shortcode","plugin_tags-source","plugin_tags-via","plugin_category-customization","plugin_contributors-jashjacob","plugin_committers-jashjacob"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/source-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/source-shortcode\/assets\/screenshot-1.png?rev=3637660","caption":""},{"src":"https:\/\/ps.w.org\/source-shortcode\/assets\/screenshot-2.png?rev=3637660","caption":""}],"raw_content":"<!--section=description-->\n<p>Credits Shortcode &amp; Block allows content creators to easily add formatted Source or Via attribution links to WordPress posts and pages.<\/p>\n\n<p>Supports the modern <strong>Gutenberg Block Editor<\/strong> (with live preview, customizable accent color pickers, and sidebar controls), traditional <strong>Shortcodes<\/strong>, and legacy <strong>Classic Editor<\/strong> toolbar buttons.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>credits-shortcode<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Sanitize attributes on input (<code>esc_url_raw<\/code>, <code>sanitize_text_field<\/code>, <code>sanitize_key<\/code>, <code>sanitize_hex_color<\/code>).<\/li>\n<li>Escape only when building output: <code>esc_url()<\/code> for href, <code>esc_html()<\/code> for text, <code>esc_attr( safecss_filter_attr() )<\/code> for inline CSS.<\/li>\n<li>Restrict accent colors to hex values and run the final markup through <code>wp_kses()<\/code>.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added native Gutenberg Block support (<code>credits\/shortcode<\/code>).<\/li>\n<li>Added custom Accent Color Pickers in the Block Editor sidebar and shortcodes.<\/li>\n<li>Added micro-interaction hover lift animations and smooth CSS transitions.<\/li>\n<li>Fixed Stored XSS vulnerability (CVE-2026-6256).<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Initial public release with Classic Editor support.<\/li>\n<\/ul>","raw_excerpt":"Easy shortcode and Gutenberg block to insert Source and Via Link inside posts in WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26027"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jashjacob"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26027"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26027"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26027"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26027"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26027"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}