-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into pr-preview
- Loading branch information
Showing
15 changed files
with
6,523 additions
and
4,475 deletions.
There are no files selected for viewing
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
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
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
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
29 changes: 29 additions & 0 deletions
29
packages/playground/data-liberation/src/WXR_Import_Info.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,29 @@ | ||
<?php | ||
/** | ||
* A fork of the WordPress Importer plugin (humanmade/WordPress-Importer). | ||
* It's meant to be rewritten to use the new libraries shipped with Data Liberation: | ||
* | ||
* * HTML parser | ||
* * Streaming XML parser | ||
* * Streaming multi-request HTTP client | ||
* | ||
* Original plugin created by Ryan Boren, Jon Cave (@joncave), Andrew Nacin (@nacin), | ||
* and Peter Westwood (@westi). Redux project by Ryan McCue and contributors. | ||
* | ||
* See https://github.com/humanmade/WordPress-Importer/blob/master/class-wxr-importer.php | ||
*/ | ||
class WXR_Import_Info { | ||
public $home; | ||
public $siteurl; | ||
|
||
public $title; | ||
|
||
public $users = array(); | ||
public $post_count = 0; | ||
public $media_count = 0; | ||
public $comment_count = 0; | ||
public $term_count = 0; | ||
|
||
public $generator = ''; | ||
public $version; | ||
} |
Oops, something went wrong.