Commit Graph

6719 Commits

Author SHA1 Message Date
nacin
1e13b43af0 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:19:53 +00:00
nacin
c9e06743d8 Use menu-bits-rtl image for RTL nav menu UI. props RanYanivHartstein, see #13166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 18:33:27 +00:00
nacin
0a71b5dc8a Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 17:11:52 +00:00
nacin
494290312a Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 15:40:29 +00:00
nacin
625f6d8ad5 Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:13:31 +00:00
nacin
e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
nacin
8b27606b04 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:23:53 +00:00
nacin
2d7f62489d Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 21:06:43 +00:00
nacin
7b8588152f Trim trailing whites from nav-menu js.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:37:32 +00:00
nacin
585ea858af Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 20:29:50 +00:00
nacin
a7dcc7881c Link to active plugins when we block a Network upgrade due to them. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 18:43:54 +00:00
westi
666ba09317 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:37:51 +00:00
westi
f1e2a3a5fa Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 07:10:53 +00:00
nacin
8f4be5c96b Media RTL fixes. props yoavf, fixes #12818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-05 06:24:24 +00:00
nacin
aaf3bf031f Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 22:28:51 +00:00
nacin
3d76f61923 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:28:31 +00:00
nacin
e532ec658c Remove unused woo nav menu icons. fixes #12876
git-svn-id: http://svn.automattic.com/wordpress/trunk@14453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 21:06:28 +00:00
nacin
1852eae49f Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 20:48:28 +00:00
wpmuguru
376a690988 add default comment status setting to populate_options(), see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:54:42 +00:00
nacin
eded683486 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: http://svn.automattic.com/wordpress/trunk@14450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:40:04 +00:00
nacin
37797d1dc9 Early pass on RTL for nav menu UI. props yoavf, see #13166
git-svn-id: http://svn.automattic.com/wordpress/trunk@14449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:34:38 +00:00
wpmuguru
96153a63ae add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:31:24 +00:00
wpmuguru
b28c363d78 add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: http://svn.automattic.com/wordpress/trunk@14446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 18:18:35 +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
nacin
9fb099891f Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
nacin
9e81303893 Define home_url() in load-scripts.php. see #9008, props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:08:28 +00:00
nacin
0891a9dea0 More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
3a69ab9602 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:54:35 +00:00
nacin
b5c233a1b5 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:41:46 +00:00
nacin
ac7687ee8d Have 'Add to Menu' and multiple-item drag/drop only affect one meta box at a time. props ptahdunbar, with koopersmith. Non-JS will still handle the meta boxes all together as one form. see #13220, see #13219.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 08:31:40 +00:00
nacin
7466fadd24 Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
ryan
2ecda01ce0 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: http://svn.automattic.com/wordpress/trunk@14428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:46:42 +00:00
dd32
72f99c8a96 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:39:57 +00:00
dd32
2bbdd19973 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:35:22 +00:00
wpmuguru
2c727e9442 themes admin pages UI cleanup, props PeteMall, see #13238
git-svn-id: http://svn.automattic.com/wordpress/trunk@14425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:25:14 +00:00
nacin
5b6f2a3944 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:18:49 +00:00
nacin
623461e9cf Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: http://svn.automattic.com/wordpress/trunk@14423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:08:02 +00:00
ryan
dda59949de User deletion fixes. Props yoavf. fixes #13242
git-svn-id: http://svn.automattic.com/wordpress/trunk@14422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:04:42 +00:00
wpmuguru
bc0ae7852f limit upload size to site's available limit, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:40:02 +00:00
nacin
248f4ab860 Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:16:48 +00:00
nbachiyski
1f18095da6 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: http://svn.automattic.com/wordpress/trunk@14416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 22:06:49 +00:00
nacin
a51e35301f Remove unused CSS. props koopersmith, see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:21:55 +00:00
westi
cdd52a2071 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 21:12:23 +00:00
nacin
86b856ee1b Truncate really long menu names. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:40:32 +00:00
nbachiyski
bebd1b8ea6 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: http://svn.automattic.com/wordpress/trunk@14407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:37:07 +00:00
nacin
b093a66876 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:31:34 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
efa2e9d397 Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:17:01 +00:00
nacin
aca357b327 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:10:26 +00:00
dd32
c5ff2b4ae9 Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: http://svn.automattic.com/wordpress/trunk@14398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:05:46 +00:00