create-block-theme/tests/data/themes/test-theme-readme
Matias Benedetto 7aed6ce339
Refactor Theme_Readme (readme.txt) PHP class (#626)
* refactor ThemeReadme class

* update phpunit tests config to make it more similar to core

* Add tests for ThemeReadme class public methods

* simplify copyright text creation

* Fix cloned theme reference to original theme

* updates comment

* Theme_Reade::update receives a parameter with the readme content.

* remove not so useful write method

* Moved readme data fetching logic from utils to readme class and fleshed it out to get all sections.

* Fetch and use the readme data in the metadata panel (for recomended plugins)

---------

Co-authored-by: Jason Crist <jcrist@pbking.com>
2024-05-13 10:47:39 -03:00
..
readme.txt Refactor Theme_Readme (readme.txt) PHP class (#626) 2024-05-13 10:47:39 -03:00
style.css Refactor Theme_Readme (readme.txt) PHP class (#626) 2024-05-13 10:47:39 -03:00
theme.json Refactor Theme_Readme (readme.txt) PHP class (#626) 2024-05-13 10:47:39 -03:00

=== Test Readme Theme ===
Contributors: wordpressdotorg
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 7.0
Stable tag: 2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


== Description ==

Test Readme Theme is a test theme created with the sole purpose of testing the Create_Block_Theme_Readme class.


== Changelog ==

= 1.0 =
* Initial release

= 1.1 =
* Added new feature

= 2.0 =
* Added new major feature

= 2.1 =
* Added new feature


== Copyright ==

Test Readme Theme WordPress Theme, (C) 2023 WordPress.org
Test Readme Theme is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


=== Images ===

License: CC0 https://creativecommons.org/publicdomain/zero/1.0/

museum.webp - https://www.rawpixel.com/image/3297419/free-photo-image-interior-hallway-architecture
tourist-and-building.webp - https://www.rawpixel.com/image/5928004/photo-image-public-domain-hand-person