Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create readme.txt #2

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
=== Plugin Name ===
Contributors: YourUserName
Tags: shortcode, paste, block editor, gutenberg, content
Requires at least: 6.5
Tested up to: 6.6.1
Stable tag: 1.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Prevent shortcode blocks from being automatically inserted when pasting into plain text blocks like paragraphs, headings, and quotes.

== Description ==
This plugin prevents WordPress from automatically converting shortcodes into shortcode blocks when pasted into plain text blocks in the block editor. The shortcode will be treated as plain text within the block.

== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/disable-shortcode-pasting` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. The plugin works automatically.

== Frequently Asked Questions ==

= Does this affect shortcode functionality on the front end? =
No, shortcodes will still work as expected on the front end. The plugin only affects how shortcodes are handled when pasted into the block editor.

== Changelog ==
= 1.0 =
* Initial release.

== Upgrade Notice ==
= 1.0 =
Initial version.

== License ==
This plugin is licensed under the GPLv2 or later. See the License URI for details.