Commit Graph

63 Commits

Author SHA1 Message Date
Andrew Nacin 2b88e9eb56 Pull the list of popular importers from WordPress.org.
These are the importers we suggest on import.php, prompting the user to
install the relevant plugin for the import they want to go through.

If the API is inaccessible, it falls back to a hard-coded list that should
be kept sync'd with the API with each major version of WordPress. This API
enables us to add new importers between releases, as they are completed or
if services gain quick adoption. As a last resort, we can also temporarily
disable importers that are broken (due to API changes, for example).

The importer currently returns English strings (which are then run through
translate() for existing strings), but the locale is passed to the API,
allowing us to ship translated strings if we wish to be adventurous.

props dllh for the assist.
fixes #18977.



git-svn-id: https://develop.svn.wordpress.org/trunk@22632 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 07:20:04 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +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 480a7cee6b Update help content for import page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19461 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:38:13 +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
Dion Hulse d2f80c9e5a Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: https://develop.svn.wordpress.org/trunk@18985 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:32:28 +00:00
Andrew Ozz 2f8ab419ac Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18704 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 19:39:49 +00:00
Jon Cave bfd95749bd Pull out old import remnant from when importers were shipped in core. Fixes #15844.
git-svn-id: https://develop.svn.wordpress.org/trunk@18640 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:18:36 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Jon Cave 707ab6c656 Direct a user to the main site to install importers, fixes #17990
git-svn-id: https://develop.svn.wordpress.org/trunk@18535 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 20:49:47 +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 ff7001986a Enqueue plugin-install scripts and styles on import.php. props ocean90, fixes #15842.
git-svn-id: https://develop.svn.wordpress.org/trunk@17086 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:47:23 +00:00
Peter Westwood 103a31e361 Check for the wp-admin/imports folder before we open it so we don't show notices when it isn't there.
git-svn-id: https://develop.svn.wordpress.org/trunk@16996 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:20:12 +00:00
Andrew Nacin 541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +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
Andrew Nacin 3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Pete Mall 38298f9d88 Use net admin plugin-install in site admin tools. Fixes #15839
git-svn-id: https://develop.svn.wordpress.org/trunk@16976 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 03:09:06 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Dion Hulse 82443ce769 Use Absolute URL's & API's in header redirects in more locations. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Andrew Nacin 8a95a0d25d i18n a string in import.php. props vanillalounge, fixes #14086 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15326 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:04:54 +00:00
Andrew Nacin 3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Ryan Boren 5eb178ac14 Sort only when importers exist. Props aaroncampbell. fixes #13806
git-svn-id: https://develop.svn.wordpress.org/trunk@15181 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:33:16 +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 ba0dab7090 Use import cap. Add old edit_files cap to list of caps to shutdown if DISALLOW_FILE_EDIT. see #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15097 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:08:27 +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
Dion Hulse 86f16a1881 Change Install link to Activate link in Importer if plugin appears to be already installed. See #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14986 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:23:07 +00:00
Dion Hulse 94487bb9ea Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14985 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:04:08 +00:00
Andrew Nacin fdf4f195df Nicer message for an uninstalled/invalid importer. see #13566.
git-svn-id: https://develop.svn.wordpress.org/trunk@14970 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:03:06 +00:00
Andrew Nacin 91651abeed Remove debug. see #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14969 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:34:53 +00:00
Andrew Nacin 7dfa8b6bf6 Match up plugin slugs with importer slugs when checking if they're installed. They're different for MT and wpcat2tag currently. see #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14968 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:32:01 +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
Andrew Nacin 314a092327 Fix some typos. props xibe, fixes #13537.
git-svn-id: https://develop.svn.wordpress.org/trunk@14898 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:53:34 +00:00
Nikolay Bachiyski 7fea6b4397 Fix MovableType importer plugin slug typo. The real one is movabletype-importer, not mt-importer.
git-svn-id: https://develop.svn.wordpress.org/trunk@14874 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 11:37:25 +00:00
Ryan Boren d789bdf5d8 Add cat2tag converter to importer install list. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14807 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 22:54:52 +00:00
Ryan Boren 9a7b926d5c Fix quoting. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14762 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:43:52 +00:00
Ryan Boren 68144f6136 Add install links to the importer list if popular importers are not present. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14759 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:20:25 +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 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
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
Ryan Boren ff3f697dbf Create Tools screen. fixes #8361
git-svn-id: https://develop.svn.wordpress.org/trunk@9929 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:11:25 +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 57a1c6f31e CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9733 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 18:01:00 +00:00
Mark Jaquith 202c2fc0be Covering our XSS bases
git-svn-id: https://develop.svn.wordpress.org/trunk@9233 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:06:22 +00:00
Mark Jaquith 377ad4f01d Bring back the H2s. Rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@9232 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:02:03 +00:00
Ryan Boren 8f62bd766a h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9032 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-29 22:06:23 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00