Sergey Biryukov
0bb47182a4
Remove redundant esc_url() call. props pauldewouters. fixes #23643 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:27:03 +00:00
Peter Westwood
8b9ab93511
Export: Ignore auto-drafts when building the list of users for the export file. Fixes #21960 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 21:48:52 +00:00
Ryan Boren
cfb35a9d85
Use get_post() instead of global $post.
...
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.
Props nacin
see #21309
git-svn-id: http://core.svn.wordpress.org/trunk@21735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 16:29:28 +00:00
duck_
4d600fe454
Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:51:14 +00:00
duck_
6f343f700f
Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:48:45 +00:00
nacin
bdd70470e2
Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440 . see #5517 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
nacin
89c5a967d6
Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:32:44 +00:00
nacin
fad60afa23
Code readability improvements. props niallkennedy, fixes #17166 , #17182 , #17231 , #16474 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
ryan
a5361b3b24
Export commentmeta. Props duck_. see #12871
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 19:25:45 +00:00
markjaquith
3dabc4a39e
Skip authors that no longer exist when doing an export. props nacin. fixes #16479
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:58:41 +00:00
ryan
1fe263e46c
Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 17:38:22 +00:00
nacin
9722f6a8cb
Export filtering JS and minor tweaks. props duck_, see #15197 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 11:21:08 +00:00
ryan
ce490df051
Export filtering. Props duck_. fixes #15197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
nacin
ee1ba7f2f3
Importer and exporter overhaul, mega props duck.
...
Exporter overhaul:
* Add author information to export
* Greater usage of slug identifiers
* Don't export auto-drafts, spam comments, or edit lock/last meta keys
* Inline documentation improvements
* Remove filtering for now (@todo)
* Bump WXR version to 1.1, but remain back compat in the importer
Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249 ):
* Use an XML parser where available (SimpleXML, XML Parser)
* Proper import support for navigation menus
* Many bug fixes, specifically improvements to category and custom taxonomy handling
* Better author/user mapping
Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108 .
See #15197 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@15961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:43:52 +00:00
nacin
23c773df72
Use correct variable in export. fixes #14213 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:24:38 +00:00
westi
b54183ae4c
Escape the guid urls when placing them in feeds and other xml locations. See #13555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
ryan
1a552dd029
Strip trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
wpmuguru
f77a0f2bfd
more use get_blogaddress_by_name, see #12735
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 23:00:48 +00:00
wpmuguru
cea6004286
export improvements, props blepoxp, see #10317
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:31:36 +00:00
ryan
e25a65b36a
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
wpmuguru
c4f0134808
add features to export, see #10317
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 16:45:40 +00:00
ryan
51066760c6
Export post <-> term relationships for all taxonomies. fixes #12180
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 19:17:00 +00:00
westi
f05ee1844f
Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
ryan
cedfa0181b
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
westi
10a5ba6622
Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 13:03:34 +00:00
markjaquith
8f2d7720db
Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:42:45 +00:00
ryan
3fc2cea52e
Export and import custom taxonomies. Props chrisscott. fixes #10012
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 13:57:55 +00:00
westi
5188723e01
Fix some login typos. Fixes #11031 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 09:28:20 +00:00
ryan
8e3808bce2
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
westi
d74205ae0a
Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-04 21:46:42 +00:00
markjaquith
119b39cec2
deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
westi
028b5648fc
Update importing instructions in the WXR export file. Fixes #8483 props yoavf.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 20:34:00 +00:00
ryan
b4d5ab3a01
Declare excerpt namespace. Props byrnereese. fixes #7624
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 00:57:13 +00:00
ryan
ac5bbe268f
Don't put revisions in the export
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@9104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 23:49:46 +00:00
ryan
e3f6b2b271
phpdoc for wp-admin/includes from jacobsantos. see #7527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
ryan
47e6a79b98
Export and import post excerpts. Props kartik_subbarao. fixes #5555
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 22:22:21 +00:00
ryan
248a0c06e2
Prepare DB queries in more places. Props filosofo. see #6644
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:13:25 +00:00
westi
7741d8ea53
Enclose more things as CDATA when exporting. Fixes #4242 props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 19:37:18 +00:00
ryan
47faf261ba
Add post_password to export. Props Nazgul. fixes #4376
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-07 19:22:59 +00:00
ryan
d88983793b
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
85267d4d17
the_content_export filter from tellyworth. fixes #5465
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 21:40:28 +00:00
ryan
0f846cd38f
Additional metadata for wxr export from tellyworth. fixes #5454
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-12 05:11:24 +00:00
ryan
dab1c792c7
Remove unused variables. Props DD32. fixes #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
ryan
9e8d25e767
Move export_wp() to an include. Props tellyworth. fixes #5347
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-15 05:32:33 +00:00