Commit graph

23 commits

Author SHA1 Message Date
Jason Crist
2b17395ef2
Replace/admin interface (#637)
Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
Co-authored-by: Vicente Canales <1157901+vcanales@users.noreply.github.com>
Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com>
2024-05-28 07:53:06 -04:00
Jason Crist
d3ffe65742
Use only major.minor version in 'Tested up to' field (#635)
Co-authored-by: Matias Benedetto <matias.benedetto@gmail.com>
2024-05-16 11:37:47 -04:00
Jason Crist
cbd0ba9133
Don't Clobber Metadata (#634)
* Add version to sanitized theme data so it isn't wiped when updating
* Pull license data from style.css
* Don't overwrite existing copyright in style.css
* Use WordPress minimum version from style.css
* allow blank fields when sanitizing theme data
* Use get_file_data for license parsing
2024-05-16 11:30:40 -04:00
Matias Benedetto
424ebee3b1
Add prefix to the names in the PHP global namespace. (#628)
Co-authored-by: Jason Crist <jcrist@pbking.com>
2024-05-14 07:27:30 -04:00
Jason Crist
b496fc090a
Reset changelog and version on clone and theme creation (#623) 2024-05-10 07:54:57 -04:00
Jason Crist
239d139950
Add/child theme creation (#531)
* Add Child Theme Creation to Site Editor

* Added 'export child theme' option
2024-04-02 17:47:01 +05:30
Jason Crist
20bcc01052
Extracted any logic that may need to be tested from the api class (#522)
* Extracted any logic that may need to be tested from the api class

* Refactored to facilitate testing

* Refactored zip construction to use shared code with saving logic

* Consolidated template and css parsing logic for theme exporting

* removed queryID removal from query blocks

* Fixed the image processing so that the id is removed from inner content correctly

* Added tests that evaluate encoded patterns and test patterns created from templates with media

* Added taxQuery removal tests and fixed taxQuery attribute removal logic

* Refactored image/cover processing to more cleanly handle id classes

* Add test and fixed bugs around escaping <'s and >'s

* localized quote blocks

* Added localization processing to list, verse, table and media-text blocks

---------

Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
Co-authored-by: Madhu Dollu <madhusudhan.dollu@gmail.com>
2024-03-27 09:41:01 -04:00
Matias Benedetto
5e352ac483 Set the initial version to 1.0.0 insted of 0.0.1 2023-07-07 13:35:22 +02:00
Sarah Norris
ab93cc7117 Update version logic to use isset() 2023-05-25 12:10:34 +01:00
Jason Crist
1cfd8b152b
Enhance/site editor to SAVE user changes, EDIT metadata, EXPORT as a zip, CLONE to create (#368) 2023-05-24 08:54:39 -04:00
Matias Benedetto
38ba8aae8b Updating "Requires at least" field for generated themes 2023-05-09 11:02:59 -03:00
Matias Benedetto
5a12a6b8f1
Merge pull request #337 from vcanales/fix-name-escaping
Strip escaping characters before printing stylesheet
2023-04-27 11:38:46 -03:00
Vicente Canales
232371c43d Remove escaping characters before printing css 2023-04-26 15:29:29 -04:00
Matias Benedetto
45ce6e4efe
Adding extra line break
Co-authored-by: Jeff Ong <jonger4@gmail.com>
2023-04-17 13:00:59 -03:00
Matias Benedetto
b24c8f388e avoid printing emptyline when template is not available 2023-04-13 10:15:35 -03:00
madhusudhand
bab3b68066 fix tag duplication in exported theme 2023-04-13 15:51:52 +05:30
Matias Benedetto
97dce15c2e Avoid adding Template info to style.css if it's empty 2023-04-12 12:38:11 -03:00
Matias Benedetto
9db048f3cf
Merge pull request #301 from WordPress/fix/child-themes-slugs
Fix theme slug, textdomain, and template for cloned, child and sibling themes.
2023-04-05 11:24:00 -03:00
Matias Benedetto
5f6de3dae6 fixing textdaomin and template settings of generated themes 2023-04-03 15:12:16 -03:00
Sarah Norris
f4070b2522 Add current WP version to style.css 2023-04-01 20:53:50 +01:00
madhusudhand
6636599633 fix php lint issues (auto fix) 2023-03-01 13:24:47 +05:30
madhusudhand
67de336b24 move style functions to own class 2023-02-27 13:12:01 -05:00
madhusudhand
2fb7e5601b prepare for moving functions to own classes 2023-02-27 13:12:01 -05:00