Commit Graph

2024 Commits

Author SHA1 Message Date
Ryan Boren 172c975f2d User deletion fixes. Props yoavf. fixes #13242
git-svn-id: https://develop.svn.wordpress.org/trunk@14422 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:04:42 +00:00
Ron Rennick e35e6165ab limit upload size to site's available limit, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Andrew Nacin b2093dbdfd Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: https://develop.svn.wordpress.org/trunk@14418 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:16:48 +00:00
Peter Westwood 8112a99438 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: https://develop.svn.wordpress.org/trunk@14411 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:12:23 +00:00
Nikolay Bachiyski abf6b82a23 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: https://develop.svn.wordpress.org/trunk@14407 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:37:07 +00:00
Andrew Nacin 60ae097b78 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: https://develop.svn.wordpress.org/trunk@14405 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:31:34 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin 54c73c0c2b Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14400 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:17:01 +00:00
Andrew Nacin 2fa9643cf2 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: https://develop.svn.wordpress.org/trunk@14399 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:10:26 +00:00
Andrew Nacin d2b523c847 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14397 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:01:59 +00:00
Andrew Nacin 2f0d602eeb Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: https://develop.svn.wordpress.org/trunk@14393 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:33:23 +00:00
Dion Hulse 7f9bee2845 Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Dion Hulse 54c97bf8d1 Fix ZIP_ER_OK constant, Its a class constant, and only accessible as such under PHP5. Props sivel for noticing. Fixes #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14377 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:44:34 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Peter Westwood cb10f6b4ae Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@14371 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:29:15 +00:00
Peter Westwood 17008f920f Correctly mark things as private in the phpDoc
git-svn-id: https://develop.svn.wordpress.org/trunk@14370 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:27:15 +00:00
Peter Westwood 137564fa08 Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: https://develop.svn.wordpress.org/trunk@14369 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:23:34 +00:00
Dion Hulse 123d37b55c Update logo image URL in Gears manifest. Props ocean90. Fixes #13177
git-svn-id: https://develop.svn.wordpress.org/trunk@14356 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 00:47:10 +00:00
Ryan Boren 37804526a0 Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14352 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:40:34 +00:00
Dion Hulse bd807c6c5f Skip over __MACOSX folders during zip extraction. Props chrisbliss18. Fixes #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14349 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:24:36 +00:00
Andrew Nacin 63fa3e7f3f Support network-wide plugin re-activation in upgrades and edits. props PeteMall, fixes #13216
git-svn-id: https://develop.svn.wordpress.org/trunk@14348 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:57:44 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Dion Hulse 6b49c70b09 Check for "ZIP_ER_OK" return value on ZipArchive. See #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14346 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:25:30 +00:00
Andrew Nacin 103e30ed7e Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: https://develop.svn.wordpress.org/trunk@14337 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 19:09:10 +00:00
Andrew Nacin d5b8eeaa25 Use the correct defines in secret_salt_warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@14329 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:50:55 +00:00
Andrew Nacin 5f0218032f Show > 100% blog space used in MS Right Now.
git-svn-id: https://develop.svn.wordpress.org/trunk@14327 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 22:06:48 +00:00
Andrew Nacin f049bc949c s/blog/site/ in more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@14326 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 07:09:38 +00:00
Andrew Nacin 9c1b915fea Change 'WordPress Development Blog' to 'WordPress Blog' in the dashboard widget.
git-svn-id: https://develop.svn.wordpress.org/trunk@14324 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:56:29 +00:00
Andrew Nacin 8722ccc178 Use a class for update-nag, as especially in MS we're sometimes hooking in more than one per page.
git-svn-id: https://develop.svn.wordpress.org/trunk@14319 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:37:46 +00:00
Andrew Nacin 26f7f2be9d Clean up secret_salt_warning. Use stronger version of wp_generate_password. Shrink line-height of #update-nag so multiple-line messages don't look so awful, use padding instead.
git-svn-id: https://develop.svn.wordpress.org/trunk@14318 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:25:54 +00:00
Andrew Nacin 2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Peter Westwood 212b78b807 Fix support for rewrites on IIS7. Fixes #12973 props Frumph and ruslany.
git-svn-id: https://develop.svn.wordpress.org/trunk@14312 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 21:41:20 +00:00
Ryan Boren b46e129883 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14306 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 19:16:21 +00:00
Ryan Boren 12fc1ca1b7 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14304 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:27:46 +00:00
Ryan Boren bd14ce7734 Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14301 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 17:47:11 +00:00
Andrew Nacin 5dbf47294f When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:33:56 +00:00
Andrew Nacin e70f958bff Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14293 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:10:54 +00:00
Andrew Nacin 3f9d235435 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: https://develop.svn.wordpress.org/trunk@14292 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:11:44 +00:00
Andrew Nacin ffc6b5e799 Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14291 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:01:44 +00:00
Andrew Nacin 5a46795d60 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:39 +00:00
Andrew Nacin b8f8327393 Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: https://develop.svn.wordpress.org/trunk@14285 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 20:44:08 +00:00
Andrew Nacin c5eb9e9c61 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 18:30:32 +00:00
Andrew Nacin 4a0ad66c0d Better DNS error message in network.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@14275 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:40:49 +00:00
Andrew Nacin aeb062fbc5 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: https://develop.svn.wordpress.org/trunk@14271 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 05:02:09 +00:00
Andrew Nacin 610abdf2a5 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: https://develop.svn.wordpress.org/trunk@14267 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:09:00 +00:00
Andrew Nacin 01369d744f Some default password nag and user-edit div.error style cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14261 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 21:57:18 +00:00
Ryan Boren 77be931ef4 New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 01:05:58 +00:00
Ryan Boren 4fea823167 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14243 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:52:14 +00:00
Ryan Boren 92b7f84b59 Hook update_option_new_admin_email to add_option_new_admin_email so that the confirmation email gets set even when new_admin_email doesn't already exist. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@14242 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 18:20:11 +00:00
Ryan Boren 02bda72572 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14235 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:59:03 +00:00