Commit Graph

8261 Commits

Author SHA1 Message Date
scribu 306874cbb6 Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: https://develop.svn.wordpress.org/trunk@16507 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 14:03:49 +00:00
Ryan Boren 0786857c32 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: https://develop.svn.wordpress.org/trunk@16502 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 06:10:07 +00:00
Ryan Boren bc9642a3f5 Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: https://develop.svn.wordpress.org/trunk@16501 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 05:48:35 +00:00
Andrew Nacin c32cd17908 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: https://develop.svn.wordpress.org/trunk@16499 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:38:21 +00:00
Andrew Nacin 10f92b7e87 Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: https://develop.svn.wordpress.org/trunk@16498 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:23:44 +00:00
Ryan Boren a7bcbc027f Fix user search input name. Props nickmomrik.
git-svn-id: https://develop.svn.wordpress.org/trunk@16496 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:43:00 +00:00
Andrew Nacin 40d1e43970 Add missing div. props PeteMall, fixes #15501.
git-svn-id: https://develop.svn.wordpress.org/trunk@16494 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:05:04 +00:00
Ryan Boren c245d5f44b Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16489 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:16:03 +00:00
Nikolay Bachiyski 9927279cf2 Don't forget to echo the result of esc_textarea()
git-svn-id: https://develop.svn.wordpress.org/trunk@16485 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 14:48:11 +00:00
scribu e6e9ea6c26 Set current screen for comment quick-edit. Props batmoo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16483 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:34:21 +00:00
Andrew Nacin f86af64e5f Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren 6d3ae66a3b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: https://develop.svn.wordpress.org/trunk@16476 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 00:04:04 +00:00
Ryan Boren a5a5164229 Titles for network admin and global dashboard. see #15477
git-svn-id: https://develop.svn.wordpress.org/trunk@16474 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:02:52 +00:00
scribu 62b4cd2ec7 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Ryan Boren 14d7d29453 Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
git-svn-id: https://develop.svn.wordpress.org/trunk@16471 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:55:05 +00:00
Andrew Nacin ccea27cbe7 More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
scribu 396da01570 Always use 'paged' in list tables. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16465 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 17:00:24 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin af5d46012c Revert extra stuff from [16455].
git-svn-id: https://develop.svn.wordpress.org/trunk@16456 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:38:53 +00:00
Andrew Nacin 90343807eb Every time you nest a ternary operator, a kitten dies.
git-svn-id: https://develop.svn.wordpress.org/trunk@16455 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:37:00 +00:00
Andrew Nacin 2b9c7f6113 Redirect from network.php to network/setup.php. see #15461.
git-svn-id: https://develop.svn.wordpress.org/trunk@16454 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:29:03 +00:00
Andrew Nacin dc27759993 Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461.
git-svn-id: https://develop.svn.wordpress.org/trunk@16453 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:24:13 +00:00
Andrew Nacin 957b0789c2 Fix width of nav menu search boxes. props batmoo, fixes #15464.
git-svn-id: https://develop.svn.wordpress.org/trunk@16452 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:16:43 +00:00
Andrew Nacin 1a3a72a224 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +00:00
Andrew Nacin 1c1f8d45d4 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: https://develop.svn.wordpress.org/trunk@16449 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:30:55 +00:00
Andrew Nacin 1715830cf9 Codex links should open in a new window. fixes #14665, props qwertymaniac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16448 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:26:03 +00:00
Andrew Nacin 8f2924ad13 What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16445 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:22:01 +00:00
Andrew Nacin 1612e23e86 We don't want a populated WP_User object here. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16443 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 00:26:29 +00:00
Andrew Nacin 17345a6cfa Kill unnecessary br.clear after div.tablenav. fixes #15354.
git-svn-id: https://develop.svn.wordpress.org/trunk@16442 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:10:12 +00:00
Ryan Boren 61da29b739 Remove debug. Props ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16441 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:08:00 +00:00
Ryan Boren 77472dfa65 Add existing user to site form. Props PeteMall, ocean90. see #15342
git-svn-id: https://develop.svn.wordpress.org/trunk@16440 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 19:45:10 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
scribu 673625a1c2 Don't set total_pages unless there are pagination links. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16433 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:26:39 +00:00
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Andrew Nacin 862dabded8 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: https://develop.svn.wordpress.org/trunk@16428 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:58:15 +00:00
Mark Jaquith 51065344c8 Make clear that we are installing the *American* English version, so this message makes sense for non-American English translation users. fixes #14467
git-svn-id: https://develop.svn.wordpress.org/trunk@16427 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:56:30 +00:00
scribu 3951871605 Remove drag_drop_help() and plugins_search_help(). Fixes #15451
git-svn-id: https://develop.svn.wordpress.org/trunk@16426 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:41:26 +00:00
Andrew Nacin 3a722d53c8 Don't have awkward alternate color classes for core updates on update-core. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16421 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 05:58:26 +00:00
Andrew Nacin b6f252c241 Blue theme RTL. props saracannon. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16420 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 05:51:32 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin 2e7aa57771 Show continous color in admin menu when text wraps. props ocean90, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16418 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:44:31 +00:00
Andrew Nacin dbd5578187 Remove visit site button gradient images from pre-3.0. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16417 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:03:34 +00:00
Andrew Nacin 0e2594102e Blue color scheme for the folded admin menu. props PeteMall, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16416 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:32:26 +00:00
Andrew Nacin 5c5d36c422 Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: https://develop.svn.wordpress.org/trunk@16415 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:30:27 +00:00
scribu 26f88f4b0f Deprecate update_category_cache(). Fixes #15446
git-svn-id: https://develop.svn.wordpress.org/trunk@16412 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:56:00 +00:00
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Nacin 153f7bb62d Remove unnecessary message in network/settings. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16406 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:51:45 +00:00
Andrew Ozz 348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Nacin 0b7f397e9b set_post_thumbnail(). fixes #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
Andrew Nacin ea4a66713f Restore rule for #submitted-on. props JohnONolan, see #15426.
git-svn-id: https://develop.svn.wordpress.org/trunk@16386 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:09:57 +00:00
scribu 0e7fb842ec Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: https://develop.svn.wordpress.org/trunk@16383 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 12:53:11 +00:00
Andrew Nacin 8d9b2cd2b3 Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu 420e436d72 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: https://develop.svn.wordpress.org/trunk@16376 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:35:42 +00:00
scribu a6568c3de8 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: https://develop.svn.wordpress.org/trunk@16375 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:28:55 +00:00
scribu 8aaf2d5598 Don't display Updates submenu in site admin. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16374 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:49:18 +00:00
scribu a2130f160d Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16372 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:34:59 +00:00
scribu 9f69a2211f Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16371 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:45 +00:00
Ryan Boren 9ff9211249 Handle sites that hard-code roles rather than storing them in the DB. Temp hack. see #15411
git-svn-id: https://develop.svn.wordpress.org/trunk@16370 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:07 +00:00
scribu e525b77f28 Fix inline term editing. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16369 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:08:25 +00:00
scribu 2b895dda71 Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
Andrew Nacin 11f1c67f78 Some escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@16366 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 17:33:16 +00:00
scribu 32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
scribu 55d442748a Fix typo from r16363. Props filosofo. Fixes #15420
git-svn-id: https://develop.svn.wordpress.org/trunk@16364 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 01:46:49 +00:00
scribu cd7d748a0e Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16363 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 00:48:30 +00:00
scribu 39eca2466e submit_button() fixes. Props sbressler. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16362 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:49:53 +00:00
scribu fcef01b720 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16361 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:47:14 +00:00
scribu 309b7e7ab3 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16356 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:58:39 +00:00
scribu beb9fea0c4 Fix 'response' column title. Props zeo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16355 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:53:21 +00:00
scribu 83cfc820ce Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: https://develop.svn.wordpress.org/trunk@16354 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:47:34 +00:00
scribu a4ee63c95a Make custom plugin columns hideable. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16350 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:21:40 +00:00
scribu 7d32a98787 Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16349 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:01:57 +00:00
scribu 21bef0ad36 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16348 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:57:25 +00:00
scribu a06d0688e9 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16347 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:30:20 +00:00
scribu 07b54f3eb4 Move network only status check out of foreach. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16346 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:25:56 +00:00
scribu da3a486cef Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16345 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:58:23 +00:00
scribu 4ffac80fc4 Prevent horizontal scrollbar. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16344 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:33:12 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin a53b8ef117 Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16337 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 00:13:08 +00:00
Ryan Boren a192c1e658 Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16335 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 22:44:08 +00:00
Peter Westwood b08df21c26 Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
Ryan Boren e559ab58a3 Whitespace cleanup in contextual help. Props markmcwilliams. see #15346
git-svn-id: https://develop.svn.wordpress.org/trunk@16333 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:22:12 +00:00
scribu 11f20d737c Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
Ryan Boren d653f78616 Show Add New if user can promote.
git-svn-id: https://develop.svn.wordpress.org/trunk@16330 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:57:47 +00:00
Ryan Boren 53ae0610e6 Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@16329 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:35:28 +00:00
Ryan Boren 4be07b9f8d Check delete caps in network users admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16328 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:00:41 +00:00
Ryan Boren 4ca2e2a1fa Use install_themes cap
git-svn-id: https://develop.svn.wordpress.org/trunk@16327 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:32:40 +00:00
Ryan Boren 2ac45785a3 Contextual help updates. Props dougwrites. see #15346
git-svn-id: https://develop.svn.wordpress.org/trunk@16326 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:03:34 +00:00
Peter Westwood c6b0c233c1 Use the l10n helper js file in the installer. See #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@16325 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:44:08 +00:00
Andrew Nacin b929feb819 Remove dead code. props nathanrice, fixes #13893.
git-svn-id: https://develop.svn.wordpress.org/trunk@16324 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:26:14 +00:00
Mark Jaquith 2834d62548 Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16316 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:21:17 +00:00
Mark Jaquith d3684a509d Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith 647422ad33 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin d8c91db1f4 Remove more create_function calls. props huichen, see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin 19bb470821 Kill a create_function by introducing is_plugin_inactive. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16312 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:21:04 +00:00
Andrew Nacin 21a38007d8 Remove old header/footer link active state. props dremeda, fixes #14487.
git-svn-id: https://develop.svn.wordpress.org/trunk@16311 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:17:11 +00:00
Ryan Boren 31ecc8008a Whitespace cleanup. Props sorich87. see #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@16306 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:57:22 +00:00
Ryan Boren 994d8ecab8 Farbtastic 1.3u. Props flashingcursor. fixes #14707
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +00:00
Ryan Boren b8ebc2cecb Add screen options to site-themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16298 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 15:16:16 +00:00
Ryan Boren f9729112f0 Fix logic. Props nacin. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16297 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:34:51 +00:00
Ryan Boren c5186dde67 Marksup fixes. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16296 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:32:02 +00:00
Ryan Boren bf41cf19fd Better styling for add user form fields. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16295 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:31:16 +00:00
Ryan Boren c8d7cc8664 user-new.php revamp. Separate caps for adding users vs. creating users. Allow supes to add via email or username. Split adding existing users and creating new users into separate forms. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16294 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:29:15 +00:00
Peter Westwood 21ac2fa767 Chop this off as we don't need it anymore. Fixes #13960 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16293 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:10:59 +00:00
Andrew Nacin aa3af048cc blog_admin_notices for non-network-non-user, admin_notices for all. see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@16292 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 12:32:22 +00:00
scribu 7d07e24e0b Make 'registered' column sort by user id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16290 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:47:10 +00:00
scribu d95cfc6eab Make 'registered' column sort by site id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16289 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:45:32 +00:00
Peter Westwood ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Peter Westwood 6b1be702c4 Move the l10n helper function into a seperate js file so we can always output it first.
Fixes #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16282 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 21:53:30 +00:00
Peter Westwood e6d62aeb48 Blankity Blank. Fixes #15380 props arena.
git-svn-id: https://develop.svn.wordpress.org/trunk@16281 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 20:54:56 +00:00
Andrew Nacin 7912dd4561 Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16278 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:08:05 +00:00
Andrew Nacin 0f662479db Super Admin filter for network/users.php. fixes #15371.
git-svn-id: https://develop.svn.wordpress.org/trunk@16277 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:05:20 +00:00
Andrew Nacin ffd50167bd Network admin multisite checks and docs. see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16272 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:27:15 +00:00
Andrew Nacin 3c62cf9519 Network Wide Settings -> Language Settings and kill the notice, which is implicit enough with the word 'Default.' see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16271 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:01:39 +00:00
Andrew Nacin 9ac3468253 Update phpdoc for wp_list_widgets(). fixes #15373.
git-svn-id: https://develop.svn.wordpress.org/trunk@16269 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 12:28:03 +00:00
Ryan Boren 1394e2ff9d Give the user dashboard a more suitable title. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@16265 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 22:00:50 +00:00
Ryan Boren f28e46af02 Route submenus added to old super admin menu to tools menu for now. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16261 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 19:23:42 +00:00
scribu 49266ad2f0 Make admin screen titles filterable. Props caesarsgrunt. Fixes #15301
git-svn-id: https://develop.svn.wordpress.org/trunk@16260 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 18:03:06 +00:00
Andrew Nacin 3a360acc5a Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351.
git-svn-id: https://develop.svn.wordpress.org/trunk@16254 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 06:38:53 +00:00
Andrew Nacin 4125fe393b Set $tax as the taxonomy object, and kill off our colliding global from menu construction. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16253 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 03:28:09 +00:00
Andrew Nacin 68eba28b16 Search for site-themes. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16252 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:16:45 +00:00
Andrew Nacin c165557b3e Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.
git-svn-id: https://develop.svn.wordpress.org/trunk@16251 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:09:00 +00:00
Andrew Nacin 1d7a732588 Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
git-svn-id: https://develop.svn.wordpress.org/trunk@16249 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:59:49 +00:00
Andrew Nacin 7be12299b7 Merge two strings in JS, which were merged elsewhere some time ago.
git-svn-id: https://develop.svn.wordpress.org/trunk@16248 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:52:02 +00:00
Andrew Nacin b5178cd956 enter_title_here filter. fixes #13386.
git-svn-id: https://develop.svn.wordpress.org/trunk@16247 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:49:19 +00:00
Andrew Nacin 8a63e8ba33 Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:46:05 +00:00
Andrew Nacin 50dc640746 Use spaces for alignment. see #15343 [16236]
git-svn-id: https://develop.svn.wordpress.org/trunk@16245 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:42:35 +00:00
scribu a97018ab13 Fix admin comment reply. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Ryan Boren e4a21e0527 Resurrect nav-tab-wrapper. Lost in [16136]. see #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@16243 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 22:12:46 +00:00
Ryan Boren 03d34fd1f8 site-themes.php cleanup. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16242 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 21:52:54 +00:00
Ryan Boren fb54ba39cd Use bool for allowed themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16241 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 19:40:05 +00:00
Ryan Boren 1af3887db1 Use submt_button(). see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16240 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:45:20 +00:00
Ryan Boren 7173e0d7b8 Update links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16239 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:40:57 +00:00
Ryan Boren 964e49b59f Fix typo. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16238 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:36:09 +00:00
Ryan Boren 77908514a6 Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16237 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:31:00 +00:00
Peter Westwood 73c3aa15f5 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: https://develop.svn.wordpress.org/trunk@16236 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:15:14 +00:00
scribu baaf0585dd Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16235 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 15:43:44 +00:00
Peter Westwood de1c45771a Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: https://develop.svn.wordpress.org/trunk@16234 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:21:34 +00:00
Peter Westwood f091f10b0f Fix typo. See #15336 props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@16232 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 09:15:47 +00:00
Peter Westwood 417830b4e6 Ensure that booleans are booleans for now. See #15336.
git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 08:16:28 +00:00
scribu 49ea9b06ef WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16229 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 23:00:17 +00:00
scribu e3026ae9ee WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16228 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:51:43 +00:00
scribu 9edce664dc WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16227 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:47:12 +00:00
scribu 939cb492bb Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16226 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 21:49:23 +00:00
Ryan Boren 840e539c0e Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@16224 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 17:40:12 +00:00
Peter Westwood 85952766d3 Extra cap checks. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16222 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 10:07:35 +00:00
Peter Westwood 1626139659 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
scribu 441237a5f4 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16218 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 23:07:00 +00:00
scribu f159895605 Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16214 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:11:15 +00:00
scribu 0b77523396 Make post column hooks consistent. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16212 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:16:46 +00:00
Ryan Boren 61b9bfba92 Remove role selector from network admin user-edit. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16210 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 17:26:32 +00:00
scribu a1c670189d remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
Mark Jaquith 7f219637fc format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16201 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 07:09:13 +00:00
Mark Jaquith 32ac7d22a6 get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16198 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 03:04:13 +00:00
Mark Jaquith c44eb74f66 Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16196 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:04:22 +00:00
scribu 419c42838b Rename property _screen to screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 21:02:13 +00:00
scribu 393bdc04e3 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: https://develop.svn.wordpress.org/trunk@16194 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:49:30 +00:00
scribu 5d9b59521c Network Themes cleanup. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16193 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:11:08 +00:00
scribu ca6e0ce4f3 Revert [16182] for comments table. See#14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16192 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:04:31 +00:00
Mark Jaquith 6648c30823 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16191 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:33:50 +00:00
scribu 3944269814 Minor cleanups. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16190 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:28:58 +00:00
Mark Jaquith e381bc093f Limit post format UI to posts only, for now. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16188 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:02:24 +00:00
Mark Jaquith 018429a9f6 Do our return falses. Props duck_. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:58:04 +00:00
Peter Westwood cf37645868 Check the current user can create sites before showing the button. See #14435 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16185 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:21:25 +00:00
Ryan Boren 91e15d98c3 Check create_users cap. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16184 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:27:18 +00:00
Ryan Boren b80e0de594 Add new user page for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16183 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:16:52 +00:00
scribu 7edd2f0090 Default to get_current_screen() in list table classes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +00:00
Peter Westwood fa9fc10c6e Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315.
git-svn-id: https://develop.svn.wordpress.org/trunk@16177 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:40:27 +00:00
Peter Westwood 817aa1975c Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
Mark Jaquith ef54c47f7a add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Andrew Nacin 8b0f87ebfd Blue tweaks. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16173 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 01:59:58 +00:00
scribu d1034ad0d3 complete the renaming. props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16172 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 22:06:45 +00:00
scribu ed884411fe List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Ryan Boren 0ab95195d0 Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16169 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:26:23 +00:00
Ryan Boren 358cdf6e23 Make IP query threshold more restrictive. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:40:12 +00:00
Ryan Boren 103523a499 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16166 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:28:02 +00:00
Peter Westwood 9afb0e7247 Much better description for the noconfirmation check box.
git-svn-id: https://develop.svn.wordpress.org/trunk@16164 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 15:04:34 +00:00
Ryan Boren 0c6730ed9b Check for install_plugins cap too since it can be removed for supes. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16163 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 14:57:10 +00:00
Ryan Boren 3c007cce8e Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16161 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:57:43 +00:00
Ryan Boren 0ffd5e3012 Show latest x users with no paging if on a large network. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16160 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:34:04 +00:00
Peter Westwood bb52f64946 Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: https://develop.svn.wordpress.org/trunk@16158 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 22:13:16 +00:00
Ryan Boren d6e8a729a9 Default to id since registered doesn't have an index. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:23:26 +00:00
Andrew Nacin e79975c334 Cleaned up WP logo for blue refresh. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16153 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 16:33:23 +00:00
Andrew Nacin 59d3fd59c4 Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16152 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 15:35:10 +00:00
Andrew Nacin 118eb442e1 Add screen options toggle. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16148 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 06:01:08 +00:00
Andrew Nacin f95cfd07f3 Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16147 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:24:58 +00:00
Andrew Nacin c31ef3498a Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16146 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:05:27 +00:00
Andrew Nacin 14080bd9ce Blue theme refresh, first pass. props saracannon. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16145 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:52:44 +00:00
Andrew Nacin f19844394b Temporarily copy colors-fresh over colors-classic. Gray was used as a base for blue, it will be easier to see changes. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16144 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:32:34 +00:00
Andrew Nacin d583c2be0e Add theme updates to the network themes screen. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16141 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:08:25 +00:00
Ryan Boren 2ceb9f8150 Add edit theme links. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16140 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 19:14:03 +00:00
Ryan Boren a0349d55a1 For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16137 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 17:53:03 +00:00
Peter Westwood 785bfd4b92 First pass of wp-admin.css cleanup from JohnONolan.
Merge conflicts manually resolved and marked for review
Not recompressed for now to allow for easier side by side testing.
So test with SCRIPT_DEBUG set to true.
See #14770 props JohnONolan


git-svn-id: https://develop.svn.wordpress.org/trunk@16136 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:30:27 +00:00
Ryan Boren 802c03455d Die if user doesn't have caps for the post type. Props duck_. fixes #15259
git-svn-id: https://develop.svn.wordpress.org/trunk@16135 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:28:35 +00:00
Ryan Boren 8207c0942b edit.php markup fixes. Props wahgnube. fixes #15260
git-svn-id: https://develop.svn.wordpress.org/trunk@16134 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:24:48 +00:00
Peter Westwood 506f71b660 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: https://develop.svn.wordpress.org/trunk@16133 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 15:59:48 +00:00
Peter Westwood 08864673f3 Allow better contextual based filtering of the path to the image being edited by having specific filters for local filesystem and url based paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@16130 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 10:36:35 +00:00
Peter Westwood bf49078d9b Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16129 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:24:32 +00:00
Peter Westwood c4633bbd54 The big renaming of the list-table class files.
See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
Peter Westwood 78d95aa459 Split out the list table functions into a seperate file from the base class.
See #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@16127 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:56:27 +00:00
Peter Westwood d34290a605 Correct the subdomain/non-subdomain logic when listing sites.
Tidy up the case statement.
See #15174.

git-svn-id: https://develop.svn.wordpress.org/trunk@16126 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:43:24 +00:00
Peter Westwood 0abd20cd8d Make the class to filename mapping easier to read.
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@16125 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:37:02 +00:00
scribu ddb20081c4 Fix search in network themes panel. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16123 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:26:38 +00:00
scribu 0c315e2c11 Add contextual help for Network -> Sites. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16122 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:23:32 +00:00
scribu a3009772e7 make not_found puctuation translatable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16121 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:21:56 +00:00
Andrew Nacin c1afa3472d Remove old ajax handler. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16120 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 18:20:09 +00:00
Andrew Nacin 95ba00c277 Translate a string.
git-svn-id: https://develop.svn.wordpress.org/trunk@16119 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 15:38:13 +00:00
scribu 0030431a66 Set $current_screen before creating list table. Props rovo89. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16118 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 13:52:35 +00:00
scribu c75430c485 remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16117 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:38:04 +00:00
Peter Westwood 9cba32348d First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16113 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:37:15 +00:00
Peter Westwood 5dc465110a Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16112 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:29:57 +00:00
Andrew Nacin a4548a9fe2 <br/> tags are self-closing. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@16110 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 05:13:46 +00:00
scribu e20f409fd6 WP_List_Table::no_items() consistency fixes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16109 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:29:23 +00:00
scribu 9142cadca4 Move no_items logic to WP_Comments_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16108 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:17:00 +00:00
scribu cf770863fe Fix class in wp-admin/users.php submit button. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16107 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 00:28:02 +00:00
scribu 7db59a9a89 Fix regression introduced by [16096]. Props duck_. See #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16105 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 22:41:52 +00:00
Andrew Nacin 310a9b04d2 Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
Andrew Nacin 0ab13047ef Use a create_users cap for Sites > Add New. fixes #14621.
git-svn-id: https://develop.svn.wordpress.org/trunk@16103 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:31:13 +00:00
Andrew Nacin edc329c691 Begin the dissolution of classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +00:00
Andrew Nacin 0180091a56 Fix nested HTML in submit_button(). fixes #15257, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16097 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:14:15 +00:00
scribu 68d5bd05df Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin d96e57bed8 Prevent network creation when OMG_DO_NOT_UPGRADE_GLOBAL_TABLES is defined. props wpmuguru, fixes #14246.
git-svn-id: https://develop.svn.wordpress.org/trunk@16094 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:44:05 +00:00
Andrew Nacin 8546c6797b Kill what_to_show on upgrade. fixes #9815.
git-svn-id: https://develop.svn.wordpress.org/trunk@16092 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:05 +00:00
Andrew Ozz d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
scribu e76a5fe8b3 Fix bulk actions for Network Admin -> plugins. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16089 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:09:04 +00:00
Ryan Boren f05e4fcd2b Remove old screen options images. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16088 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:00:15 +00:00
Ryan Boren a25c426c9d Add toggle sprite. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16087 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:57:07 +00:00
Ryan Boren e33e94e28d Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +00:00
Nikolay Bachiyski 1937c1221d Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Andrew Nacin 76d743274a Restore submit_button() for user-new. props markmcwilliams, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16067 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:32:03 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren 4ae97bd34f Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16057 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 18:53:09 +00:00
scribu 1d4e508a27 s/awhile/a while. Props johnbillion, PeteMall. Fixes #14462
git-svn-id: https://develop.svn.wordpress.org/trunk@16049 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:30:39 +00:00
Peter Westwood 3365e10951 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: https://develop.svn.wordpress.org/trunk@16047 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:41:37 +00:00
Andrew Nacin 524c263196 Don't show plugin update counts on the non network admin menu. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16040 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:38:02 +00:00
Andrew Nacin 036d6dbfa4 Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16037 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:16 +00:00
Andrew Nacin 35966ee4ac Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16036 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:30:37 +00:00
Andrew Nacin 4f2d468602 Fix comment.
git-svn-id: https://develop.svn.wordpress.org/trunk@16032 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:52:33 +00:00
scribu 3c1191be53 Prevent double inclusion of plugin when already activated on main site. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16027 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 23:54:43 +00:00
Andrew Nacin 5fa521edf1 More self_admin_url. props PeteMall, see #14062.
git-svn-id: https://develop.svn.wordpress.org/trunk@16026 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:51:06 +00:00
Andrew Nacin 9cb09fd090 Docs for wp-admin/includes/file.php. props sivel, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16024 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:24:06 +00:00
scribu 6289ec0a52 Fix variable name and re-minify list-table.js. See #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16023 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:19:52 +00:00
scribu b2f927ed76 Set additional fields when searching. Fixes #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
Ryan Boren 5fe33fe732 Use self_admin_url(). Props PeteMall. see #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16015 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:52:35 +00:00
Ryan Boren eb4985a24d Action switch no longer needed. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@16014 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:06:40 +00:00
scribu 7d80f2e1b3 Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
git-svn-id: https://develop.svn.wordpress.org/trunk@16012 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:40:14 +00:00
scribu 3682e8fc98 Pass $network_wide flag to de/activation hooks. See #14170
git-svn-id: https://develop.svn.wordpress.org/trunk@16011 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:20:53 +00:00
Andrew Nacin dfa3d5561d Improve the line height on div.updated, div.error. props joelhardi, fixes #14891.
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Dion Hulse 82443ce769 Use Absolute URL's & API's in header redirects in more locations. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Dion Hulse 3c4cd0b408 Use Absolute URL's in header redirects in wp-admin/plugin.php. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16006 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:25:13 +00:00
Andrew Nacin 605b0c48e3 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16004 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:48:55 +00:00
Andrew Nacin 71c59b865a Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Andrew Nacin 8e5ba0694f Language cleanup. props mrmist, fixes #14409.
git-svn-id: https://develop.svn.wordpress.org/trunk@16002 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:19:28 +00:00
Andrew Nacin 4dd97a09bf Language cleanup. props jane, scribu, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@16001 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:14:48 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin c1bbe2983f Add 'Check Again' button and timestamp to update-core. Also return the same error message for themes as we do for plugins when no checkboxes are checked. fixes #14764.
git-svn-id: https://develop.svn.wordpress.org/trunk@15996 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 02:21:49 +00:00
Andrew Nacin bb66fd85da Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.
git-svn-id: https://develop.svn.wordpress.org/trunk@15992 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:48:08 +00:00
scribu f9fa7ecc39 Round bottom-right corner of the screen options dropdown. Fixes #15226
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +00:00
Andrew Nacin 5c3d8ff7b7 Remove trailing newlines. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15985 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:21:27 +00:00
Andrew Nacin fb3a8f92bf Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Andrew Nacin afde42977a Fix Dashboard link in Network Admin on update-core. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15979 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:41:43 +00:00
Andrew Nacin 65cb97f7b7 s/awhile/a while/. props jane, PeteMall, fixes #15225.
git-svn-id: https://develop.svn.wordpress.org/trunk@15978 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:40:54 +00:00
Ryan Boren b9187fc683 Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047
git-svn-id: https://develop.svn.wordpress.org/trunk@15977 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:18:49 +00:00
Ryan Boren 7f1de33932 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:14:31 +00:00
Ryan Boren bff73fa973 Cause infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: https://develop.svn.wordpress.org/trunk@15971 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:43:26 +00:00
Andrew Nacin 55db5a4d9d Classes must be defined before they are extended. props PeteMall, see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15969 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 04:48:03 +00:00
Andrew Nacin 9c39f8bcf2 Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin f7345eb522 wp_htmledit_pre for salts in wp-admin/network. fixes #15092.
git-svn-id: https://develop.svn.wordpress.org/trunk@15965 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:36:23 +00:00
scribu 14d6d39a72 Remove dead 'delete-link-cat' ajax handler. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15963 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 01:16:08 +00:00
Ryan Boren ae76af21a9 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Andrew Nacin d68060204a Fix inverted logic. props duck_. fixes #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15959 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 08:27:49 +00:00
Andrew Nacin c1d8f9cd69 phpdoc for the various list table includes. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15958 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 04:04:18 +00:00
Andrew Nacin 49589001bb Commit the rest of [15955]. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15956 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:58:25 +00:00
Andrew Nacin 2a7cb746de Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15955 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:57:43 +00:00
Andrew Nacin 6f05802a40 Shuffle list-table files. First pass. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
Andrew Nacin 0799c3f519 Avoid extra conditional in the subdirectory rewrite rules. props wpmuguru, fixes #15083.
git-svn-id: https://develop.svn.wordpress.org/trunk@15949 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 21:09:33 +00:00
Andrew Nacin 4bc9423b85 Don't use deprecated path in wp_admin_css call.
git-svn-id: https://develop.svn.wordpress.org/trunk@15947 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:22:39 +00:00
Andrew Nacin f392876ac7 Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15946 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:20:52 +00:00
Andrew Nacin 787da5c464 Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15945 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 18:07:20 +00:00
scribu 31cb193012 Add sanitized plugin name as id attribute to plugin rows. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15944 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 15:46:33 +00:00
Andrew Nacin 46458ec3ca Compress scripts and bump for [15939] [15940]. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15941 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:03:52 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Ozz 790b4dbdf0 Clean list-table.js: when declaring JS object a comma after the last property is invalid, remove unused vars. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15939 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 20:52:49 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
scribu 7dc089e685 Revert [15925]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15927 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:05:00 +00:00
scribu 0658668634 Set $plugin_file as plugin row id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15925 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:46:01 +00:00
scribu 2146585c80 Use row_actions() in WP_Plugins_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15924 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:22:00 +00:00
Ryan Boren 6f62e4f13c Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: https://develop.svn.wordpress.org/trunk@15920 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 20:17:17 +00:00
Ryan Boren f2dbc7d273 Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Ryan Boren 414b000848 Fix id
git-svn-id: https://develop.svn.wordpress.org/trunk@15913 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:41:30 +00:00
scribu 04f36aafa9 Make plugin search & order methods, instead of standalone functions. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15912 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 11:08:35 +00:00
Andrew Nacin 48c841392a Mid-page headers should be h3, not h2.
git-svn-id: https://develop.svn.wordpress.org/trunk@15910 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 00:27:12 +00:00
Andrew Nacin c6f08a2929 And site-new, too. props PeteMall, see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15908 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:31:01 +00:00
Andrew Nacin b61c50cbf3 Use correct network admin icon. props PeteMall, see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15907 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:24:54 +00:00
Andrew Nacin 337eeb3134 Checkboxes over radio buttons for site info tab. Values outside of 0/1 won't be changed, see #12832 for previous discussion. see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15906 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:23:54 +00:00
Ryan Boren 8b52b36850 Fix bulk network users nonce. Props duck_. fixes #15168
git-svn-id: https://develop.svn.wordpress.org/trunk@15905 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 20:20:50 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Ryan Boren 69994bf7ca Tabbed interface for site editing. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15903 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 18:35:52 +00:00
Andrew Nacin b41591f183 Please pardon my OCD.
git-svn-id: https://develop.svn.wordpress.org/trunk@15902 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:53:26 +00:00
Andrew Nacin b25df4f549 Rename Update menu to Updates in network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15901 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:52:44 +00:00
Andrew Nacin 95332ccaa7 Hooks for user dashboard. props PeteMall, see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@15900 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:51:49 +00:00
Andrew Nacin df81af604c Network admin theme install. props PeteMall, fixes #15184.
git-svn-id: https://develop.svn.wordpress.org/trunk@15898 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:06:52 +00:00
Andrew Nacin 6d20960c97 Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00
Andrew Nacin 63f0dd2135 Add @since to new file. props markmcwilliams. see #15174.
git-svn-id: https://develop.svn.wordpress.org/trunk@15895 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:38:50 +00:00
scribu bb3325a6df Fix notices in WP_List_Table::ajax_response(). Props Utkarsh. Fixes #15185
git-svn-id: https://develop.svn.wordpress.org/trunk@15894 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:30:35 +00:00
scribu 82a68a8979 Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:15:50 +00:00
Andrew Nacin a2061db4b5 Use correct class.
git-svn-id: https://develop.svn.wordpress.org/trunk@15889 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:20:40 +00:00
scribu a3ef15ffc0 Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:03:25 +00:00
Ryan Boren e93f819e09 Move add site form to site-new.php. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15886 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:49:49 +00:00
Ryan Boren 238431b624 Add network/update-core.php. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15885 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:27 +00:00
Ryan Boren 682376a2ae Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Andrew Nacin c4d5a5e4a6 Encode the amp in the edit-tags menu link for pages. props blepoxp, see #14489 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15881 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 12:42:48 +00:00
Andrew Nacin 60526c0fc8 Doc blocks for wp-admin/network. see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15880 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:21:13 +00:00
Andrew Nacin 333d76f339 Doc blocks for wp-admin/user. see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@15879 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:14:22 +00:00
Andrew Nacin 82cd99503e Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: https://develop.svn.wordpress.org/trunk@15878 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 10:06:17 +00:00
Ryan Boren 76b207939d Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren 7734b05a71 Add update-core to network admin. Props PeteMall. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15871 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:38:00 +00:00
Andrew Nacin 5382542c1a Add some more network admin logic to the plugins list table. fixes #15166.
git-svn-id: https://develop.svn.wordpress.org/trunk@15870 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:09:55 +00:00
Andrew Nacin e745378cab Fix dashboard menu icon in network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15869 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:52:10 +00:00
Andrew Nacin ba2d60c7fd Cast before implode. fixes #15167.
git-svn-id: https://develop.svn.wordpress.org/trunk@15868 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:22:47 +00:00
Ryan Boren 771bf8b862 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: https://develop.svn.wordpress.org/trunk@15867 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:16:03 +00:00
Ryan Boren c9c814ab8c Improved self determination. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15866 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:08:29 +00:00
Andrew Nacin 8c710ff5e8 Add files we've deleted thus far to update-core.
git-svn-id: https://develop.svn.wordpress.org/trunk@15859 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 11:56:04 +00:00
Andrew Nacin 0aba879b95 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Andrew Nacin 92bf5ec246 Remove wp-admin/sidebar.php. fixes #15164.
git-svn-id: https://develop.svn.wordpress.org/trunk@15857 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 09:58:21 +00:00
Ryan Boren 898e5b0268 Plugin editing for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15853 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 18:23:23 +00:00
Dion Hulse 43bfe31ce2 Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: https://develop.svn.wordpress.org/trunk@15849 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:52:46 +00:00
Andrew Nacin 19f0fffed4 Remove debug cruft in [15844].
git-svn-id: https://develop.svn.wordpress.org/trunk@15845 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:59:26 +00:00
Andrew Nacin 22ba9295bf Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin fc71934f11 Full @since's for 3.1.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
Ryan Boren 122a2981c4 Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
git-svn-id: https://develop.svn.wordpress.org/trunk@15836 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:53:47 +00:00
Ryan Boren 8b610e7c83 Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15834 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:58:36 +00:00
scribu 0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
Andrew Nacin b7ffec08f8 Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: https://develop.svn.wordpress.org/trunk@15828 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 07:12:34 +00:00
Dion Hulse cc59063ea9 The Hook that never was. Use correct / Revert back-compat hookname changes in [15820]. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15823 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 23:50:09 +00:00
scribu 85c1dd25c5 Get rid of old link category management files. Fixes #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15820 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 13:26:54 +00:00
Ryan Boren b92ecce757 Nav menu phpdoc updates. Props Utkarsh. fixes #15125
git-svn-id: https://develop.svn.wordpress.org/trunk@15815 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:05:33 +00:00
scribu baa3e083c7 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Ryan Boren f94d3abee4 Remove undismissable 'new themes must be activated' super admin notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@15809 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:07:05 +00:00
Ryan Boren e81d40fa7f Hook up theme filter. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15807 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:37:08 +00:00
scribu 3bd3ec6455 Add hook in custom header admin page. Props blepoxp. Fixes #15119
git-svn-id: https://develop.svn.wordpress.org/trunk@15805 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 14:02:06 +00:00
Andrew Nacin 2e864d29ad Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.
git-svn-id: https://develop.svn.wordpress.org/trunk@15802 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 09:53:04 +00:00
scribu ba394c63a4 Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu 2e0bd92a09 get_edit_term_link() improvements:
* add optional $object_type parameter
	* make $term_id and $taxonomy parameters mandatory
	* pass all relevant information to the filter
	* use in WP_Terms_Table
See #9702


git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
Ryan Boren 8da08f0073 Fix notice when creating users. Props coffee2code. fixes #14286
git-svn-id: https://develop.svn.wordpress.org/trunk@15799 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:26:43 +00:00
Ryan Boren f850029280 Don't show a term's descendants in the parent selector. Props mdawaffe. fixes #14663
git-svn-id: https://develop.svn.wordpress.org/trunk@15798 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:15:04 +00:00
Andrew Nacin 5e37bb785a s/showposts/posts_per_page/
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
scribu e87af16398 first pass at strength indicator on password reset. see #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15782 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 21:37:01 +00:00
scribu 33077f83fa move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
scribu eb59a85d22 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Andrew Nacin 71dec45612 Fix some notices. props mrmist, fixes #15079. Also some standards fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@15761 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 08:59:57 +00:00
Andrew Nacin 17b2091b43 s/Backend/Dashboard/. props markmcwilliams, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@15759 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 02:11:10 +00:00
Andrew Nacin 617945e60c Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
Andrew Nacin a1cd90933d s/Wether/Whether/
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +00:00
scribu 500d2be317 Revert part of [15753]. See [12914]. See #14666
git-svn-id: https://develop.svn.wordpress.org/trunk@15754 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:58:45 +00:00
scribu 63d011c9dc Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
git-svn-id: https://develop.svn.wordpress.org/trunk@15753 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:35:31 +00:00
scribu 7005ab8841 Revive WP_User_Search as deprecated. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15748 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:13:11 +00:00
Ryan Boren 1b7b0e1d7f Unset global variables when they are no longer needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@15747 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:12:49 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu 3950973583 Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671
git-svn-id: https://develop.svn.wordpress.org/trunk@15744 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 15:27:47 +00:00
scribu eb178ad876 More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:53:37 +00:00
Andrew Nacin d8596259e2 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:10:35 +00:00
Mark Jaquith dfa0e20a64 Fix an English fail.
git-svn-id: https://develop.svn.wordpress.org/trunk@15740 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:04:15 +00:00
Andrew Nacin 6c9318e763 Verify that a widget is draggable before stripping its draggability. props filosofo, see #12863. Fixes widget creation for jQUI 1.8.5; should be fixed in jQUI 1.8.6.
git-svn-id: https://develop.svn.wordpress.org/trunk@15738 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 04:20:19 +00:00
Ryan Boren e40c09a140 Move themes_api() to theme.php so that it is available to themes.php. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15727 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 13:24:41 +00:00
Andrew Nacin 4360f8c1a4 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
git-svn-id: https://develop.svn.wordpress.org/trunk@15722 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:53:04 +00:00
Ryan Boren 01094c2d95 Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15719 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:29:14 +00:00
Ryan Boren 81896473cf Revert [15717]; it had extra bits in it
git-svn-id: https://develop.svn.wordpress.org/trunk@15718 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:28:31 +00:00
Ryan Boren 6eba2ab51d Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15717 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:26:40 +00:00
Ryan Boren 0afda4b179 require_once to avoid error from admin bar snack menu include
git-svn-id: https://develop.svn.wordpress.org/trunk@15716 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:25:39 +00:00
scribu 078cda9275 Fix menu box search. Fixes #14335
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 14:17:34 +00:00
Andrew Nacin 8e067e926c Initialize a variable. fixes #15025.
git-svn-id: https://develop.svn.wordpress.org/trunk@15699 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 08:48:43 +00:00
Dion Hulse 0d9b6a856a Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15697 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:26:58 +00:00
Andrew Nacin 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@15690 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:29:44 +00:00
Andrew Nacin ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
Andrew Ozz 358c7e1885 TinyMCE 3.3 first run
git-svn-id: https://develop.svn.wordpress.org/trunk@15683 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:14:12 +00:00
Ryan Boren f81a980a70 Eliminate admin_notice_feed(). Props technosailor. fixes #14587
git-svn-id: https://develop.svn.wordpress.org/trunk@15679 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:34:25 +00:00
Andrew Nacin 4a08f231a0 Add missing echo. see #14139, [15665].
git-svn-id: https://develop.svn.wordpress.org/trunk@15674 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-29 09:11:08 +00:00
Andrew Nacin 89656a07b5 Don't echo the updated div on sites.php before the admin header.
git-svn-id: https://develop.svn.wordpress.org/trunk@15673 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-28 18:21:46 +00:00
Andrew Nacin 52eef00d94 Fix a comma splice. Props Amanda French.
git-svn-id: https://develop.svn.wordpress.org/trunk@15670 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 07:29:18 +00:00
scribu 130b669167 Fix redirection when saving network settings. Fixes #14970
git-svn-id: https://develop.svn.wordpress.org/trunk@15669 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 23:18:43 +00:00
Dion Hulse faf15fa40e Partially revert [15642]. Fixes Bulk deletion of non-media items. As a bonus, exit on redirects & check the post status is valid before querying it. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15667 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:56:36 +00:00
Dion Hulse 57af0bf212 Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964
git-svn-id: https://develop.svn.wordpress.org/trunk@15666 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:02:23 +00:00
Andrew Nacin 07a421af1f Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.
git-svn-id: https://develop.svn.wordpress.org/trunk@15665 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:37:25 +00:00
Andrew Nacin 842f61b71e Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@15664 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:34:09 +00:00
Andrew Nacin 1c24b9d9e8 Remove debug cruft. see [15662].
git-svn-id: https://develop.svn.wordpress.org/trunk@15663 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:19:17 +00:00
Andrew Nacin 7639bd04c7 Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: https://develop.svn.wordpress.org/trunk@15662 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:16:38 +00:00
Andrew Nacin 6aea75f676 Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: https://develop.svn.wordpress.org/trunk@15661 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:51:34 +00:00
Dion Hulse ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
scribu 60adebf724 Remove misplaced code introduced in [15653]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15657 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:38:21 +00:00
Ryan Boren 36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
Ryan Boren beb20a5bd5 get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15655 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 15:28:28 +00:00
scribu 861c929165 Column headers revamp:
* undeprecate get_column_headers()
	* undeprecate get_hidden_columns()
	* in WP_List_Table, rename get_column_headers() to get_column_info()
	* remove $taxonomy argument from single_row()
	* merge manage_columns_prefs() into screen_meta()
Fixes #14952. Fixes #14776.


git-svn-id: https://develop.svn.wordpress.org/trunk@15653 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 13:35:06 +00:00
Ryan Boren 73f10a4468 Options list for current theme. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15646 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 17:23:38 +00:00
Ryan Boren 45c4e0dc1b Options list for current theme. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15645 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 17:23:00 +00:00
Ryan Boren e541559b37 Theme searching. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15644 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:28:03 +00:00
scribu b7be962c6b Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: https://develop.svn.wordpress.org/trunk@15643 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:26:16 +00:00
scribu 728285edbd Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15642 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 00:10:39 +00:00
scribu 523e35615c Map 'approved' comment view to 'approve' comment status. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15633 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:51:53 +00:00
scribu 2e97d45693 WP_Terms_Table cleanup:
* use column_*() methods
	* remove $taxonomy argument from single_row()
	* don't calculate tag full name in admin-ajax.php
See #14579



git-svn-id: https://develop.svn.wordpress.org/trunk@15632 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:30:53 +00:00
scribu 82b8a56920 WP_Comments_Table cleanup:
* use column_*() methods
	* remove extra arguments from single_row()
	* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
	* use $pending_count property instead of $_comment_pending_count global
See #14579



git-svn-id: https://develop.svn.wordpress.org/trunk@15630 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:46:29 +00:00
scribu 6c744c7278 Extra single_row_columns() out of single_row() for increased flexibility. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15629 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:21:32 +00:00
scribu 208ce10e09 Remove unused edit-*-rows.php files. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15628 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:17:29 +00:00
scribu 6a582df334 Add default display_rows() and single_row() methods to WP_List_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15622 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:07:39 +00:00
scribu 30581c2d4d Fix border radius in login form. Props filosofo. Fixes #14872
git-svn-id: https://develop.svn.wordpress.org/trunk@15619 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 09:24:11 +00:00
Andrew Nacin 76a83d9086 Correct typo and use full blogs.dir path. props filosofo, fixes #14871.
git-svn-id: https://develop.svn.wordpress.org/trunk@15618 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:53:28 +00:00
Andrew Nacin 66874878a1 Don't show the default password nag on the profile screen. props duck_, fixes #14861.
git-svn-id: https://develop.svn.wordpress.org/trunk@15614 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:49:04 +00:00
Andrew Nacin 32661cca41 Don't try to load WP in admin-ajax if we have no action to take.
git-svn-id: https://develop.svn.wordpress.org/trunk@15606 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 17:02:55 +00:00
scribu 7bf97e4ab2 Fix posts screen for contributors. Fixes #14822
git-svn-id: https://develop.svn.wordpress.org/trunk@15605 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 22:22:36 +00:00
Peter Westwood bb132059a3 Apply some bandaid to WP_Comments_Table::prepare_items() to cover more of the different ways we include post IDs in urls/ajax queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@15604 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 20:34:40 +00:00
scribu 9d784b7329 Fix MS User search. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15603 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:20:07 +00:00
scribu 84771d91a8 Fix MS Sites nonce. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15602 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:17:31 +00:00
Andrew Nacin 5c05a437a9 Add force_filtered_html_on_import filter. fixes #14818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15600 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 02:43:18 +00:00
scribu 67cb12cebb Fix delete plugin links. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15597 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 12:15:50 +00:00
scribu b1def7dad8 Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin 39819adc3b Fix typo. props mrmist, fixes #14571.
git-svn-id: https://develop.svn.wordpress.org/trunk@15593 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 15:11:43 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Mark Jaquith d901f3af6b Duplicate Save button for nav menus at the bottom. fixes #14265. props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@15588 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:40:53 +00:00
scribu 25677d588c introduce WP_List_Table::views(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 21:26:27 +00:00
scribu 5339a2f2f4 Fix theme pagination. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15577 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:26:01 +00:00
scribu 9115c76b53 Fix Change Role dropdown. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15576 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:01:38 +00:00
scribu cb4810489d Use get_users() in users.php. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15575 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:00:51 +00:00
scribu 2084962f5a remove useless __() call with variable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15573 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 18:19:38 +00:00
scribu d908e82bc5 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15572 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 17:07:36 +00:00
scribu 248e0fd2c9 Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15571 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 16:53:59 +00:00
scribu 0c6e23f604 Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15569 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:15:46 +00:00
scribu 9344ecc8b5 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:49:52 +00:00
scribu ef3ee6e841 call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:35:55 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Ryan Boren b2351693de is_blog_admin(). fixes #14763
git-svn-id: https://develop.svn.wordpress.org/trunk@15558 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 15:03:39 +00:00
Ryan Boren 6f7289bfa5 Fix page taxonomy query string. Props t31os_. fixes #14591
git-svn-id: https://develop.svn.wordpress.org/trunk@15556 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:36:04 +00:00
Ryan Boren 22bd5efd46 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15555 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:27:59 +00:00
Andrew Nacin b4369ec5b6 Use return_empty_array instead of create_function. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15546 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 04:54:27 +00:00
scribu 33f73ce32f Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu a90bc8e1d4 Fix post_author_meta_box(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15541 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:24:41 +00:00
scribu 0b1b005b66 Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15540 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:22:29 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
scribu 072ea8728b Fix weird wrapping of sorting arrow in Chrome. Fixes #14706
git-svn-id: https://develop.svn.wordpress.org/trunk@15538 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 22:11:04 +00:00
scribu f4f1ee91ac use unaltered in the get_list_table_* filter
git-svn-id: https://develop.svn.wordpress.org/trunk@15535 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 11:02:51 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu 76ac1c93a8 Introduce get_list_table(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu c521615314 On the plugins page, set and at the right time. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15527 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-24 19:50:55 +00:00
scribu b14febd290 munge admin-table.js & minify jquery.query
git-svn-id: https://develop.svn.wordpress.org/trunk@15526 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:44:25 +00:00
scribu 13122b9048 Fix Recently Active plugins screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15525 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:31:42 +00:00
scribu 13cf1eda37 Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: https://develop.svn.wordpress.org/trunk@15524 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:56:39 +00:00
Nikolay Bachiyski 942196b9c0 Fix typo
There were multiple to-s


git-svn-id: https://develop.svn.wordpress.org/trunk@15523 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:55:26 +00:00
Nikolay Bachiyski f80fb8883a I18n fixes
Do not leave more than %s in a translatable string and add a comment for translators what each placeholder means


git-svn-id: https://develop.svn.wordpress.org/trunk@15522 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:53:38 +00:00
Ryan Boren 2ad9bf2abe Some escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@15521 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 13:25:51 +00:00
scribu 1c4aeef40e replace $table with $wp_list_table. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu b96c92620d use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15518 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 01:50:34 +00:00
scribu e848b8b815 Make deprecated functions work. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15517 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 18:08:42 +00:00
scribu a2a3bd31cb Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: https://develop.svn.wordpress.org/trunk@15516 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:56:24 +00:00
scribu 83d019c1d9 Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:33:56 +00:00
scribu 36d2fff18d Fix the comment type dropdown. Fixes #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15513 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:43:32 +00:00
scribu 316ce57342 Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15512 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:18:41 +00:00
scribu c016d150ef Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: https://develop.svn.wordpress.org/trunk@15511 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 20:10:28 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu 9685e25bad refactor admin-table.js code
git-svn-id: https://develop.svn.wordpress.org/trunk@15507 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 21:02:24 +00:00
scribu dff48c8597 Temporary fix for #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15506 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:58:55 +00:00
scribu 1a078f252a correct post id in comments_bubble()
git-svn-id: https://develop.svn.wordpress.org/trunk@15505 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:41:58 +00:00
scribu 0a6cb83e18 introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15504 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:30:27 +00:00
scribu 5b221368ad WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@15502 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-17 21:55:42 +00:00
scribu 6d510588aa Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15501 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-16 01:36:21 +00:00
scribu 52737f7b3e In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15500 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 22:36:17 +00:00
scribu 9b75ec1e92 Fix remaining links to ms-* files. Includes patch by markmcwilliams. See 14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15499 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 19:12:06 +00:00
scribu aa7117dfe5 Round th corners. Based on patch by wedsxcrfv. Fixes #14613
git-svn-id: https://develop.svn.wordpress.org/trunk@15498 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 11:02:31 +00:00
scribu 9805f3a4b0 Fix Comments meta box in post editing screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15497 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:58:49 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu d570886128 Fix ajaxification in network area by using ajaxurl. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15495 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:45:40 +00:00
scribu 4a855fb895 Fix network files. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15494 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:38:46 +00:00
scribu c5c084c42f Small, subtle fixes. See #14596
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +00:00
scribu 655340ec04 Revert MS related stuff in plugins.php from [15491]
git-svn-id: https://develop.svn.wordpress.org/trunk@15492 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 23:49:30 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Peter Westwood 18a112a466 Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@15490 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-07 21:06:06 +00:00
Ryan Boren 01508edfac Favorite action for network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15489 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 19:07:03 +00:00
Ryan Boren 126dc0a006 Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15488 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 18:10:43 +00:00
Ryan Boren 20ef146992 Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: https://develop.svn.wordpress.org/trunk@15487 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:56:05 +00:00
Ryan Boren 7d0a19de0f Remove show_post_thumbnail_warning
git-svn-id: https://develop.svn.wordpress.org/trunk@15486 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:29:34 +00:00
Ryan Boren 383b705801 Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: https://develop.svn.wordpress.org/trunk@15485 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:25:54 +00:00
Ryan Boren 9d87a4c9a9 Update network upgrade links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15484 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 15:36:57 +00:00
Ryan Boren dcebd71a25 Fix network plugins menu active highlight. Props duck_. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15483 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 21:33:39 +00:00
Ryan Boren edd48280e3 Network Admin, first pass. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Peter Westwood e777a1fbf4 Context for the medium password strength string to disabiguate it. Fixes #14431 for trunk props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@15475 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-29 20:42:05 +00:00
Mark Jaquith 59f6264c64 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: https://develop.svn.wordpress.org/trunk@15473 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-27 18:02:45 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Dion Hulse 2ea4fcd6d9 Only use maintenance_mode() for ( is_multisite() || (plugin|theme) being updated is in use ) with Plugin|Theme Bulk Upgrades. See #14393
git-svn-id: https://develop.svn.wordpress.org/trunk@15469 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-24 03:59:53 +00:00
Ryan Boren 0734c33eb0 Update wordpress.org blog url
git-svn-id: https://develop.svn.wordpress.org/trunk@15457 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 13:45:43 +00:00
Andrew Nacin 802af4dd92 Ensure we're saving valid menu locations. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15454 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 07:00:22 +00:00
Ryan Boren 432adc1c33 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15450 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 17:27:04 +00:00
Nikolay Bachiyski 1ed9585257 Do not include space in the beginning of internationalized string
git-svn-id: https://develop.svn.wordpress.org/trunk@15448 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 20:36:30 +00:00
Ryan Boren 0e8e96649b Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 16:28:26 +00:00
Ryan Boren ef992f592c Add cap check. see #14343
git-svn-id: https://develop.svn.wordpress.org/trunk@15441 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:59:53 +00:00
Ryan Boren 38563c2521 Add cap check. Props duck_. see #14343
git-svn-id: https://develop.svn.wordpress.org/trunk@15439 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:53:58 +00:00
Andrew Nacin bf425efae3 Don't publish the first menu to the first menu location immediately on create. Bad UX. for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15430 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 15:13:01 +00:00
Andrew Nacin 26e4490a6b Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15424 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 04:53:45 +00:00
Andrew Nacin 97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Ryan Boren 63503c5022 Back compat load actions. Props simonwheatley. fixes #14083 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15387 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:09:32 +00:00
Ryan Boren b155b1e304 Block editing of sites in a network other than the current one. Props wpmuguru. see #14185 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15385 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:01:25 +00:00
Peter Westwood e9aae4a53a Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@15381 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-10 07:25:10 +00:00
Andrew Nacin 20c540feeb Add missing echo. props PhillKenoyer, fixes #14242 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15379 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 23:37:43 +00:00
Andrew Nacin 9d381db2cb Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@15376 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 20:35:51 +00:00
Ryan Boren 630cc3878b Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15374 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 13:55:14 +00:00
Andrew Nacin d4955c0264 Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15372 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 07:39:14 +00:00
Andrew Nacin 66a16124a4 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15367 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:24:38 +00:00
Ryan Boren 6149b94c48 Fix nonce for Press This category adder. fixes #14210 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15365 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 16:43:47 +00:00
Andrew Nacin bea71072af Give nav-menus.php some better include paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@15361 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-01 00:24:36 +00:00
Andrew Nacin ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Ryan Boren 9fe4a697cf Don't process allowedthemes option when editing a site. Props wpmuguru. fixes #14120
git-svn-id: https://develop.svn.wordpress.org/trunk@15351 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:32:49 +00:00
Ryan Boren d9eb60c0a0 Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15346 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 13:52:56 +00:00
Andrew Nacin f58a5ced8b s/trash/Trash/
git-svn-id: https://develop.svn.wordpress.org/trunk@15345 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 08:47:43 +00:00
Andrew Nacin 1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin ed6045fbb6 Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15342 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 20:11:59 +00:00
Ryan Boren ceab605169 Use prepare(). Props Ben Ward.
git-svn-id: https://develop.svn.wordpress.org/trunk@15340 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 19:55:55 +00:00
Andrew Nacin 494f898c39 screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: https://develop.svn.wordpress.org/trunk@15339 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 08:38:06 +00:00
Andrew Nacin 462d22c3e2 Increment first, to avoid ++ later on when it conflicts with [25].
git-svn-id: https://develop.svn.wordpress.org/trunk@15338 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 04:21:33 +00:00
Andrew Nacin 73b2b7c164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
Andrew Nacin 36a12c4dc3 Proper handling of menu nonsupport message. props deanjrobinson, fixes #14098 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15334 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-26 07:12:15 +00:00
Andrew Nacin 8a95a0d25d i18n a string in import.php. props vanillalounge, fixes #14086 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15326 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:04:54 +00:00
Peter Westwood 71ba7b122d Remove dead code. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@15324 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:51:46 +00:00
Peter Westwood 9879c27093 Fix notice when visiting the plugins page as a site admin with multisite enabled. Fixes #14010.
git-svn-id: https://develop.svn.wordpress.org/trunk@15323 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:47:44 +00:00
Ryan Boren 4ed0fb72d8 Markup fixes for plugins screen. Props johnbillion. fixes #14007 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15318 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:10:23 +00:00
Ryan Boren 494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ryan Boren 3cd056320a Remove unused global. Props filosofo. fixes #13933 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15313 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:53:26 +00:00
Andrew Nacin 5c9e072270 s/site/network/ in user-new.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@15310 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 05:38:58 +00:00
Andrew Nacin 0f2f62762b Revert typo. Thanks autocomplete for randomly modifying my file. see #14026.
git-svn-id: https://develop.svn.wordpress.org/trunk@15307 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:22:43 +00:00
Andrew Nacin f3100ef18c Avoid variable clash in export.php. see #14026 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15306 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:17:49 +00:00
Andrew Nacin 5154f54e0a Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: https://develop.svn.wordpress.org/trunk@15305 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 05:10:45 +00:00
Andrew Nacin 4352937ec0 Fix typo in user-new help. see #14038 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15304 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 23:04:49 +00:00
Andrew Nacin dbcb4eeaa8 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: https://develop.svn.wordpress.org/trunk@15301 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 20:52:48 +00:00
Andrew Nacin 6121122d9a Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: https://develop.svn.wordpress.org/trunk@15300 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:38:19 +00:00
Andrew Nacin 98d3d275bf Remove unused global from install-helper. props hakre, fixes #13405.
git-svn-id: https://develop.svn.wordpress.org/trunk@15299 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:31:50 +00:00
Andrew Nacin ccabcee5d7 Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15297 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 18:18:39 +00:00
Andrew Nacin 15a13b431b Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15293 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 05:36:18 +00:00
Dion Hulse 9c7369cca9 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15292 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:13:57 +00:00
Dion Hulse f13e3b1dc2 Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: https://develop.svn.wordpress.org/trunk@15287 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:28:27 +00:00
Dion Hulse 8290bddd76 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: https://develop.svn.wordpress.org/trunk@15286 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:05:23 +00:00
Dion Hulse 98b6ab2bb2 Correct the links to the codex for non-english users. Props ocean90. Fixes #13948 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15281 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:49:38 +00:00
Dion Hulse e263911f0e Fix typos in r15278. Caused by fat fingers.
git-svn-id: https://develop.svn.wordpress.org/trunk@15280 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:48:30 +00:00
Dion Hulse 9603705443 Replace Permalink options Javascript with easily understood jQuery version
git-svn-id: https://develop.svn.wordpress.org/trunk@15279 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:40:43 +00:00
Dion Hulse 309a88827b Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Ryan Boren 94efed64a0 Allow only super admins to see plugins.php if the Plugins menu is not exposed. Props ocean90. fixes #13944
git-svn-id: https://develop.svn.wordpress.org/trunk@15271 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:57:02 +00:00
Andrew Nacin 44bb966035 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: https://develop.svn.wordpress.org/trunk@15268 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 20:08:58 +00:00
Andrew Nacin 3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith 8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Andrew Nacin a85abb3763 Remove errant closing label tag. props wahgnube, fixes #13901.
git-svn-id: https://develop.svn.wordpress.org/trunk@15260 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 11:33:52 +00:00
Ryan Boren ab9c5796b3 Remove trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@15259 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 23:39:35 +00:00
Andrew Nacin 42ee42dee0 Fix IE8 line-height of title input. props ocean90, fixes #13890.
git-svn-id: https://develop.svn.wordpress.org/trunk@15255 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:48:24 +00:00
Andrew Nacin 09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Ryan Boren 9968a51d0d Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: https://develop.svn.wordpress.org/trunk@15253 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:33:04 +00:00
Ryan Boren 815f93e80b set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892
git-svn-id: https://develop.svn.wordpress.org/trunk@15252 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 18:08:32 +00:00
Andrew Nacin b354c95af3 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: https://develop.svn.wordpress.org/trunk@15250 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:40:52 +00:00
Andrew Nacin 3ca83773a7 Use more specific selector. props CAMWebDesign, fixes #13880.
git-svn-id: https://develop.svn.wordpress.org/trunk@15248 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:25:34 +00:00
Ron Rennick 4e2c4c4c71 use site details on confirm delete site, props sivel, fixes #13873.diff
git-svn-id: https://develop.svn.wordpress.org/trunk@15245 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 23:47:05 +00:00
Peter Westwood 7eddc7a833 Fix typo in translation. Fixes #13872 props Angeloverona.
git-svn-id: https://develop.svn.wordpress.org/trunk@15244 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 16:19:04 +00:00
Andrew Nacin 95256b14b9 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 06:20:51 +00:00
Mark Jaquith 5b51d69bfa WEAPON LOCKED. http://txfx.net/s/34 props Left Bank Pictures (Strike Back).
git-svn-id: https://develop.svn.wordpress.org/trunk@15239 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 09:45:32 +00:00
Andrew Nacin b7fe818d58 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: https://develop.svn.wordpress.org/trunk@15238 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 05:16:21 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Ron Rennick 1a8683be07 non js support in options permalink, props filosofo, fixes #13856
git-svn-id: https://develop.svn.wordpress.org/trunk@15233 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:15:30 +00:00
Andrew Nacin 616e2e1185 Missing links for custom background, header, and GUU. props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15231 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:00:29 +00:00
Ron Rennick 3e360da417 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:18:17 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Andrew Nacin f680252c00 Add a constant for allow_subdirectory_install as conventional plugins have to be disabled on network.php. fixes #13844.
git-svn-id: https://develop.svn.wordpress.org/trunk@15225 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:38:11 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ron Rennick 9c74b84590 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: https://develop.svn.wordpress.org/trunk@15219 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:34:32 +00:00
Ryan Boren 5dca05f13b IE RTL fixes. Props koopersmith. fixes #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15218 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:30:12 +00:00
Dion Hulse 6c71a5d1e4 re-minify wp-admin.dev.css after r15215. See #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@15216 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 12:42:40 +00:00
Dion Hulse 16ccc13e00 Commit .dev version of wp-admin.css for r14816. See #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@15215 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 12:32:09 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin 7a7a294de0 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: https://develop.svn.wordpress.org/trunk@15211 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:03:17 +00:00
Andrew Nacin 58951fbf39 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: https://develop.svn.wordpress.org/trunk@15210 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:01:51 +00:00
Andrew Nacin 28d8b1a98e Fix admin menu background for long names. props JohnONolan, fixes #13803.
git-svn-id: https://develop.svn.wordpress.org/trunk@15206 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 00:42:09 +00:00
Andrew Nacin 8a82d39002 Check for the import cap before showing links to the tag/cat converter. props kpdesign, fixes #13834.
git-svn-id: https://develop.svn.wordpress.org/trunk@15205 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 00:00:47 +00:00
Peter Westwood 063ca11e7a Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
git-svn-id: https://develop.svn.wordpress.org/trunk@15203 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:38:41 +00:00
Ron Rennick 06dadab38b alway update fileupload_url during initial network install, see #13828
git-svn-id: https://develop.svn.wordpress.org/trunk@15202 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:31:46 +00:00
Andrew Nacin 825032bbf6 Provide context for screen options plural labels. fixes #13369.
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:56:14 +00:00
Andrew Nacin a052939dfc Revert accidental commit. see [15199], see #13369
git-svn-id: https://develop.svn.wordpress.org/trunk@15200 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:48:04 +00:00
Andrew Nacin 0ed6a9bbb2 Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: https://develop.svn.wordpress.org/trunk@15199 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:44:54 +00:00
Andrew Nacin 2621ba04fe Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15196 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:28:25 +00:00
Andrew Nacin a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin 5dcf82f22f Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15191 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:37:15 +00:00
Andrew Nacin 9d38c0af9e Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Andrew Nacin acbc109260 Server-side check for an empty menu name on save. props ocean90, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15189 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 15:28:39 +00:00
Ryan Boren d61154542c Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15187 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:41:51 +00:00
Andrew Nacin fa5dd80231 Use entity. props zeo, see #13720.
git-svn-id: https://develop.svn.wordpress.org/trunk@15185 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 22:32:08 +00:00
Ryan Boren 5dc92cb07f Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Ryan Boren 5eb178ac14 Sort only when importers exist. Props aaroncampbell. fixes #13806
git-svn-id: https://develop.svn.wordpress.org/trunk@15181 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:33:16 +00:00
Peter Westwood 537fcf4970 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:21:43 +00:00
Ryan Boren 8dc054b4ed Warning and styling fixes. Props ocean90. fixes #13775
git-svn-id: https://develop.svn.wordpress.org/trunk@15179 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 18:13:29 +00:00
Ryan Boren 9537ce264c Set the screen for add-tag ajax requests. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15178 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 16:52:25 +00:00
Andrew Nacin 5d8d6a9095 Script bump for [15176] and use existing naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@15177 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 04:01:12 +00:00
Matt Thomas 2760cde995 Replacing previous classic theme logo with a new one from Ben Dunkle
git-svn-id: https://develop.svn.wordpress.org/trunk@15176 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 01:29:27 +00:00
Ryan Boren d599a6ca65 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15175 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:34:42 +00:00
Ryan Boren 58e91dd3c2 Use admin_url() for the media-upload.php url. see #13685
git-svn-id: https://develop.svn.wordpress.org/trunk@15171 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 14:02:16 +00:00