Commit Graph

95 Commits

Author SHA1 Message Date
Jon Cave
d5f47d78fc Rename filter on $args sent to export_wp() for clarity. See #19863.
git-svn-id: https://develop.svn.wordpress.org/trunk@22402 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 14:51:45 +00:00
Andrew Nacin
0c2e06909d Add the export_filters and wp_export_args hooks. props MartyThornley, brandondove. fixes #19863.
git-svn-id: https://develop.svn.wordpress.org/trunk@22392 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:06:44 +00:00
Andrew Nacin
2cb8c9eade @since for some internal functions. props SergeyBiryukov, fixes #21886.
git-svn-id: https://develop.svn.wordpress.org/trunk@21994 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-25 02:24:58 +00:00
Andrew Nacin
eea7a4b8d3 Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
git-svn-id: https://develop.svn.wordpress.org/trunk@21856 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-15 19:49:21 +00:00
Ryan Boren
1bd73817b0 Make the 'Download Export File' button primary. Props helenyhou. fixes #21781
git-svn-id: https://develop.svn.wordpress.org/trunk@21749 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:11:17 +00:00
Andrew Nacin
eb4dd3e15f Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390.
git-svn-id: https://develop.svn.wordpress.org/trunk@20605 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 00:58:16 +00:00
Jon Cave
7f6061b728 Show correct export date range for pages. The query should use provided $post_type instead of always 'post'. Props sorich87. Fixes #19312.
git-svn-id: https://develop.svn.wordpress.org/trunk@19626 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 12:08:26 +00:00
Ryan Boren
54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Andrew Nacin
57da602f61 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19509 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:17:14 +00:00
Daryl Koopersmith
a7d44f10e9 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19462 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:40:36 +00:00
Andrew Nacin
33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren
db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren
ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Andrew Nacin
f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Andrew Nacin
752808cbd3 Fix name attribute in export. props ocean90, see [16975], fixes #15901.
git-svn-id: https://develop.svn.wordpress.org/trunk@17063 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 20:56:38 +00:00
Andrew Nacin
7feeb0a320 Help text edits. props dougwrites, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@16980 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:37:03 +00:00
scribu
0db22e3c67 Use wp_dropdown_users() in export.php again, due to [16974]. See #15786
git-svn-id: https://develop.svn.wordpress.org/trunk@16975 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 00:02:36 +00:00
scribu
d851061a62 Revert to raw SQL query and HTML in export author dropdowns. Fixes #15786
git-svn-id: https://develop.svn.wordpress.org/trunk@16972 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 22:38:07 +00:00
Ryan Boren
6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Andrew Nacin
e16287f1fa Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 11:21:08 +00:00
Ryan Boren
51879abf56 Export filtering. Props duck_. fixes #15197
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Mark Jaquith
d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Andrew Nacin
b0208b5a8c 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: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
scribu
0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
Andrew Nacin
0f2f62762b Revert typo. Thanks autocomplete for randomly modifying my file. see #14026.
git-svn-id: https://develop.svn.wordpress.org/trunk@15307 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:22:43 +00:00
Andrew Nacin
f3100ef18c Avoid variable clash in export.php. see #14026 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15306 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:17:49 +00:00
Andrew Nacin
2990e72571 target=blank help fixes. props zeo, fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15135 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 03:42:43 +00:00
Ryan Boren
171d6811cc Add export capability. fixes #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15096 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:02:05 +00:00
Nikolay Bachiyski
432ac03fb2 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: https://develop.svn.wordpress.org/trunk@14989 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:52:15 +00:00
Ryan Boren
de0488a920 Tools help. Props duck_. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14966 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 22:18:19 +00:00
Ryan Boren
aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin
83ce9d9761 Less clunky export UI. see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14794 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 21:39:35 +00:00
Nikolay Bachiyski
599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Nikolay Bachiyski
ad3881470e I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:52:50 +00:00
Ron Rennick
b5f96d7953 make end month in export inclusive, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14509 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 21:53:11 +00:00
Ron Rennick
97af53477e include dates from all post types/stati. props michaelh, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14506 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:51:01 +00:00
Ron Rennick
0e9d18f366 export improvements, props blepoxp, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14444 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:31:36 +00:00
Andrew Nacin
8800622876 s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14313 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 01:54:32 +00:00
Andrew Nacin
ac368dbd77 Optimize the Authors drop-down in export.php. Makes it one query, also orders authors by display name. see #10317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14153 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 14:51:55 +00:00
Andrew Nacin
ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Ryan Boren
e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ron Rennick
b921286ce2 add features to export, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@13573 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 16:45:40 +00:00
Andrew Ozz
cdf06921c7 More cap checks, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11764 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-02 02:23:54 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren
3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Andrew Ozz
90c37c1792 Screen icons
git-svn-id: https://develop.svn.wordpress.org/trunk@9903 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 13:51:25 +00:00
Andrew Ozz
4d59069999 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: https://develop.svn.wordpress.org/trunk@9369 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 20:41:05 +00:00
Ryan Boren
c368483c2d Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9270 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-21 23:54:18 +00:00