Commit Graph

6751 Commits

Author SHA1 Message Date
Andrew Nacin 22ce2c36c4 Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14572 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 20:02:49 +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
Andrew Nacin 6aa60bf619 Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14570 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:19:59 +00:00
Ryan Boren 511e11006c Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14569 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:55:12 +00:00
Ryan Boren 73d2946dfa Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14568 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:43:12 +00:00
Ryan Boren 411f09b811 No need to recount. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14567 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:38:51 +00:00
Ryan Boren 7be65b3730 Defer term counting until all nav menu items are updated. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14562 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:41:23 +00:00
Ron Rennick b30b30b943 allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: https://develop.svn.wordpress.org/trunk@14554 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:46:35 +00:00
Ron Rennick dddb4b9326 revert non-rewrite permalink settings to be compatible with 2.9, see 13106
git-svn-id: https://develop.svn.wordpress.org/trunk@14553 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:06:27 +00:00
Mark Jaquith 9ccf5de9de Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: https://develop.svn.wordpress.org/trunk@14551 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:21:42 +00:00
Peter Westwood 208fe21987 Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.
git-svn-id: https://develop.svn.wordpress.org/trunk@14548 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:55:52 +00:00
Andrew Nacin 8235a24f35 Fix double-tabbing in get_dropins.
git-svn-id: https://develop.svn.wordpress.org/trunk@14546 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:41:14 +00:00
Andrew Nacin 81ec5c6d42 Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.
git-svn-id: https://develop.svn.wordpress.org/trunk@14545 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:40:15 +00:00
Ryan Boren eac401c171 Don't use closed dir handle. Props Miloslav. fixes #13322
git-svn-id: https://develop.svn.wordpress.org/trunk@14540 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 16:06:46 +00:00
Andrew Nacin 3dd93e488b Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:51:57 +00:00
Andrew Nacin 1cdd8d707e Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:49:52 +00:00
Peter Westwood 6847f8e171 Fix typos. Props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@14524 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 09:59:43 +00:00
Andrew Nacin 7ea215494e Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 21:56:53 +00:00
Ron Rennick e3ee37d8a2 don't allow blog sub site in folder install, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14516 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 18:37:38 +00:00
Ron Rennick 0d826fa206 add subdomain explanation to network install, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14514 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:43:00 +00:00
Ron Rennick 9c8a73aa37 add network install rule, filter & UI tweaks, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14513 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:25:33 +00:00
Peter Westwood e88177d901 Only hide the bulk actions and not the filters when no comments. Fixes #13193.
git-svn-id: https://develop.svn.wordpress.org/trunk@14512 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 10:10:41 +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
Andrew Nacin c812b3a06b PHP4 compat in nav menu name truncation. props blepoxp, fixes #13295.
git-svn-id: https://develop.svn.wordpress.org/trunk@14505 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:49:45 +00:00
Andrew Nacin 40aa2e543b Fix warnings in WordPress importer. props briancolinger, fixes #13263.
git-svn-id: https://develop.svn.wordpress.org/trunk@14497 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:35:10 +00:00
Andrew Nacin 4b724a5d34 Use a more generic string for GUU plugins and themes, as inactive items aren't 'running.' fixes #12517.
git-svn-id: https://develop.svn.wordpress.org/trunk@14496 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:30:53 +00:00
Andrew Nacin 8d35ae8161 Simple warning text for global terms. Probably not enough considering the sky will fall on your head if you enable them, but it's a start. fixes #12666.
git-svn-id: https://develop.svn.wordpress.org/trunk@14494 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:58:35 +00:00
Andrew Nacin 49416615b4 Add missing closing div tags to some edit-comments.php branches. props JohnONolan, fixes #13287.
git-svn-id: https://develop.svn.wordpress.org/trunk@14493 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:38:12 +00:00
Nikolay Bachiyski e076d0b0ac Use sprintf instead of interpolation in translatable strings. Props demetris, fixes #13286
git-svn-id: https://develop.svn.wordpress.org/trunk@14492 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 00:50:12 +00:00
Andrew Nacin a30c320a55 Bump memory_limit for admins in wp-admin. Should help in imports, upgrades, uploads, etc. props MarkJaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14491 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 21:36:55 +00:00
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
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 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 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
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 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
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