Skip to content

Update readme.txt for WP 7.1 and replace scaffold placeholder text - #32

Open
miyanialkesh7 wants to merge 1 commit into
wptrainingteam:trunkfrom
miyanialkesh7:readme-wp71-compatibility
Open

Update readme.txt for WP 7.1 and replace scaffold placeholder text#32
miyanialkesh7 wants to merge 1 commit into
wptrainingteam:trunkfrom
miyanialkesh7:readme-wp71-compatibility

Conversation

@miyanialkesh7

Copy link
Copy Markdown

Summary

  • Bumped Tested up to: 6.77.1.
  • Added Requires at least: 6.7 and Requires PHP: 7.4 to readme.txt — these were only declared in the plugin file header before, not in readme.txt (WordPress.org reads readme.txt's header for the directory listing, so it should match).
  • Replaced the Create Block tool's placeholder Description/Installation/FAQ text in readme.txt with real content describing what the plugin's three blocks (Banner, Toggle, Slider) actually do, including the composer install activation requirement.
  • Removed the Screenshots section (referenced screenshot-1.png/screenshot-2.png, which don't exist in this repo — Plugin Check flags dangling screenshot references) and the Arbitrary section block (contained only the scaffold's explanatory placeholder text, no real content).
  • Also updated the plugin file's own header Description: field, which had the same Example block scaffolded with Create Block tool. placeholder, so it's consistent with readme.txt's short description.
  • No version bump — Stable tag stays 0.1.0; Changelog untouched.

Note: this touches the plugin header's Description: line in advanced-multi-block.php, close to (but not overlapping) the lines changed by the wp_trigger_error PR in this batch — flagging in case of merge-order conflicts.

Test Plan

  • php -l passes on advanced-multi-block.php
  • Diffed every header field in readme.txt against the plugin file's own header block — Requires at least, Requires PHP, Description, and Stable tag/Version now match exactly
  • Confirmed no remaining references to nonexistent screenshot assets

Bump Tested up to from 6.7 to 7.1, add the Requires at least/Requires
PHP fields (matching the plugin file header, previously only declared
in one place), and replace the Create Block tool's placeholder
description/installation/FAQ text with content describing what the
plugin's three blocks actually do. Drop the Screenshots and Arbitrary
section blocks, which only contained unfilled boilerplate and, for
Screenshots, referenced screenshot files that don't exist in the repo.

Also updates the plugin file's own header Description field, which
had the same "Example block scaffolded with Create Block tool."
placeholder text, to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant