-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explorations of Site Transfer Protocol
- Loading branch information
Showing
247 changed files
with
50,912 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Site Transfer Protocol prototype | ||
|
||
This is an exploration of what could become the WordPress | ||
Site Transfer Protocol. The current version is focused on | ||
finding and rewriting URLs as well as downloading any | ||
related assets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
require_once __DIR__ . "/../class-wp-html-token.php"; | ||
require_once __DIR__ . "/../class-wp-html-span.php"; | ||
require_once __DIR__ . "/../class-wp-html-text-replacement.php"; | ||
require_once __DIR__ . "/../class-wp-html-decoder.php"; | ||
require_once __DIR__ . "/../class-wp-html-attribute-token.php"; | ||
|
||
require_once __DIR__ . "/../class-wp-html-decoder.php"; | ||
require_once __DIR__ . "/../class-wp-html-tag-processor.php"; | ||
require_once __DIR__ . "/../class-wp-html-open-elements.php"; | ||
require_once __DIR__ . "/../class-wp-token-map.php"; | ||
require_once __DIR__ . "/../html5-named-character-references.php"; | ||
require_once __DIR__ . "/../class-wp-html-active-formatting-elements.php"; | ||
require_once __DIR__ . "/../class-wp-html-processor-state.php"; | ||
require_once __DIR__ . "/../class-wp-html-unsupported-exception.php"; | ||
require_once __DIR__ . "/../class-wp-html-processor.php"; | ||
|
||
require_once __DIR__ . "/../class-wp-xml-decoder.php"; | ||
require_once __DIR__ . "/../class-wp-xml-tag-processor.php"; | ||
require_once __DIR__ . "/../class-wp-xml-processor.php"; | ||
|
||
require_once __DIR__ . '/src/WP_Block_Markup_Processor.php'; | ||
require_once __DIR__ . '/src/WP_Block_Markup_Url_Processor.php'; | ||
require_once __DIR__ . '/vendor/autoload.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "wordpress/transfer-protocol", | ||
"autoload": { | ||
"psr-4": { | ||
"Wordpress\\TransferProtocol\\": "src/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Adam Zieliński", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"rowbot/url": "^4.0" | ||
} | ||
} |
Oops, something went wrong.