Commit Graph

13254 Commits

Author SHA1 Message Date
Andrew Nacin 910c8e8bc9 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:53:40 +00:00
Peter Westwood 51aa71c394 Pass extra context to wpmu_new_blog.
git-svn-id: https://develop.svn.wordpress.org/trunk@14484 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:36:20 +00:00
Peter Westwood ebbb23e25b Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@14483 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:31:45 +00:00
Andrew Nacin 368521cd69 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14482 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:19:53 +00:00
Andrew Nacin 86801ae5fe Use menu-bits-rtl image for RTL nav menu UI. props RanYanivHartstein, see #13166.
git-svn-id: https://develop.svn.wordpress.org/trunk@14481 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:33:27 +00:00
Andrew Nacin b6d274e817 Small fix to r14479. see #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14480 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:16:39 +00:00
Andrew Nacin 934d7c5580 Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14479 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:07:50 +00:00
Andrew Nacin cba25aba7e Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: https://develop.svn.wordpress.org/trunk@14478 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:03:05 +00:00
Andrew Nacin 0b3e082d6e Remove duplicated query var. props lriggle, fixes #13280.
git-svn-id: https://develop.svn.wordpress.org/trunk@14477 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:49:54 +00:00
Andrew Nacin c8f449daa3 In Twenty Ten, give single.php a valid loop. fixes #13279.
git-svn-id: https://develop.svn.wordpress.org/trunk@14476 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:34:17 +00:00
Andrew Nacin 04919ebe8b Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:11:52 +00:00
Andrew Nacin 8996028929 Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14474 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 15:40:29 +00:00
Andrew Nacin 161b1af64e Allow comments on private posts to proceed past the comment_on_draft action and exit branch. We handle whether the commenter has the appropriate caps further down. fixes #13276.
git-svn-id: https://develop.svn.wordpress.org/trunk@14473 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 15:38:40 +00:00
Andrew Nacin 8cf4e1051f Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:13:31 +00:00
Andrew Nacin 465cce3e6a Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:09:10 +00:00
potbot 49b7670521 POT, generated from r14469
git-svn-id: https://develop.svn.wordpress.org/trunk@14470 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 04:21:21 +00:00
Matt Thomas 624ab9b864 Add a home link to the navigation in twenty ten. Props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@14469 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 03:04:22 +00:00
Andrew Nacin 6c397f5e43 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14468 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:23:53 +00:00
Andrew Nacin 13e9671554 Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14467 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:06:43 +00:00
Andrew Nacin e9d6adf3bf Add editor-style-rtl.css. props yoavf, fixes #13121.
git-svn-id: https://develop.svn.wordpress.org/trunk@14466 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:38:42 +00:00
Andrew Nacin e480eb8b50 Trim trailing whites from nav-menu js.
git-svn-id: https://develop.svn.wordpress.org/trunk@14465 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:37:32 +00:00
Andrew Nacin 971d337bd3 Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:29:50 +00:00
Andrew Nacin 71c9ad21de Link to active plugins when we block a Network upgrade due to them. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14463 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 18:43:54 +00:00
Peter Westwood 16db1d5699 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14462 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:37:51 +00:00
Peter Westwood e52964ab4d Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: https://develop.svn.wordpress.org/trunk@14461 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:10:53 +00:00
Andrew Nacin febbe5b9ea Media RTL fixes. props yoavf, fixes #12818.
git-svn-id: https://develop.svn.wordpress.org/trunk@14460 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 06:24:24 +00:00
Andrew Nacin c2c58d26d8 Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: https://develop.svn.wordpress.org/trunk@14459 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:28:51 +00:00
Ron Rennick e4fd58acb4 use same salts/keys across network, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14458 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:08:53 +00:00
Andrew Nacin 1ec3a58cd1 Check custom links, including a home link, against the current URL to see if we should add current-menu-item. props ptahdunbar, fixes #13213, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14457 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:01:56 +00:00
Nikolay Bachiyski 53e65714a1 Cast the result of glob(), because on some systems it returns false on empty result set. Props ipstenu, fixes #13252
git-svn-id: https://develop.svn.wordpress.org/trunk@14456 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:55:34 +00:00
Andrew Nacin 8d6694a68d Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008.
git-svn-id: https://develop.svn.wordpress.org/trunk@14455 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:41:45 +00:00
Andrew Nacin 14c06f5e81 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: https://develop.svn.wordpress.org/trunk@14454 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:28:31 +00:00
Andrew Nacin 15eb5cc5d3 Remove unused woo nav menu icons. fixes #12876
git-svn-id: https://develop.svn.wordpress.org/trunk@14453 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:06:28 +00:00
Andrew Nacin 42e9ce36fc 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: https://develop.svn.wordpress.org/trunk@14452 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 20:48:28 +00:00
Ron Rennick 0a20229178 add default comment status setting to populate_options(), see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14451 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:54:42 +00:00
Andrew Nacin 6034c105d6 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: https://develop.svn.wordpress.org/trunk@14450 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:40:04 +00:00
Andrew Nacin f6534374e7 Early pass on RTL for nav menu UI. props yoavf, see #13166
git-svn-id: https://develop.svn.wordpress.org/trunk@14449 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:34:38 +00:00
Ron Rennick bdb89ac091 add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14448 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:31:24 +00:00
Ron Rennick 3dea05d10c use reset vs offset 0, props scribu, see #13246
git-svn-id: https://develop.svn.wordpress.org/trunk@14447 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:41:38 +00:00
Ron Rennick 7874be066e add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14446 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:18:35 +00:00
Dion Hulse 12196261a4 Handle $wp_query->query being a string in r14341. See #12391, #12047. Fixes #13241
git-svn-id: https://develop.svn.wordpress.org/trunk@14445 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:08:03 +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 84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Andrew Nacin 9c37369cd5 Define home_url() in load-scripts.php. see #9008, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14442 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:08:28 +00:00
Ron Rennick 5ac6893996 add export property to post types, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14441 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 16:23:25 +00:00
Andrew Nacin 0593984cba Remove re-adding of filter. see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@14440 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 16:00:30 +00:00
Andrew Nacin 16d48e323b 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: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin cc8ae672a6 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14438 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:54:35 +00:00
Andrew Nacin 6d40008887 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: https://develop.svn.wordpress.org/trunk@14437 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:41:46 +00:00
Andrew Nacin 13e1cfef44 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: https://develop.svn.wordpress.org/trunk@14436 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:31:40 +00:00