Commit Graph

6354 Commits

Author SHA1 Message Date
Dion Hulse
f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse
0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Andrew Nacin
09f09e4852 Clean up repetitive string. fixes #11850, props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13477 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:31:54 +00:00
Andrew Nacin
969f13bfa6 Add link to dashboard after core upgrade. props Simek, fixes #11629 see #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@13476 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:12:43 +00:00
Ron Rennick
ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin
7bf76c1e79 Fix typo in [13471]. Props miqrogroove, see #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13472 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:54:40 +00:00
Andrew Nacin
ae12391427 Make it more obvious we're escaping values in options.php. fixes #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13471 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:50:00 +00:00
Andrew Nacin
50fe60235b When deleting plugins, check for uninstall hooks and warn of data deletion. Props cyberhobo. Pluralize some string(s). fixes #11850
git-svn-id: https://develop.svn.wordpress.org/trunk@13470 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:01:22 +00:00
Ron Rennick
7f3a30a9c0 add full file paths in network install, see #12332
git-svn-id: https://develop.svn.wordpress.org/trunk@13466 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:48:43 +00:00
Ron Rennick
bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Ron Rennick
97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick
60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin
5c8e788197 Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13459 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:44:26 +00:00
Andrew Nacin
ddb16a0d4a Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13458 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:35:41 +00:00
Andrew Nacin
6e071efc20 Fix include paths. props nadavvin fixes #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:15:46 +00:00
Andrew Nacin
3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin
bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Mark Jaquith
039b7de070 Plugin activation attempt goes through a function to show the same errors as the test. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13452 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:24:41 +00:00
Andrew Nacin
92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Dion Hulse
279f93647a Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634
git-svn-id: https://develop.svn.wordpress.org/trunk@13450 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 04:04:36 +00:00
Ron Rennick
e9ab8b9216 sanitize domains in ms-options, fixes #11775
git-svn-id: https://develop.svn.wordpress.org/trunk@13447 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 23:36:26 +00:00
Andrew Nacin
4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Ron Rennick
8513d92a8b cleanup warnings - add site, See #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@13445 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:13:24 +00:00
Ron Rennick
e0307be84c add second set of Network admin buttons, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13443 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:23:25 +00:00
Ron Rennick
8c7c126923 switch super admin to network admin in multisite UI, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13442 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:16:16 +00:00
Ron Rennick
280e43154d remove WP rewrite rules from multisite options-permalink, props ocean90, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13440 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:59:04 +00:00
Ron Rennick
6afc78b158 more multisite UI rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +00:00
Ron Rennick
d4c1df745e prevent admins from removing themselves and main super admin from super admin list, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13431 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:16:31 +00:00
Andrew Nacin
36da22d334 Add a sanity check in install.php, accounting for whether PHP is running. fixes #11728
git-svn-id: https://develop.svn.wordpress.org/trunk@13428 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:31:40 +00:00
Andrew Nacin
9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin
69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Peter Westwood
a85f6a4122 Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Ron Rennick
4b53dbcf81 move super admin list maintenance from ms-options to ms-users, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13419 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:11:54 +00:00
Peter Westwood
9ad6dd41c7 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Peter Westwood
0ecd82b142 Switch to using a filter for {en|dis}abling update services configuration. Fixes #12229. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13412 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:48:11 +00:00
Ryan Boren
ab099ded21 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13410 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:04 +00:00
Peter Westwood
81e711cf87 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@13409 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:41:33 +00:00
Ryan Boren
60cb61e54f Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00
Ryan Boren
e4b8919c31 Default header selector, second pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13404 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:32:10 +00:00
Ryan Boren
4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ron Rennick
899906649c move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
Ryan Boren
22584331dc Set meta after new menu is inserted. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13400 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 16:49:57 +00:00
Mark Jaquith
618803a53e Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13397 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:48:17 +00:00
Mark Jaquith
212cd616cb Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13395 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 05:40:03 +00:00
Ron Rennick
abf402ef3a minify custom-navigation.css, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13394 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 00:37:44 +00:00
Ron Rennick
ac1a18b052 Use standard WP UI markup in menu admin, props ptahdunbar, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13393 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 00:03:42 +00:00
Mark Jaquith
2df7d2f4e7 Hide URL editing UI for page and category menu items. TODO: eliminate all usage of guid. Use custom field instead. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13390 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:52:29 +00:00
Ryan Boren
6d3878f6b7 only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13389 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:13:23 +00:00
Mark Jaquith
123678af50 Add missing form ending tag. Props ocean90. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13383 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:14:12 +00:00
Andrew Nacin
c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Andrew Nacin
d7adf00e0e s/existant/existent/
git-svn-id: https://develop.svn.wordpress.org/trunk@13380 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:01:37 +00:00
Ron Rennick
85b1895890 more multisite UX rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13379 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:56:10 +00:00
Ryan Boren
66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren
e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Ron Rennick
83e6b0d16a allow update services in multisite, props ocean90, fixes #12229
git-svn-id: https://develop.svn.wordpress.org/trunk@13374 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 17:31:42 +00:00
Andrew Nacin
af9671d7c5 Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13373 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 16:45:33 +00:00
Mark Jaquith
56862a5741 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13372 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:37:00 +00:00
Mark Jaquith
cee605ea34 Fix menu links. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13370 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:11:49 +00:00
Mark Jaquith
0c7e56f2e2 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13369 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 09:43:09 +00:00
Ryan Boren
ed332ce2bd Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Ryan Boren
e92f08f0dd Reapply stomped part of [13364]. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13367 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:10:27 +00:00
Ryan Boren
d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Mark Jaquith
537dc90ea6 Increment the menu ID so the first menu works. props junsuijin. fixes #12339
git-svn-id: https://develop.svn.wordpress.org/trunk@13365 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:58:14 +00:00
Mark Jaquith
a9b221bb6e Clean up the JS/no-JS CSS. Fix up the no-JS message. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13364 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:52:48 +00:00
Ryan Boren
2d86f12b6f Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13362 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:41:35 +00:00
Ryan Boren
cc931001f4 Allow inline saves for non-public custom post types. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13360 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:45:38 +00:00
Ryan Boren
03b3692832 Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13359 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:43:41 +00:00
Andrew Nacin
1c9ff8788f Show "Log In" button on install.php when already installed. fixes #10488 props dancole
git-svn-id: https://develop.svn.wordpress.org/trunk@13356 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 01:58:27 +00:00
Ron Rennick
105e0a4baf move menu selection to a top nav links, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13355 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 01:44:16 +00:00
Ron Rennick
2049f77977 add menu delete & other custom menu cleanup, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13352 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:53:08 +00:00
Ron Rennick
79d6e6993d fix custom menu hierarchy support in admin, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13348 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:13:54 +00:00
Andrew Nacin
b9b5480c8e RTL fixes. fixes #12347 props yoavf
git-svn-id: https://develop.svn.wordpress.org/trunk@13346 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:35:07 +00:00
Ryan Boren
a4b48f6d6a Some nav menu API. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13344 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:06:21 +00:00
Ryan Boren
47d6a81f35 Cleanups. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13342 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:48:50 +00:00
Ryan Boren
7fa4c485bf Use 'Menus'. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13340 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:38:27 +00:00
Ryan Boren
33bd0dd935 Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13339 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:28:52 +00:00
Andrew Nacin
4bad9d635f Ensure we have MS global tables defined during network install. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13337 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:58:53 +00:00
Ryan Boren
e498956867 Nav cleanup. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13331 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 17:13:24 +00:00
Andrew Nacin
af187b2759 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Andrew Nacin
8282ad9bfa Improvements and fixes to wpdb::tables(). See #12083 see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13324 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 09:06:50 +00:00
Mark Jaquith
fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Andrew Nacin
8826776ba0 Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@13313 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:59:40 +00:00
Andrew Nacin
670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin
59167f1593 Remove unused 'secret' option. Fixes #12221
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Ryan Boren
fb28a4ec5b Typo fix. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13308 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:15:48 +00:00
Ryan Boren
ecf94d5e85 Grammar fix. Don't show empty img. Cleanup POST handler. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13307 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:15:06 +00:00
Andrew Nacin
4a6314cdc7 Fix notice, and use wp_max_upload_size() to fill MAX_FILE_SIZE hidden field (used by supporting browsers for a client-side check). Fixes #10849 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13306 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 19:48:38 +00:00
Andrew Nacin
dead2dbc01 Add a boolean filter to allow suppression of the new mu-plugins and drop-ins tabs. See #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13305 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 19:37:26 +00:00
Ryan Boren
485dd8a9c4 Custom background styling fixes. Props yoavf. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13303 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:46:29 +00:00
Ron Rennick
c7e12e9265 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:41:38 +00:00
Ryan Boren
2ab7f23b51 More gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13298 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:16:34 +00:00
Andrew Nacin
05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ryan Boren
f2610247f0 More gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13296 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:12:53 +00:00
Ryan Boren
af82037c7f Some gettext and formatting. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13295 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:03:03 +00:00
Ron Rennick
79fe9e8b2d add apostophes to custom menu update messages, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13294 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:48:50 +00:00
Ryan Boren
ec95afd3ca Handle custom post types in inline edit js. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13292 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 17:21:33 +00:00
Ryan Boren
9e5b6d1f34 Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse
c7be408d4a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Dion Hulse
a2c844a939 Links to Comment on Comments page, even for users that cannot modify it.
git-svn-id: https://develop.svn.wordpress.org/trunk@13288 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:26:18 +00:00
Ron Rennick
0f2f0a82ec add custom menu hierarchy support to admin, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13286 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 00:26:21 +00:00
Mark Jaquith
56d1f114cf Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: https://develop.svn.wordpress.org/trunk@13285 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 21:24:48 +00:00
Ryan Boren
6c64fffe3a Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13284 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 18:24:41 +00:00
Dion Hulse
4df0240736 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Dion Hulse
3e2114eb0f Link to Posts page on Taxonomy Administration page even for Count == 0. Count does not include Drafts/Scheduled posts, only "published" posts. Props miqrogroove. Fixes #11340
git-svn-id: https://develop.svn.wordpress.org/trunk@13282 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:02:14 +00:00
Dion Hulse
4b1eea2325 Fix Typo. Props TobiasBg. Fixes #12319. See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13281 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 10:57:05 +00:00
Dion Hulse
cdf95010d4 Fix New Menu term handling. See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13279 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 10:51:34 +00:00
Dion Hulse
c55a0f2364 Sync Installer/WP_Die background colour with the Fresh colour scheme background
git-svn-id: https://develop.svn.wordpress.org/trunk@13278 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 10:19:16 +00:00
Dion Hulse
1dfa7cea6e Move 'restrict_manage_posts' out of category check. Props jfarthing84. Fixes #12310
git-svn-id: https://develop.svn.wordpress.org/trunk@13273 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 01:33:35 +00:00
Ron Rennick
02912dcf85 enable threaded comments by default, fixes #11992
git-svn-id: https://develop.svn.wordpress.org/trunk@13272 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 01:02:00 +00:00
Ryan Boren
4b9db719a9 Cleanups. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13271 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:34:44 +00:00
Ryan Boren
8726b1d116 Use core jQuery UI. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13269 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:10:20 +00:00
Ryan Boren
f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ryan Boren
42c92f9fdc Add icons. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13267 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:02:01 +00:00
Ryan Boren
8abd24ce0d Make js noConflict compat. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13266 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:58:00 +00:00
Ryan Boren
0414e6f3cc Update paths in custom nav css. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13265 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:41:47 +00:00
Ryan Boren
8ea82dadd5 Remove custom jquery. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13264 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:37 +00:00
Ryan Boren
b71cec1a15 Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13263 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:35:05 +00:00
Ryan Boren
12b118e514 Rename file. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13262 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 23:18:57 +00:00
Ryan Boren
a157ff8eb0 Set type in post meta. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13261 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 22:44:24 +00:00
Ron Rennick
f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Andrew Nacin
5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin
b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Andrew Nacin
35eafcfed4 Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: https://develop.svn.wordpress.org/trunk@13250 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:28:10 +00:00
Andrew Nacin
d4854cef04 Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417, see #12095
git-svn-id: https://develop.svn.wordpress.org/trunk@13249 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:09:30 +00:00
Andrew Nacin
f0c9438807 Show awareness of comment's current status when moderating via e-mail/AYS. Show message on AYS screen of comment's status if not unapproved. Skip AYS when trying to re-approve (or delete or spam) a comment and show a message. See #11441
git-svn-id: https://develop.svn.wordpress.org/trunk@13247 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:48:38 +00:00
Andrew Nacin
91e432abfe Comments moderation code cleanup. Dry up some code, add screen icon to AYS, fix notice in comment_footer_die(). Redirect to edit-comments.php on an error, instead of stranding them with dull comment_footer_die() message. See #11441
git-svn-id: https://develop.svn.wordpress.org/trunk@13246 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:18:25 +00:00
Andrew Nacin
d824d6bbd4 Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
git-svn-id: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin
6f1bfe6f0e Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
git-svn-id: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse
468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
8be48fe96a Update wpmu_delete_user() to use wp_delete_user()'s Link Deletion API, ensures that all actions and cleanups are run. See #12298
git-svn-id: https://develop.svn.wordpress.org/trunk@13241 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 01:45:04 +00:00
Andrew Nacin
70c22754de Minify remaining RTL css files, and ie.css. See #12292.
git-svn-id: https://develop.svn.wordpress.org/trunk@13238 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 23:55:09 +00:00
Andrew Nacin
7c3ab9dca1 Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294
git-svn-id: https://develop.svn.wordpress.org/trunk@13236 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 22:02:43 +00:00
Andrew Nacin
c46c86fa69 Full Multisite support for dropins/mu-plugins in admin area. Ensure that network, drop-ins and mu-plugins are only shown and counted to super admins. See #11644, #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13235 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:53:24 +00:00
Andrew Nacin
6634241a48 Fix notice in populate_network(). See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13234 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:19:54 +00:00
Andrew Nacin
2b6bcbdd89 Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13233 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:16:14 +00:00
Andrew Nacin
c978910a1d Allow bypass of http call to wp.org (for keys/salts), via URL query var. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13232 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:56:16 +00:00
Andrew Nacin
ec00f200b5 Use get_edit_post_link(). Props jfarthing84, fixes #12288
git-svn-id: https://develop.svn.wordpress.org/trunk@13230 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:03:05 +00:00
Andrew Nacin
d543b36622 Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13229 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 19:57:03 +00:00
Ryan Boren
9cea2b661a Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
git-svn-id: https://develop.svn.wordpress.org/trunk@13227 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 17:56:40 +00:00
Andrew Nacin
2d9d969c53 Don't italicize admin footer in RTL. Props raimy, fixes #11985
git-svn-id: https://develop.svn.wordpress.org/trunk@13226 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 15:42:22 +00:00
Andrew Nacin
1992489856 First pass at Multisite support in DB repair. When MS, include main blog tables; when not MS, include non-MS global tables (users, usermeta). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13224 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:33:01 +00:00
Andrew Nacin
3f2c21e53f Remove debug cruft. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13223 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:12:12 +00:00
Dion Hulse
343447e5a0 Fallback to PclZip in the event that ZipArchive cannot handle a given archive properly. Close the Zip handle when we're done as well. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13221 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:59:32 +00:00
Dion Hulse
897529ea59 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:26:44 +00:00
Dion Hulse
7cdc6568d0 First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: https://develop.svn.wordpress.org/trunk@13216 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:21:29 +00:00
Dion Hulse
81e3891ed8 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13215 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:05:13 +00:00
Dion Hulse
5028f2ccbb Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Andrew Nacin
4d2c75d785 Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren
f17505ed9f Don't include internal post types in the total. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13198 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 20:01:10 +00:00
Ryan Boren
15f2f0bda1 add_settings_error fixes. Props jeremyclarke. fixes #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13197 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 19:43:44 +00:00
Ron Rennick
2bf79cc5e8 revert [13036], change not consistent with MU, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13196 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 15:40:19 +00:00
Andrew Ozz
bca05ce950 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: https://develop.svn.wordpress.org/trunk@13195 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 11:20:15 +00:00
Andrew Ozz
6ea8ad96ef Clean attachment cache when reattaching, fixes #11647
git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 07:43:35 +00:00
Andrew Nacin
4d65e83ef9 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 05:14:48 +00:00
Ryan Boren
f1eb009074 Add defaults for background option radios. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13189 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:12:05 +00:00
Ryan Boren
5d1cb7981a Add some options to custom background admin. Needs styling. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13186 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 00:14:56 +00:00
Andrew Nacin
936ea0c300 Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13182 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 20:16:54 +00:00
Ryan Boren
0ac0e76299 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: https://develop.svn.wordpress.org/trunk@13177 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 17:50:42 +00:00
Andrew Nacin
997bc6bedd Fix notices, props sivel. Fixes #12122
git-svn-id: https://develop.svn.wordpress.org/trunk@13175 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 12:26:47 +00:00
Ryan Boren
663ab7e478 Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 21:13:44 +00:00
Andrew Nacin
4f34a62779 Use esc_attr. Fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13169 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 04:16:52 +00:00
Mark Jaquith
5b5b870b16 Place a "Privacy On" mini-alert in the wp-admin header when it is on, to prevent people from accidentally delisting themselves from search engines. props scottbasgaard. fixes #12211
git-svn-id: https://develop.svn.wordpress.org/trunk@13168 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:54:40 +00:00
Mark Jaquith
49d4b41207 Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13167 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:44:20 +00:00
Mark Jaquith
32766c9ff9 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: https://develop.svn.wordpress.org/trunk@13163 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 15:21:34 +00:00
Dion Hulse
a64273f056 Grammar fix, s/A item/An item/. Props aaroncampbell. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13162 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 10:00:43 +00:00
Andrew Nacin
966c84021f Only show "Popular Terms" header when there is a tag cloud to show. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13160 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-15 09:05:56 +00:00
Andrew Nacin
dc7a5f121c Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644, #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@13155 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:46:38 +00:00
Andrew Nacin
ba884951f1 Fix notice in ms-options.php. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13154 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:08:36 +00:00
Andrew Nacin
307c874967 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: https://develop.svn.wordpress.org/trunk@13153 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 13:17:31 +00:00
Andrew Nacin
d1e195db99 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Andrew Nacin
fb08796f48 Actually remove stray line ref. [13135]. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13136 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:28:34 +00:00
Andrew Nacin
db5b2edbf6 Manual L10n JS strings in install.php. Remove stray line, see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@13135 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:24:25 +00:00
Dion Hulse
ae5ba76658 First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13134 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:07:47 +00:00
Andrew Nacin
43d5926b6b Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13133 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:47:45 +00:00
Andrew Nacin
0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin
b38b545ed4 Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13131 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:14:59 +00:00
Andrew Nacin
4ce1c841cb install.php whitespace cleanup, inline docs, function @sinces, fixes #11491
git-svn-id: https://develop.svn.wordpress.org/trunk@13124 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 20:40:42 +00:00
Ron Rennick
a2e14c070b strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: https://develop.svn.wordpress.org/trunk@13115 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 17:49:38 +00:00
Ron Rennick
ad16d49cbb use cached data in ms-admin.php stats, props ddebernardy, fixes #11772
git-svn-id: https://develop.svn.wordpress.org/trunk@13114 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 17:10:50 +00:00
Andrew Nacin
a93c96ef98 Fix arg order in [13104]
git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:46:38 +00:00
Andrew Nacin
d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Andrew Nacin
cedafb8a9b Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
git-svn-id: https://develop.svn.wordpress.org/trunk@13104 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:49:44 +00:00
Dion Hulse
4b66bf7c74 Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: https://develop.svn.wordpress.org/trunk@13101 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:56:38 +00:00
Andrew Nacin
8be6c296b1 Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 08:49:27 +00:00
Andrew Nacin
e139dea4d1 Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13097 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:42:02 +00:00
Dion Hulse
75705ed4c3 Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13095 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:09:04 +00:00
Dion Hulse
68039969c1 Banish User_level 10 use from Network Menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13094 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:00:09 +00:00
Andrew Nacin
49f0af2f42 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: https://develop.svn.wordpress.org/trunk@13090 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:14:37 +00:00
Dion Hulse
d5ced26371 Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:08:15 +00:00
Dion Hulse
6f5ca5962f Flow on tax-modification errors on Tax inline edit to the UI. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13088 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:04:54 +00:00
Dion Hulse
7a3a38c39b Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Andrew Nacin
dc02d03fcb Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: https://develop.svn.wordpress.org/trunk@13085 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:35:47 +00:00
Andrew Nacin
1a4072f2e7 Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891.
git-svn-id: https://develop.svn.wordpress.org/trunk@13084 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:39:39 +00:00
Dion Hulse
a719ecc0a2 Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
git-svn-id: https://develop.svn.wordpress.org/trunk@13082 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:04:01 +00:00
Dion Hulse
9da2f26d98 Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13081 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:52:33 +00:00
Andrew Nacin
b154b4d604 Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:17:57 +00:00
Andrew Nacin
d53857acc8 Escape thousandsSeparator and decimalPoint JS variables, see #12005
git-svn-id: https://develop.svn.wordpress.org/trunk@13078 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:12:51 +00:00
Dion Hulse
b1535c3d7e Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13077 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:08:16 +00:00
Ron Rennick
8abaa3bad4 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13070 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 22:45:35 +00:00
Ron Rennick
113a86ebbd add siteurl site option for MU upgrade, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13067 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:37:17 +00:00
Ron Rennick
930b21a770 fix dashboard right now category links, fixes #12205
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 20:10:15 +00:00
Ryan Boren
d440214a7b Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Ryan Boren
d204fd6215 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +00:00
Ryan Boren
2f7ef8196b Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren
1e2b47d4f6 Use show_ui instead of _show. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13046 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:43:29 +00:00
Ryan Boren
6a5c43f5fc Fix screen layout options for custom post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +00:00
Ryan Boren
d22d07e1f2 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13043 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:49:16 +00:00
Dion Hulse
718fa1b6e8 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 10:59:45 +00:00
Ryan Boren
8bc11462e3 First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 20:37:12 +00:00
Ron Rennick
62690f100c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: https://develop.svn.wordpress.org/trunk@13039 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 18:03:46 +00:00
Ron Rennick
9d74c95ed8 do not add /index.php permalink base in multisite, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13036 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 16:10:43 +00:00
Dion Hulse
e5b17da3fb Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: https://develop.svn.wordpress.org/trunk@13035 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 10:56:39 +00:00
Ryan Boren
883cad6a6f Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +00:00
Ryan Boren
fc60118ff7 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13026 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:15:44 +00:00
Ryan Boren
86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Ryan Boren
e2cd2290f4 Change wording in string to make translation easier. Props simosx. fixes #12173
git-svn-id: https://develop.svn.wordpress.org/trunk@13022 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:18:13 +00:00
Peter Westwood
77e592fead Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: https://develop.svn.wordpress.org/trunk@13015 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:28:05 +00:00
Ryan Boren
82e3b2f8f4 Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00
Dion Hulse
2a4403812a Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13009 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:40:51 +00:00
Dion Hulse
19fc6eaf94 Remove cat_rows() admin template functions. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13008 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:54:33 +00:00
Dion Hulse
142262150e PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13007 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:07:36 +00:00
Dion Hulse
b8ebf2ee2c Better error checking for ZipArchive extraction. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13006 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:02:24 +00:00
Dion Hulse
1419d92ddf Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: https://develop.svn.wordpress.org/trunk@13005 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:52:35 +00:00
Ron Rennick
f2ade7aa6d Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: https://develop.svn.wordpress.org/trunk@13003 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:13:22 +00:00
Dion Hulse
8f6db1c96f Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: https://develop.svn.wordpress.org/trunk@13001 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:15:27 +00:00
Ron Rennick
ac720d22ea Allow network install to be restarted, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@13000 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:13:20 +00:00
Dion Hulse
eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse
c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse
bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Ron Rennick
d59cf38464 Add activate link for network plugins in single site install, props nacin, fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12996 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 00:03:10 +00:00
Ryan Boren
68db07fb9b Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:46:00 +00:00
Ryan Boren
8be3a24819 Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 17:27:30 +00:00
Peter Westwood
13b54b44d8 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12991 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 14:56:10 +00:00
Peter Westwood
86233c4dbd Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Mark Jaquith
2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Mark Jaquith
4c3fbea45a Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Dion Hulse
96578ed6b8 Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: https://develop.svn.wordpress.org/trunk@12985 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:19:25 +00:00
Dion Hulse
d9281a3e46 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12984 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:49:11 +00:00
Dion Hulse
8fbe3333b0 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Dion Hulse
8b38dceeca Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: https://develop.svn.wordpress.org/trunk@12982 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 05:15:26 +00:00
Ryan Boren
65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ryan Boren
1e9a464f69 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12976 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:33:53 +00:00
Ron Rennick
96665140d5 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:33:35 +00:00
Ryan Boren
49bce47b8d Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:10:30 +00:00
Ryan Boren
107f08638f Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Ron Rennick
66f5d7e74e add support for network only to identify network plugins, see #12139
git-svn-id: https://develop.svn.wordpress.org/trunk@12970 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 16:33:35 +00:00
Dion Hulse
cbe9380b41 Revert accidental case changes in [12966]. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12968 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:37:58 +00:00
Dion Hulse
b48695661a Allow viewing of Attached hierarchical Terms when the user doesnt have Manage capability of the taxonomy, Only set terms if user has Management capability. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@12967 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:33:29 +00:00
Dion Hulse
317b630173 update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12966 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:16:31 +00:00
Dion Hulse
23de0ed686 Cleanup admin_notice_feed(). Props nacin. Fixes #12138
git-svn-id: https://develop.svn.wordpress.org/trunk@12965 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:00:18 +00:00