Commit Graph

9621 Commits

Author SHA1 Message Date
Andrew Nacin 8a76e0fdab Finalize the code which redirects to about.php after a core update. Only triggers on update-core.php in case wp_update_core() is called in a different context.
props ocean90 for initial patch. fixes #18467.


git-svn-id: https://develop.svn.wordpress.org/trunk@19524 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:38:51 +00:00
Andrew Nacin 6073a8dce1 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19522 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:37:22 +00:00
Andrew Nacin d399f00b30 Make current_screen an action, not a filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19521 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:34:55 +00:00
Andrew Nacin 04bb986e97 Deprecate add_contextual_help() for get_current_screen()->add_help_tab(). fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19520 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:29:55 +00:00
Ryan Boren 0cd6ddb43d Fix indent. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19515 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:28:47 +00:00
Ryan Boren 9f8cbd8efc Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:22:07 +00:00
Andrew Nacin 2418805321 Split chunk of help text on edit-tags.php into 'Adding Categories' and 'Adding Tags' tabs, respectively. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19513 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:51:34 +00:00
Andrew Nacin 9983ea3c0e Remove add_screen_option('overview') from dashboard (from earlier 3.3 help incarnation), add 'Overview' tab. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19512 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:39:21 +00:00
Andrew Nacin bc0f0de8a0 Help tweaks for comments, media, edit.php, update-core.php. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19511 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:33:26 +00:00
Andrew Nacin 29bacb72f0 Help tweaks for themes, plugins screens. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19510 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:24:39 +00:00
Andrew Nacin 57da602f61 Help tweaks for users, tools. props jane, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19509 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:17:14 +00:00
Andrew Nacin 3561beb4f7 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19507 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:52:31 +00:00
Andrew Ozz 70dadbd5e8 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19505 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:43:18 +00:00
Andrew Nacin 69a34ae62d They call me multisite. props ryan, zeo. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19504 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:36:19 +00:00
Andrew Nacin ef6564d7cb s/Screen Info/Overview/g, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19503 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:34:31 +00:00
Andrew Nacin acffe708d3 Features are packaged by weight, not by volume. These features settled during shipping. fixes #19402.
git-svn-id: https://develop.svn.wordpress.org/trunk@19498 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 22:34:16 +00:00
Andrew Nacin eb371357d8 Don't use hard-coded version number. props duck_. see #19402.
git-svn-id: https://develop.svn.wordpress.org/trunk@19496 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:34:15 +00:00
Daryl Koopersmith 1e4740ae48 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19495 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:19:39 +00:00
Andrew Ozz 8b90f3c7e5 Sanitize options for resizing in the uploader, props mhauan, nacin, fixes #19399
git-svn-id: https://develop.svn.wordpress.org/trunk@19494 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:05:22 +00:00
Andrew Nacin c754f4636f 'Overview' for old-style help tabs, not 'Screen Info.' props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19493 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 20:58:39 +00:00
Andrew Ozz 291a5ed05b Fix css selectors mismatch in Press This, see #19341
git-svn-id: https://develop.svn.wordpress.org/trunk@19492 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 17:51:34 +00:00
Andrew Nacin e729204a30 Remove margin from h3's in press this. fixes #19341.
git-svn-id: https://develop.svn.wordpress.org/trunk@19491 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:44:36 +00:00
Andrew Nacin f1e505c84b Allow scratch beta/RC installs to experience pointers. Uncomment this before release. see #19360, #19382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19490 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:08:29 +00:00
Andrew Nacin 15afe56aa9 Don't show pointers for new users. Works for new installs, too. fixes #19360.
git-svn-id: https://develop.svn.wordpress.org/trunk@19489 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:05:59 +00:00
Andrew Nacin 8ef374f2e1 Cap checks for pointers. see #19360.
git-svn-id: https://develop.svn.wordpress.org/trunk@19488 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 15:59:55 +00:00
Andrew Ozz 2ea24cca39 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: https://develop.svn.wordpress.org/trunk@19487 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 03:37:15 +00:00
Andrew Ozz 85533fa282 Reset aria_arrtibutes when reaching admin submenu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19486 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:23:21 +00:00
Andrew Ozz f7dbae661c Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19485 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:15:24 +00:00
Andrew Ozz a13312c624 Add ARIA related attributes (first take), props DrewAPicture, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19484 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:27:33 +00:00
Daryl Koopersmith cb67dee04e Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19479 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:40:34 +00:00
Andrew Nacin e455e2691b Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: https://develop.svn.wordpress.org/trunk@19478 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:25:49 +00:00
Daryl Koopersmith 937fe7e42a In multisite, hide help text for single-site only options. props dougwrites, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19477 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:23:04 +00:00
Daryl Koopersmith 9270d2e101 Fix grammar and remove references to 'new in 3.2' in the post editor help text. props dougwrites, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19475 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:47:35 +00:00
Daryl Koopersmith 8c414e6b1b Use 3.3 help API on edit tags page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19474 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:37:04 +00:00
Daryl Koopersmith a122cd0f61 Update help text on themes page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19473 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 17:34:08 +00:00
Daryl Koopersmith 9dd06a1af9 Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19472 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 16:58:58 +00:00
Andrew Nacin 2b6fd8ceee WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19471 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 22:58:51 +00:00
Ryan Boren ef187a99f6 Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: https://develop.svn.wordpress.org/trunk@19470 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 20:35:36 +00:00
Andrew Nacin 23dcc6ef17 Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19469 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 20:04:00 +00:00
Andrew Nacin 82ae22f947 Use a scalpel to dissect names passed to convert_to_screen(). Carefully watch for post type names, suffixes we need to detect and remove, and when we need to remove 'edit-' from the start of a hookname. see #19353.
git-svn-id: https://develop.svn.wordpress.org/trunk@19468 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 18:33:40 +00:00
Andrew Nacin d7c9c422b5 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: https://develop.svn.wordpress.org/trunk@19466 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:47:26 +00:00
Andrew Nacin 2c62b87783 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: https://develop.svn.wordpress.org/trunk@19465 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:47:11 +00:00
Daryl Koopersmith 9868b58207 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19464 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:44:08 +00:00
Andrew Nacin 3348d28c15 Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: https://develop.svn.wordpress.org/trunk@19463 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:42:36 +00:00
Daryl Koopersmith a7d44f10e9 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19462 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:40:36 +00:00
Daryl Koopersmith 480a7cee6b Update help content for import page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19461 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:38:13 +00:00
Daryl Koopersmith 3b7414641b Update help content for user edit page. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19459 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:32:33 +00:00
Andrew Ozz b627c99686 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19455 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 06:16:43 +00:00
Dion Hulse 9ad74044d1 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: https://develop.svn.wordpress.org/trunk@19454 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 04:08:38 +00:00
Andrew Ozz c101a7edb4 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19453 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 20:00:21 +00:00
Andrew Ozz 67d5755f87 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19452 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 19:46:41 +00:00
Andrew Nacin 36fa9fddd6 Use class_exists() rather than is_admin() as otherwise the unit tests won't work without a WP_ADMIN hack. see #19342.
git-svn-id: https://develop.svn.wordpress.org/trunk@19450 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 05:15:28 +00:00
Andrew Ozz ed8feb2912 Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: https://develop.svn.wordpress.org/trunk@19449 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 17:44:53 +00:00
Andrew Nacin 83b8af1bc6 Revert [19372] for 3.3. see #13473.
git-svn-id: https://develop.svn.wordpress.org/trunk@19448 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 16:06:17 +00:00
Andrew Ozz 1eaf098637 Few more RTL and IE7 fixes, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19446 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:40:31 +00:00
Ryan Boren 4ae0813953 Help tabs. Props chexee. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19445 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:21:39 +00:00
Dion Hulse d70ddc49f9 Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: https://develop.svn.wordpress.org/trunk@19444 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:20:21 +00:00
Daryl Koopersmith 073e1df1f0 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19443 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:49:33 +00:00
Andrew Nacin a877663cf9 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19442 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:38:36 +00:00
Andrew Nacin 16e113586a Hide unrelated maintenance message on update-core when you are running the latest version, and show a link to about.php. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19441 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:28:50 +00:00
Andrew Ozz 32e46ee3b1 Tweak the active help tab padding to line it up, see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19440 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:23:05 +00:00
Daryl Koopersmith 02ff30d4e5 In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19439 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:19:12 +00:00
Ryan Boren 68f667d23d Indent cleanup. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19438 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:08:02 +00:00
Andrew Nacin 19fb5709f6 Update jQuery version on about.php. Force ltr for 'is_main_query()'. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19437 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:07:48 +00:00
Ryan Boren 0ef41d992b Help tabs. Props Ipstenu. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19436 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:06:52 +00:00
Ryan Boren fe5a0a0bb0 Help tabs. Props chexee. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19435 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:02:22 +00:00
Daryl Koopersmith dbe3d24b39 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19433 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:50:46 +00:00
Daryl Koopersmith 3150c3cf4e Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: https://develop.svn.wordpress.org/trunk@19430 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:14:03 +00:00
Ryan Boren 16c72e9e47 Move convert_to_screen() back to template.php to avoid fatal errors with plugins and themes that direct include template.php into the front end. Flag this bad behavior with _doing_it_wrong(). Props nacin. fixes #19342
git-svn-id: https://develop.svn.wordpress.org/trunk@19428 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:29:33 +00:00
Andrew Ozz ee152e18c9 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: https://develop.svn.wordpress.org/trunk@19426 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:17:20 +00:00
Andrew Nacin 10f012451a Select the submenu item for post-new.php when using show_in_menu = 'some-parent-file' for post types. Continue to select the post-new.php submenu item if it has been separately added with add_submenu_page(). fixes #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19425 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 20:45:23 +00:00
Andrew Ozz a742f2ac47 Fix inserting images from url in Press This, fixes #19341
git-svn-id: https://develop.svn.wordpress.org/trunk@19424 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 20:32:21 +00:00
Jon Cave fd0985cd65 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19422 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:23:59 +00:00
Andrew Nacin e7dd8527a6 Punctuation tweaks to about.php. props jane. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19421 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:22:46 +00:00
Andrew Nacin fc9bd67e14 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: https://develop.svn.wordpress.org/trunk@19420 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:06:52 +00:00
Daryl Koopersmith 476f618f40 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: https://develop.svn.wordpress.org/trunk@19419 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:53:11 +00:00
Andrew Nacin 4d89846637 Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: https://develop.svn.wordpress.org/trunk@19418 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:30:45 +00:00
Jon Cave 07f811b765 Go back to $post_type global as get_current_screen()->post_type is empty during add/edit-tag AJAX requests. Fixes #18722.
git-svn-id: https://develop.svn.wordpress.org/trunk@19415 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 15:20:45 +00:00
Jon Cave 83f85cd5b8 Texturized apostrophes. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19412 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 22:14:48 +00:00
Mark Jaquith eae2fc5944 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@19411 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 22:05:42 +00:00
Mark Jaquith 00fd073cc0 Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@19410 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:50:50 +00:00
Jon Cave bc671426cb Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19409 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:47:28 +00:00
Andrew Ozz 25c7b371f8 Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: https://develop.svn.wordpress.org/trunk@19408 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:47:01 +00:00
Andrew Ozz d75699834b RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: https://develop.svn.wordpress.org/trunk@19404 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:54:41 +00:00
Mark Jaquith a88ae300d5 Remove the the typo that no one noticed on the the credits screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@19402 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:34:34 +00:00
Jon Cave 045df49a8c Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: https://develop.svn.wordpress.org/trunk@19400 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 17:11:06 +00:00
Jon Cave 613a83c006 Remove unused admin-bar.png image. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19397 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 16:16:54 +00:00
Jon Cave d36e6dc3a6 Update "What's New" content and layout. Re-add i18n. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19396 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 16:07:36 +00:00
Andrew Nacin 421ac2155d Remove 'update' from site-users.php on redirect. props PeteMall, fixes #18895.
git-svn-id: https://develop.svn.wordpress.org/trunk@19394 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 05:55:55 +00:00
Andrew Nacin 8ab205ada4 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: https://develop.svn.wordpress.org/trunk@19393 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 04:07:34 +00:00
Dion Hulse 03decd1a22 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: https://develop.svn.wordpress.org/trunk@19392 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 03:23:48 +00:00
Andrew Nacin 2929a7ee9a Remove old dismissed pointers as the IDs have changed. Switch to underscores that way we don't need to translate them for method names. Avoid an empty pointer in the array. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19389 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 23:04:35 +00:00
Daryl Koopersmith 8eceda0a12 Add new 3.3 pointer content, encapsulate 3.3 internal pointers in a final class. props ocean90, see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19388 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 22:39:48 +00:00
Andrew Ozz 63a2fc8281 Extend the workaround for adding the Press This bookmarklet to IE, props dllh SergeyBiryukov, fixes #18487
git-svn-id: https://develop.svn.wordpress.org/trunk@19387 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 22:23:39 +00:00
Andrew Nacin 80f9413f10 New string on credits.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@19386 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 21:25:27 +00:00
Andrew Nacin 361125eaf8 Remove $post_type global usage from media list table. Correct $post_type to 'attachment' for upload screens. see #18722.
git-svn-id: https://develop.svn.wordpress.org/trunk@19385 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 20:48:57 +00:00
Andrew Ozz 4feb285a78 Output the "After a file has been uploaded..." message by using the post-upload-ui action, fixes #18764
git-svn-id: https://develop.svn.wordpress.org/trunk@19384 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 20:46:15 +00:00
Jon Cave 3504002abe Link the posts count on taxonomy list table for non-public taxonomies. Instead check if the post type has show_ui => true as we're linking to the post list table. Fixes #18722.
git-svn-id: https://develop.svn.wordpress.org/trunk@19383 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 20:44:48 +00:00
Andrew Ozz ef4b128502 Press This: fix duplicate HTML IDs, add the 'default_post_to_edit' ID, fix minor RTL css, fixes #18989
git-svn-id: https://develop.svn.wordpress.org/trunk@19381 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 18:32:39 +00:00
Andrew Nacin 74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Andrew Nacin 7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Peter Westwood 2304ad1b0e Respect the default comment/ping status for new posts even when someone has hidden the meta box which lets you alter them on a per-post basis.
Fixes #13473 props solarissmoke. 


git-svn-id: https://develop.svn.wordpress.org/trunk@19372 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 13:45:10 +00:00
Andrew Ozz 9a9893a87d Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19371 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 03:40:56 +00:00
Andrew Ozz 0ed396ffed Admin bar IE7, iPad and rtl refresh, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19368 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 02:03:02 +00:00
Andrew Ozz 114083df17 Change the drop target border color, props ocean90, fixes #19298
git-svn-id: https://develop.svn.wordpress.org/trunk@19367 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 19:16:35 +00:00
Andrew Nacin a5a82ec053 Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19366 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 18:59:49 +00:00
Andrew Ozz 569841dc02 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19363 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 02:10:10 +00:00
Daryl Koopersmith 2ac5299c17 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: https://develop.svn.wordpress.org/trunk@19361 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:03:17 +00:00
Andrew Ozz e0d1c530da Remove old styling for rtl progress bar, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19360 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 21:50:33 +00:00
Andrew Ozz c3b8db7003 Fix the border color on Menus screen, props ocean90, fixes #19234
git-svn-id: https://develop.svn.wordpress.org/trunk@19359 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 20:11:27 +00:00
Andrew Ozz d1f9824ccb Restore the handle arrow in Post publish metabox, props ocean90, fixes #19299
git-svn-id: https://develop.svn.wordpress.org/trunk@19358 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 20:03:58 +00:00
Andrew Ozz 3f60c3cefd Fix Quickpress labels in FF, props ocean90, fixes #19170
git-svn-id: https://develop.svn.wordpress.org/trunk@19357 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 20:00:50 +00:00
Andrew Ozz 623732cf02 RTL refresh for Welcome panel, fixes #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19356 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 19:49:20 +00:00
Andrew Ozz 6b1ef8a652 Remove the gap on folded admin menu item with submenu above a divider, props helenyhou, fixes #19269
git-svn-id: https://develop.svn.wordpress.org/trunk@19355 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 18:33:20 +00:00
Andrew Ozz 193c8b503b More RTL for the admin menu, props ocean90, see#19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19353 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 17:54:24 +00:00
Andrew Ozz 406f5d8f87 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19351 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:33:51 +00:00
Andrew Ozz e94b9466a9 Show Insert into post button in the media library when the current post supports editor (not the attachment parent), props SergeyBiryukov, fixes #18912
git-svn-id: https://develop.svn.wordpress.org/trunk@19350 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:28:39 +00:00
Mark Jaquith 52ac0e7011 Start documenting under the hood features for WordPress 3.3. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19349 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:18:54 +00:00
Andrew Ozz f69b9abfb0 Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19345 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:42:22 +00:00
Daryl Koopersmith 3416f2082f Remove repetitive title on Credits and Freedoms pages. props ocean90, fixes #19294.
git-svn-id: https://develop.svn.wordpress.org/trunk@19344 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:35:13 +00:00
Daryl Koopersmith 8f2769c5dd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: https://develop.svn.wordpress.org/trunk@19343 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:32:15 +00:00
Daryl Koopersmith 8ada86e942 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19342 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 23:33:11 +00:00
Andrew Ozz 4c029929c3 Welcome Screen: update column widths to show 3-col view on 1280 wide screens. Props helenyhou chexee, see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19341 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 20:11:39 +00:00
Ryan Boren a320cb7f46 Welcome Screen styling. Props chexee. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19339 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 18:58:46 +00:00
Ryan Boren 419bafe2c6 Welcome Panel: Add 'First Steps With WordPress' link. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19337 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 15:32:23 +00:00
Ryan Boren 79dff4165b Welcome Panel: Consult current theme capabilities. Remove trailing punc from list items. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19336 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 15:30:31 +00:00
Andrew Ozz de56df2004 Don't show the uploader on iPads (it's pointless), fixes #19004
git-svn-id: https://develop.svn.wordpress.org/trunk@19335 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 08:43:16 +00:00
Andrew Ozz 0f3de5ede9 Prevent errors in assigning widgets to sidebars for themes with dynamic sidebars, props batmoo, fixes #19274
git-svn-id: https://develop.svn.wordpress.org/trunk@19334 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 07:00:26 +00:00
Andrew Ozz fd354a3d35 Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: https://develop.svn.wordpress.org/trunk@19331 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:56:50 +00:00
Andrew Ozz 6385e58b51 Change text prompt in HTML uploader, props jane, fixes #19276
git-svn-id: https://develop.svn.wordpress.org/trunk@19330 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:25:27 +00:00
Ryan Boren aae12111c0 First pass at Welcome Screen content. Props jane. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19327 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 22:54:54 +00:00
Ryan Boren 67600b73a3 Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19326 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 20:48:40 +00:00
Andrew Nacin 53d65cdd7c WP_Screen->post_type is always set. see #19131.
git-svn-id: https://develop.svn.wordpress.org/trunk@19324 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 19:50:14 +00:00
Ryan Boren 5b143b6945 Don't die in my-sites.php if the user has no sites. Intead, display message within admin chrome. Props trepmal. fixes #18935
git-svn-id: https://develop.svn.wordpress.org/trunk@19323 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 18:52:58 +00:00
Ryan Boren f626327800 Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: https://develop.svn.wordpress.org/trunk@19321 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 18:01:08 +00:00
Andrew Ozz 70ad3cf297 mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 15:50:01 +00:00
Andrew Nacin 9eef9937ee Remove extra space. props danielbachhuber.
git-svn-id: https://develop.svn.wordpress.org/trunk@19317 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 04:41:51 +00:00
Andrew Ozz 5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Mark Jaquith 9b139832b4 Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha
git-svn-id: https://develop.svn.wordpress.org/trunk@19314 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 22:02:01 +00:00
Mark Jaquith 9ce7a82a23 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19313 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 21:58:20 +00:00
Andrew Nacin 4710e19609 Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19311 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:58:13 +00:00
Andrew Nacin a82a7458bd Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19310 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:45:11 +00:00
Andrew Ozz 7d663ff161 More RTL fixes, props rosshanney, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19307 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:58:42 +00:00
Andrew Ozz a77387cac7 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: https://develop.svn.wordpress.org/trunk@19306 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:22:27 +00:00
Ryan Boren 80ee709653 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: https://develop.svn.wordpress.org/trunk@19304 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:44:48 +00:00
Jon Cave e4ed02d6ae Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: https://develop.svn.wordpress.org/trunk@19298 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 17:57:53 +00:00
Andrew Ozz 0b8d97f135 Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 15:47:07 +00:00
Ryan Boren 29a5a0e192 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: https://develop.svn.wordpress.org/trunk@19296 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 14:02:42 +00:00
Andrew Nacin 2375c19f56 Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.
git-svn-id: https://develop.svn.wordpress.org/trunk@19295 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 03:51:28 +00:00
Andrew Ozz f2a254db28 Add some more padding to the Dismiss link in the uploader notices, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19294 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:48:21 +00:00
Andrew Nacin 208bc57e76 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: https://develop.svn.wordpress.org/trunk@19293 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:24:30 +00:00
Andrew Ozz 3d33362b52 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Andrew Nacin a4f3850205 Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.
git-svn-id: https://develop.svn.wordpress.org/trunk@19285 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 22:09:15 +00:00
Andrew Nacin c107d9ffed Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +00:00
Daryl Koopersmith 65f2e58900 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: https://develop.svn.wordpress.org/trunk@19279 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:03:14 +00:00
Andrew Nacin b52ab851ec ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19278 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:40:31 +00:00
Daryl Koopersmith 36e585dc7a Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19277 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:10:14 +00:00
Andrew Ozz 9cc4fac7fa Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: https://develop.svn.wordpress.org/trunk@19275 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 19:35:32 +00:00
Ryan Boren 9356ce2a74 Fix edit.php row action redirects when referrers are not sent. Return false from wp_get_referer() when no referrer found. Props mitchoyoshitaka. fixes #17628
git-svn-id: https://develop.svn.wordpress.org/trunk@19272 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 16:59:45 +00:00
Daryl Koopersmith 4bc2fdb619 New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19269 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 10:30:14 +00:00
Andrew Ozz 82f5175bf7 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Ryan Boren 318e44ecd2 Use correct var. Props ocean90. fixes #18176
git-svn-id: https://develop.svn.wordpress.org/trunk@19267 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 15:20:25 +00:00
Andrew Ozz 3e06696012 Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Andrew Ozz 0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Andrew Nacin 12cd7fe5ef Normal sentence case. see #19228.
git-svn-id: https://develop.svn.wordpress.org/trunk@19260 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 20:32:20 +00:00
Ryan Boren 46f69c809a Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: https://develop.svn.wordpress.org/trunk@19259 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 20:01:56 +00:00
Andrew Ozz 7334506df0 Bring back the multi-file/html uploader switching, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00
Ryan Boren f42a7852c2 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: https://develop.svn.wordpress.org/trunk@19256 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:38:34 +00:00
Ryan Boren 581be15bb4 Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: https://develop.svn.wordpress.org/trunk@19255 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 18:37:04 +00:00
Ryan Boren 3ff917e415 Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: https://develop.svn.wordpress.org/trunk@19253 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 15:44:16 +00:00
Ryan Boren 56c8b5dad5 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: https://develop.svn.wordpress.org/trunk@19252 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 15:04:54 +00:00
Ryan Boren d154749f87 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: https://develop.svn.wordpress.org/trunk@19251 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 14:10:54 +00:00
Andrew Nacin 26ed0186e0 Style updates to translators list on Credits page. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19250 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 23:16:21 +00:00
Ryan Boren 371bb1eb98 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: https://develop.svn.wordpress.org/trunk@19249 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 21:06:57 +00:00
Andrew Ozz 448af8627c Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Ryan Boren 4b55413e42 More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19246 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:41:44 +00:00
Andrew Nacin 958705e7cb New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19244 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:05:01 +00:00
Andrew Nacin 96f19438fb Add wxr_export_skip_postmeta filter for skipping postmeta in exports. props westi, fixes #18280.
git-svn-id: https://develop.svn.wordpress.org/trunk@19233 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:32:44 +00:00
Andrew Nacin e7766adec1 Rename attachment link button from 'Post URL' to 'Attachment Post URL.' props jeremyclarke, fixes #13544.
git-svn-id: https://develop.svn.wordpress.org/trunk@19232 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:23:31 +00:00
Jon Cave 7d96b78140 Stop multiple loading spinners showing when repeatedly accessing Press This Add Photos box. Fixes #18992.
git-svn-id: https://develop.svn.wordpress.org/trunk@19229 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 16:46:05 +00:00
Andrew Nacin 9e785948d4 Fix link in welcome panel. see #19217, props cebradesign, SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19228 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 15:21:26 +00:00
Andrew Ozz b9843de7a6 Revert media.php too, see #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19226 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:42:20 +00:00
Andrew Ozz d2d9926055 Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19225 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:34:09 +00:00
Andrew Ozz 4c66628f35 Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Daryl Koopersmith d0b826bb85 Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: https://develop.svn.wordpress.org/trunk@19222 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:32:03 +00:00
Andrew Ozz 4eaabaeefe Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: https://develop.svn.wordpress.org/trunk@19219 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:24:55 +00:00
Andrew Ozz 8e37911c0c Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@19217 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:05:59 +00:00
Ryan Boren aee3c7de59 Don't show the view link for a future post unless the current user has the permissions to edit the post. Treat future posts as a preview case. Props ocean90. fixes #18894
git-svn-id: https://develop.svn.wordpress.org/trunk@19213 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:24:14 +00:00
Ryan Boren 996231e74d Use get_site_url() instead of hard-coding the protocol. Props SergeyBiryukov, exell.christopher. fixes #17466
git-svn-id: https://develop.svn.wordpress.org/trunk@19211 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:13:42 +00:00
Andrew Ozz 596034c7c9 Fix tabbing from 'title' to 'content', see #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19206 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 19:49:50 +00:00
Andrew Nacin 611a6118c9 Merge and update variable declarations. fixes #19176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19205 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:45:24 +00:00
Andrew Nacin 0b5117da6a Allow tags autosuggest to work in quick edit when there are no tags. props solarissmoke, see #19176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19204 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:43:04 +00:00
Andrew Nacin 808c8dc6a5 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: https://develop.svn.wordpress.org/trunk@19203 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:32:24 +00:00
Andrew Nacin 50b132c285 Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: https://develop.svn.wordpress.org/trunk@19202 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:28:20 +00:00
Daryl Koopersmith 9553be30d3 Improve display logic for admin menu arrows. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19199 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 04:18:50 +00:00
Daryl Koopersmith 1597250c9c Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: https://develop.svn.wordpress.org/trunk@19198 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 03:59:00 +00:00
Daryl Koopersmith 7851ec39c0 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19197 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 00:39:46 +00:00
Andrew Ozz 5c397b2773 Fixes for the blue theme, props helenyhou, see #19183
git-svn-id: https://develop.svn.wordpress.org/trunk@19195 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 23:01:51 +00:00
Andrew Ozz 5c18d3b4f4 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: https://develop.svn.wordpress.org/trunk@19194 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:46:24 +00:00
Andrew Nacin 1c57505242 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: https://develop.svn.wordpress.org/trunk@19192 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:14:27 +00:00
Andrew Nacin 0d7911b7cf Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19191 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:42:20 +00:00
Andrew Ozz da045838f5 Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: https://develop.svn.wordpress.org/trunk@19186 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:18:45 +00:00
Andrew Nacin 3de47877d6 Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: https://develop.svn.wordpress.org/trunk@19185 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:13:06 +00:00
Andrew Nacin feca4c4984 Space out two strings. props ocean90, fixes #19167.
git-svn-id: https://develop.svn.wordpress.org/trunk@19181 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:21:12 +00:00
Jon Cave d47f1735e1 Only hide "Most Used" category tab when the body has .no-js class. See #16810, fixes #19129.
git-svn-id: https://develop.svn.wordpress.org/trunk@19179 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:35:49 +00:00
Andrew Ozz cb40252565 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19177 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:09:38 +00:00
Andrew Ozz fafb2aa988 Update Comment -> Update, props ocean90, fixes #19166
git-svn-id: https://develop.svn.wordpress.org/trunk@19176 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:03:33 +00:00
Andrew Ozz 0f012aa1f7 Blue theme HTML editor fixes, min-width -> width for .inner-sidebar, props ocean90, fixes #19162
git-svn-id: https://develop.svn.wordpress.org/trunk@19175 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 17:03:17 +00:00
Andrew Ozz 02418c080e Remove min-width from #post-body-content, props ocean90, fixes #19062
git-svn-id: https://develop.svn.wordpress.org/trunk@19174 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:53:26 +00:00
Andrew Nacin 6114e7218d Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: https://develop.svn.wordpress.org/trunk@19170 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:41:25 +00:00
Daryl Koopersmith d7f0b07a8e Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19164 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 02:06:56 +00:00
Daryl Koopersmith 986602c14c Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19163 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:17:50 +00:00
Andrew Ozz bf02e004e0 Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19162 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:13:18 +00:00
Andrew Nacin 731127e61b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:06:11 +00:00
Andrew Nacin 53891da7c8 Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:04:58 +00:00
Andrew Nacin 8919fbbaff Remove i18n until text settles. see #18795.
git-svn-id: https://develop.svn.wordpress.org/trunk@19151 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:57:45 +00:00
Andrew Ozz 33b60fc08b RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: https://develop.svn.wordpress.org/trunk@19149 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:09:53 +00:00
Andrew Ozz beec8f9532 Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19148 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:22:46 +00:00
Andrew Ozz c1ec42bbff Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19147 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:19:09 +00:00
Andrew Nacin 96513811f9 RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: https://develop.svn.wordpress.org/trunk@19146 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 04:35:06 +00:00
Daryl Koopersmith bfd8e1a095 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 01:31:31 +00:00
Daryl Koopersmith 53d127961b The about pages are lonely orphans. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19144 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:45:11 +00:00
Daryl Koopersmith 201d03f1b3 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19143 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:37:56 +00:00
Jon Cave b08b1b9314 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19142 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:07:57 +00:00
Andrew Nacin f3c1ce364a Remove copy-pasted classes. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19141 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:59:19 +00:00
Andrew Nacin 8fa35f9bbe Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19140 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:55:03 +00:00
Andrew Nacin 061c4c9841 Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: https://develop.svn.wordpress.org/trunk@19139 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:41:45 +00:00
Daryl Koopersmith c47fb0491b Move about page CSS to main CSS files. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19138 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:32:44 +00:00
Andrew Nacin f73fb3a3bf Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19137 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:30:55 +00:00
Andrew Nacin c649bc75bf Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19136 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:23:31 +00:00
Daryl Koopersmith 2145c0e8f4 Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19135 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:13:50 +00:00
Andrew Nacin c684c9212b Use a better method for [19133]. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19134 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:09:59 +00:00
Andrew Nacin be7274e110 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19133 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:08:24 +00:00
Andrew Nacin 14c3606e1f Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19132 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:00:46 +00:00
Andrew Ozz e3cb75932b Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19131 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 20:26:09 +00:00
Andrew Ozz 882574b78c Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:08:12 +00:00
Andrew Ozz 3700b57fdc Remove the Cancel Upload button, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Ozz 6850814d97 Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@19126 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:31:27 +00:00
Andrew Nacin 8208aaac6f More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19123 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:42:57 +00:00
Andrew Nacin 840f20feb2 More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19122 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:32:16 +00:00
Andrew Nacin 4cb3487019 More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19121 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:54:56 +00:00
Andrew Nacin 33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren cb56cbb04e Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: https://develop.svn.wordpress.org/trunk@19118 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 17:21:50 +00:00
Andrew Ozz fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Dion Hulse b37514a7fd Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19115 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 12:16:47 +00:00
Ryan Boren 71aa0059d0 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19114 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 05:33:53 +00:00
Andrew Nacin c69f53c37d Reverse variable assignment order. D'oh. see #19108.
git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:24:17 +00:00
Andrew Nacin 809c1558e3 Remove cruft. see #19106.
git-svn-id: https://develop.svn.wordpress.org/trunk@19112 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:14:14 +00:00
Ryan Boren db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren 4709ef3dc2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19110 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:38:37 +00:00
Mark Jaquith 41d1ab35f3 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: https://develop.svn.wordpress.org/trunk@19109 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:36:18 +00:00
Andrew Nacin 45c23f2fcf Use more obvious variables in WP_Screen. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19108 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:36:04 +00:00
Andrew Nacin 27cd634a96 Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19107 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:23:05 +00:00
Ryan Boren 1ec2c3c3e9 No need to setup current screen in wp-fullscreen-save-post handler. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19106 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:15:18 +00:00
Jon Cave e754641764 Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: https://develop.svn.wordpress.org/trunk@19101 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 12:36:14 +00:00
Andrew Ozz 947ba8f62c Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +00:00
Andrew Ozz 1746c2af62 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00
Andrew Nacin 3a15274807 Always run the old contextual_help filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19098 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:37:43 +00:00
Andrew Nacin d91bf70dd7 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19097 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:28:17 +00:00
Ryan Boren 3ca9c1df61 Use key(). Props scribu. fixes #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19095 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:46:10 +00:00
Andrew Nacin a5c6da9a2e Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: https://develop.svn.wordpress.org/trunk@19093 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 17:08:36 +00:00
Andrew Nacin 8d01fc1f9a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19092 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 16:57:29 +00:00
Andrew Ozz 1326405677 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: https://develop.svn.wordpress.org/trunk@19091 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:56:27 +00:00
Andrew Ozz 9588256ab5 Some more css cleanup, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19090 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:50:32 +00:00
Andrew Nacin 115014be64 Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: https://develop.svn.wordpress.org/trunk@19089 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 05:30:57 +00:00
Andrew Ozz c5cf25a60b Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
git-svn-id: https://develop.svn.wordpress.org/trunk@19087 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:55:58 +00:00
Andrew Ozz ee4f3ae87c Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
git-svn-id: https://develop.svn.wordpress.org/trunk@19086 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:52:21 +00:00
Andrew Ozz e10b10b6e2 Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: https://develop.svn.wordpress.org/trunk@19083 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:05:58 +00:00
Andrew Ozz 1cd9d13384 RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
git-svn-id: https://develop.svn.wordpress.org/trunk@19082 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:42:36 +00:00
Andrew Ozz 8a48ef371f RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: https://develop.svn.wordpress.org/trunk@19080 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:14:59 +00:00
Ryan Boren 722c6d7003 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 15:48:44 +00:00
Ryan Boren d85938ec7a gettext fix. Props ocean90. fixes #18770
git-svn-id: https://develop.svn.wordpress.org/trunk@19073 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 21:14:14 +00:00
Ryan Boren f8ed38f26c Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 20:00:09 +00:00
Ryan Boren 5ff9cbe0cb Make repair.php fully translatable. Props ocean90. fixes #18770
git-svn-id: https://develop.svn.wordpress.org/trunk@19070 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 18:31:45 +00:00
Jon Cave 72256f1c27 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Nacin b7b6a7e5ae Use correct object. props adambackstrom. fixes #19045.
git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:08:24 +00:00
Andrew Nacin fa00acb382 Add missing keyword. fixes #19046, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:05:39 +00:00
Andrew Nacin 219bc246bc Make convert_to_screen() more resilient. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19063 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 06:54:23 +00:00
Andrew Nacin 261ee73e3d Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: https://develop.svn.wordpress.org/trunk@19062 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:50:39 +00:00
Andrew Nacin 96e4fffaa9 Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:48:09 +00:00
Andrew Nacin fcf1696de4 Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19060 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:29:28 +00:00
Dion Hulse f869eb56b8 Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19057 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:25:52 +00:00
Ryan Boren fd10e500e4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Ryan Boren 5fecc93721 Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19053 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:10:56 +00:00
Andrew Nacin cc5f01a784 Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19052 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 18:34:08 +00:00
Andrew Nacin 16c6875d29 screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19051 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:40:15 +00:00
Andrew Nacin 38440b5e9a Deprecate favorite_actions(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19050 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:10:36 +00:00
Andrew Nacin de3bf760b6 Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19049 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 19:22:27 +00:00
Ryan Boren 62778137cf Fix sub menu highlighting for post type pages. see #13662
git-svn-id: https://develop.svn.wordpress.org/trunk@19048 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:45:06 +00:00
Andrew Nacin 7121150930 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19047 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:01:33 +00:00
Andrew Nacin ed8f3c3f95 Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@19046 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:58:06 +00:00
Andrew Nacin a7dda77ea7 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@19045 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:55:24 +00:00
Andrew Nacin 79ff2e030c Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19043 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:48:58 +00:00
Andrew Nacin f3e64d5112 Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19041 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:40:30 +00:00
Andrew Nacin c64486425a Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19040 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:35:33 +00:00
Andrew Nacin cab3d35ee0 Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: https://develop.svn.wordpress.org/trunk@19038 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:04:52 +00:00
Jon Cave 939b085f54 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00
Andrew Nacin 1287ec492a Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Andrew Nacin fe4f927a80 Allow a super admin to demote themselves on a site to a role that does not contain the promote_users cap. props fonglh, fixes #18164.
git-svn-id: https://develop.svn.wordpress.org/trunk@19024 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:12:25 +00:00
Andrew Nacin 420fe65fca Sanitize plural and singular args for list tables. props sbressler, fixes #18875.
git-svn-id: https://develop.svn.wordpress.org/trunk@19020 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:51:06 +00:00
Andrew Nacin c55e62a9ae Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19019 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:01:55 +00:00
Andrew Nacin 86638ed332 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: https://develop.svn.wordpress.org/trunk@19018 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:57:37 +00:00
Andrew Nacin b3b1b00cff Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19015 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:52:14 +00:00
Andrew Nacin 6c8c746dbc Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:21 +00:00
Ryan Boren 5914353c06 Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:02 +00:00
Jon Cave d7ee58c7e2 Show the current post format in quick edit even if it's not supported. Props nacin, fixes #18083.
git-svn-id: https://develop.svn.wordpress.org/trunk@19011 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:48:07 +00:00
Mark Jaquith f32a070480 Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18551
git-svn-id: https://develop.svn.wordpress.org/trunk@19010 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:08:57 +00:00
Daryl Koopersmith 9e0ccd9fdf In welcome panel, move periods outside of links. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19009 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 17:05:12 +00:00
Daryl Koopersmith c1945d5c69 Welcome panel contents and functionality. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19007 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:41:26 +00:00
Andrew Nacin e9991fd203 Better padding and information on the plugins list on Dashboard/Updates. props otto42. fixes #17406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19003 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 14:51:48 +00:00
Andrew Ozz ee0fa1e9fa Few more RTL fixes, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19002 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:42:41 +00:00
Andrew Ozz cfbb3d30f5 Press This CSS cleanup, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19001 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:16:15 +00:00
Ryan Boren 789dab3f20 Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:44:39 +00:00
Ryan Boren 9683b05c4e Avoid pass by ref warning. Props arena. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@18997 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:38:18 +00:00
Andrew Nacin f95cb305ea Use get_intermediate_image_sizes() in image edit functions. props mau, fixes #17475.
git-svn-id: https://develop.svn.wordpress.org/trunk@18996 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:33:34 +00:00
Andrew Nacin c56c7320a3 Fix media/audio/file URL insertion. Strip slashes off title text. Leave red X to images only. fixes #14996. fixes #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18992 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:32:40 +00:00
Ryan Boren 207cf186b6 Use get method for plugin search form. Avoid lingering notices. Props garyc40. fixes #16549
git-svn-id: https://develop.svn.wordpress.org/trunk@18991 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:18:08 +00:00
Ryan Boren 421ee5ebdd Don't filter taxonomy list. see #18983
git-svn-id: https://develop.svn.wordpress.org/trunk@18990 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 16:33:31 +00:00
Dion Hulse 527935e883 Fix Undefined Variable Notices when no charset/collate is set for $wpdb. See #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18986 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:48:07 +00:00
Dion Hulse d2f80c9e5a Add the Tumblr importer to the Importers List. Fixes #18976
git-svn-id: https://develop.svn.wordpress.org/trunk@18985 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 02:32:28 +00:00
Daryl Koopersmith a9148409f3 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18983 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 21:04:29 +00:00
Andrew Ozz d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Nacin 790f153832 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: https://develop.svn.wordpress.org/trunk@18980 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 19:18:28 +00:00
Andrew Nacin 804702bc00 Close strong tag. props scribu. fixes #18970.
git-svn-id: https://develop.svn.wordpress.org/trunk@18979 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 18:57:06 +00:00
Jon Cave d197a1d865 Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18977 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 10:43:55 +00:00
Andrew Ozz 4bb2ed26d8 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18976 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:46:58 +00:00
Andrew Ozz 573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Daryl Koopersmith ed7c3fb655 Simplify pointer API with smarter positioning. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Andrew Ozz 0ad398784b Menu RTL css refresh, fixes #18906
git-svn-id: https://develop.svn.wordpress.org/trunk@18968 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 01:06:23 +00:00
Ryan Boren 44c051923e Avoid notices when viewing non-existent taxonomy. Props ocean90, johnbillion. fixes #18716
git-svn-id: https://develop.svn.wordpress.org/trunk@18966 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 18:55:40 +00:00
Ryan Boren 4685bc4b99 Fix inviting existing users to a site with email confirmation. Props johnbillion. fixes #18295
git-svn-id: https://develop.svn.wordpress.org/trunk@18965 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 18:32:31 +00:00
Dion Hulse b158ddc175 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: https://develop.svn.wordpress.org/trunk@18964 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 10:43:38 +00:00
Andrew Ozz 941a686bbf Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: https://develop.svn.wordpress.org/trunk@18962 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:33:10 +00:00
Andrew Ozz 41ee808832 Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: https://develop.svn.wordpress.org/trunk@18961 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:27:32 +00:00
Andrew Ozz 0156e509db Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18960 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 02:47:00 +00:00
Andrew Ozz 415738fee3 Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: https://develop.svn.wordpress.org/trunk@18959 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:37:39 +00:00
Andrew Ozz 8dd953e39d IE7 fixes for the admin menu, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18958 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:06:07 +00:00
Andrew Ozz e10d951cce Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Ryan Boren 3ed641402e Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: https://develop.svn.wordpress.org/trunk@18954 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:30:50 +00:00
Ryan Boren 9566269dfc Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: https://develop.svn.wordpress.org/trunk@18953 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 19:47:00 +00:00
Jon Cave 83d7fbe1a6 Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: https://develop.svn.wordpress.org/trunk@18951 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:35:33 +00:00
Andrew Nacin 103666d6b3 Restore object handling in add_contextual_help(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18950 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:24:55 +00:00
Andrew Nacin bdc8ac11ea Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18949 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:22:50 +00:00
Andrew Ozz c75c11d59b Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: https://develop.svn.wordpress.org/trunk@18948 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 00:01:39 +00:00
Daryl Koopersmith 596a9ad2d8 Improve padding on admin menu submenus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18947 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:52:40 +00:00
Daryl Koopersmith 3f33c99e90 Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18946 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:48:20 +00:00
Andrew Nacin beb1613be7 Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18945 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:45:28 +00:00
Daryl Koopersmith d6686cf589 Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18944 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:38:12 +00:00
Andrew Nacin 3940109c7f Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18943 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:32:16 +00:00
Daryl Koopersmith 50b17d4b68 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18942 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:25:38 +00:00
Andrew Nacin 8f0389b3e9 Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 19:29:09 +00:00
Andrew Ozz 844d8607d8 Don't move current open submenus, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18940 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 17:59:51 +00:00
Andrew Ozz b297c030b7 More CSS cleanup, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18939 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 06:25:25 +00:00
Ryan Boren db7795de32 Do the beta bump
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Andrew Nacin 1db90d21e0 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Andrew Nacin b827c657fb Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: https://develop.svn.wordpress.org/trunk@18931 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:56:35 +00:00
Andrew Nacin f9bba8610d Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Andrew Ozz 619caa5c73 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz d51b26378c Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18925 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 17:30:51 +00:00
Andrew Ozz 692d11e622 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18924 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 00:05:38 +00:00
Andrew Ozz cfcb553dfb Add translation comment, props ocean90, fixes #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz 184f2a7d96 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18921 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:24:29 +00:00
Andrew Ozz 2b2bff2fca Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Andrew Ozz 70a7bb3fe0 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz a115821842 Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Nacin bc94322a01 Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18915 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:26:44 +00:00
Andrew Nacin fa861b4bf3 Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18914 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:23:33 +00:00
Andrew Nacin e6292eed96 Remove redundant help tab title from the tab body. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18913 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:00:38 +00:00
Andrew Nacin 209ba5a53f Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18912 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:58:36 +00:00
Andrew Nacin 2efff75050 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Andrew Nacin d9f0fec29c Revert CSS that slipped into [18874]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18910 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 03:29:49 +00:00
Andrew Nacin a488f8e686 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18908 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 23:43:20 +00:00
Andrew Nacin 237d132595 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18904 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 16:24:14 +00:00
Andrew Ozz fcecbaa30c Combine few styles for column containers, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18903 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 14:37:55 +00:00
Andrew Ozz 390650f410 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Ozz 04c169ba44 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18901 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:18:56 +00:00
Andrew Ozz 7ac7aeae29 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Ryan Boren 319d070078 Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Andrew Nacin 44a62f0b3b Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18897 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:42:11 +00:00
Daryl Koopersmith d9d201289e Refine new help styles. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:15:19 +00:00
Andrew Nacin a8638d222d Align the bytes.
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin 7b1d7c6f12 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin ac958d3ec6 Oops. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:05:43 +00:00
Andrew Nacin 0a6ff4024f Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Nacin 1b836047af Compress and bump scripts for [18890]. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18891 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:08:16 +00:00
Andrew Nacin e386cb17c5 UI touches for the single media button. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Ozz 22f4cdc7d7 Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Daryl Koopersmith c9e4b0fcb9 Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18888 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:45:32 +00:00
Mark Jaquith 46737bef61 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: https://develop.svn.wordpress.org/trunk@18887 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:48:41 +00:00
Dion Hulse 85c8647a55 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: https://develop.svn.wordpress.org/trunk@18883 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:14:41 +00:00
Dion Hulse c91838bd7d Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +00:00
Daryl Koopersmith ea4615f2ed Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18881 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 06:39:30 +00:00
Andrew Ozz 48be8d03eb Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@18880 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 23:10:02 +00:00
Andrew Ozz fec0286bb3 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18879 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 17:21:59 +00:00
Ryan Boren c8cbea1d66 Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: https://develop.svn.wordpress.org/trunk@18878 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:09:24 +00:00
Ryan Boren ed0c374876 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: https://develop.svn.wordpress.org/trunk@18876 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:00:36 +00:00
Andrew Ozz 188a2b973f Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: https://develop.svn.wordpress.org/trunk@18875 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 04:14:36 +00:00
Andrew Ozz fee1fe1b36 Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18874 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 03:32:12 +00:00
Andrew Ozz ef03889ea5 Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18872 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:36:19 +00:00
Ryan Boren ac34546770 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: https://develop.svn.wordpress.org/trunk@18871 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:30:07 +00:00
Andrew Ozz 68214afb44 Fix typo when setting post_format in Press This.
git-svn-id: https://develop.svn.wordpress.org/trunk@18870 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:22:38 +00:00
Ryan Boren 88a57f003a Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: https://develop.svn.wordpress.org/trunk@18869 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:35:43 +00:00
Ryan Boren 7dd1ec898b Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: https://develop.svn.wordpress.org/trunk@18868 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:03:01 +00:00
Andrew Ozz 98554b4bb6 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Daryl Koopersmith d6f613fcd3 Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +00:00
Andrew Ozz d0d3855285 Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Andrew Nacin da55be56a6 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 00:04:30 +00:00
Andrew Ozz b59e63f01f Add phpdoc for the section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 22:22:33 +00:00
Andrew Ozz f928bc51eb Separate the tab title from the help section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 21:18:04 +00:00
Andrew Ozz 4f289db37a Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: https://develop.svn.wordpress.org/trunk@18860 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 20:50:08 +00:00
Andrew Nacin 8bbc643454 Deprecate screen_meta(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:13:27 +00:00
Andrew Nacin f214ef7d99 Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18858 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:07:41 +00:00
Andrew Nacin c0b2567366 Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18857 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 17:59:46 +00:00
Daryl Koopersmith 206aa49499 Properly print per-page options. see #18690, [18853].
git-svn-id: https://develop.svn.wordpress.org/trunk@18854 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 03:21:36 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz 1aad45debc Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: https://develop.svn.wordpress.org/trunk@18852 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:19:07 +00:00
Andrew Ozz 8c9d5285ac Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz 684727610f Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: https://develop.svn.wordpress.org/trunk@18850 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:52:29 +00:00
Andrew Nacin c4d4799424 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18847 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 21:35:05 +00:00
Mark Jaquith b587d4c2ac More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: https://develop.svn.wordpress.org/trunk@18843 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:31:52 +00:00
Ryan Boren 35130709a7 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: https://develop.svn.wordpress.org/trunk@18842 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:26:14 +00:00
Mark Jaquith a3bdf19206 Be more consistent with ERROR: messages. fixes #15887
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Ryan Boren f1423b28e5 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:47:02 +00:00
Andrew Ozz e8fd0746c8 Fix editor detection when inserting image, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Andrew Nacin 5efcc6e8fc Compress and bump media.css. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Nacin 19d613fed2 Merge the four media buttons into one.
* Lots of red.
 * Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
 * Replacement filter is a generic type_url_form_media filter for the new unified form.
 * Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.



git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Nacin a42d391108 Update Feedback support URL.
git-svn-id: https://develop.svn.wordpress.org/trunk@18830 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 05:26:40 +00:00
Andrew Ozz 242c897d96 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@18829 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 04:13:44 +00:00
Andrew Ozz cfc8bd3d53 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Andrew Ozz b969d2ea80 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren 8e77c91883 * Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine  a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598


git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin 0cd9b83b64 Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: https://develop.svn.wordpress.org/trunk@18820 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:39:55 +00:00
Andrew Nacin eb00fdb5cb Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: https://develop.svn.wordpress.org/trunk@18819 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:28:29 +00:00
Andrew Nacin 106a94406e Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin 4aee3254f3 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00
Andrew Nacin bb89b80c5b Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin a854604f54 Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin 8585471f13 Space out and capitalize 'Auto' in screen options.
git-svn-id: https://develop.svn.wordpress.org/trunk@18808 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:28:00 +00:00
Andrew Ozz c9c3eb7a6d Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz bbd210992d Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz 412422f15c Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18801 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 16:05:59 +00:00
Andrew Ozz 13c72ba193 Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz 2a7b8b4764 Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: https://develop.svn.wordpress.org/trunk@18798 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 06:08:56 +00:00
Daryl Koopersmith 91c746f586 Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin 35edc4264d Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Ryan Boren d7d3a5c41b Revert fat fingers in [18793]. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18794 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:33:51 +00:00
Ryan Boren fddfc14c88 First pass of WP_Screen phpdoc. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18793 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:30:56 +00:00
Jon Cave 070aa4e1f1 _wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662.
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.


git-svn-id: https://develop.svn.wordpress.org/trunk@18792 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 10:22:58 +00:00
Andrew Nacin 4b03f4253b wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18790 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 06:11:30 +00:00
Andrew Nacin 30f64015c2 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18784 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 23:31:54 +00:00