Shortcodes In Comments

Plugin Description

Allows an admin-defined list of shortcodes to be expanded in comments.

Description

Allows an admin-defined list of shortcodes to be expanded in comments.

Installation

  • Download the latest release of the plugin from GitHub.
  • Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
  • Activate the plugin.
  • Configure the allowed shortcodes via the configuration page in the admin control panel (azurecurve menu); shortcodes from BBCode are allowed by default.

Frequently Asked Questions

Can I translate this plugin?

Yes, the .pot file is in the plugin’s languages folder; if you do translate this plugin, please send the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given).

Is this plugin compatible with both WordPress and ClassicPress?

This plugin is developed for ClassicPress, but will likely work on WordPress.

Changelog

  • Rebuilt to match the current azurecurve plugin architecture (namespaced code, settings/menu split across includes files, tabbed admin UI matching Shortcodes in Widgets).
  • Fixed a bug where the plugin misused the comments_template filter as if it were an action, risking the comments template failing to load on some sites; shortcode restriction is now applied entirely within the comment_text filter itself.
  • Fixed a bug where the allow-list restriction could remain in effect for the rest of the page after a comment was rendered, on any theme/template that doesn’t fire dynamic_sidebar().
  • Fixed allowed-shortcodes entries with surrounding whitespace (e.g. “b, i, u”) not matching correctly, and entries on separate lines not being treated as separators.
  • Fixed a PHP warning on a never-configured settings page (defaults weren’t actually applied on read).
  • Removed the multisite network-wide settings feature (Network Admin > Settings > Shortcodes in Comments and the per-site “Use Network Settings” option) – it was never really supported by ClassicPress and, on top of that, was found to be non-functional in the pre-2.0.0 plugin (the save form posted to the wrong endpoint for the action hook that was registered, so saving network settings silently did nothing). Each site now always uses its own Settings tab.
  • Fixed an inefficient plugin_action_links hook so it no longer runs for every plugin on the Plugins list page.
  • Replaced the hard-coded “Shortcodes in Widgets” link with a standard, auto-generated Other Plugins tab.
  • Added an Instructions tab.
  • Added a proper uninstall.php cleanup, consistent with the rest of the azurecurve plugin family.
  • BREAKING: minimum PHP requirement raised to 8.2.
  • BREAKING: text domain renamed from shortcodes-in-comments to azrcrv-sic; existing translation (.po/.mo) files must be re-supplied under the new domain.
  • Update readme.md and remove readme.txt (not required for ClassicPress).
  • Update azurecurve menu.
  • Update plugin header and readme yet again for compatibility with ClassicPress Directory v2.
  • Fix bug with unset options.
  • Update plugin header and readme for compatibility with ClassicPress Directory v2.
  • Update Update Manager to version 2.5.0.
  • Update readme file for compatibility with ClassicPress Directory.
  • Update readme files.
  • Update language template.
  • Fix bug with azurecurve menu.
  • Update azurecurve menu.
  • Update readme files.
  • Update azurecurve menu and logo.
  • Fix plugin action link to use admin_url() function.
  • Rewrite option handling so defaults not stored in database on plugin initialisation.
  • Add plugin icon and banner.
  • Update azurecurve plugin menu.
  • Fix bug with setting of default options.
  • Fix bug with plugin menu.
  • Update plugin menu css.
  • Rewrite default option creation function to resolve several bugs.
  • Fix bug in remove shortcodes function.
  • Upgrade azurecurve plugin to store available plugins in options.
  • Update Update Manager class to v2.0.0.
  • Update action link.
  • Update azurecurve menu icon with compressed image.
  • Fix wrong link to Shortcodes in Widgets
  • Fix bug with incorrect language load text domain.
  • Add integration with Update Manager for automatic updates.
  • Fix issue with display of azurecurve menu.
  • Change settings page heading.
  • Add load_plugin_textdomain to handle translations.
  • Update azurecurve menu for easier maintenance.
  • Move require of azurecurve menu below security check.
  • Localization fixes.
  • Initial release for ClassicPress forked from azurecurve Shortcodes in Comments WordPress Plugin.

Other Notes

About azurecurve

azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.

The plugins available from azurecurve are: