Commit Graph

9185 Commits

Author SHA1 Message Date
nacin 65fde75e85 WP_Screen: Whitelist -new and -add screens, and prevent edit-comments and edit-tags from being mashed on. fixes #19353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 22:58:51 +00:00
ryan b6b8a588bb Initialize active_sitewide_plugins during network install and upgrade. fixes #19385
git-svn-id: http://svn.automattic.com/wordpress/trunk@19470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:35:36 +00:00
nacin 28276e825c Move multisite-specific upgrade code from upgrade_330() to upgrade_network(). see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 20:04:00 +00:00
nacin f9ee8ccfd2 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: http://svn.automattic.com/wordpress/trunk@19468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 18:33:40 +00:00
nacin 6e648d2356 Bump final db_version for 3.3, otherwise no new beta installs will see the pointers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 17:47:26 +00:00
nacin 416b6749f4 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:47:11 +00:00
koopersmith 68a166cca7 Update help content for tools page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:44:08 +00:00
nacin ad56beed8f Update comments icon in the menu sprite to match the rounded admin bar icon. props empireoflight. fixes #19379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:42:36 +00:00
koopersmith 93808a4a55 Update help content for export page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:40:36 +00:00
koopersmith 626751a2f6 Update help content for import page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:38:13 +00:00
koopersmith 90f4fb3dd5 Update help content for user edit page. props Ipstenu, see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:32:33 +00:00
azaozz a55d901b12 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: http://svn.automattic.com/wordpress/trunk@19455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 06:16:43 +00:00
dd32 6da2f73c78 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: http://svn.automattic.com/wordpress/trunk@19454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-26 04:08:38 +00:00
azaozz 952187eb76 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 20:00:21 +00:00
azaozz f1ef47ded2 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: http://svn.automattic.com/wordpress/trunk@19452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 19:46:41 +00:00
nacin 572dcb6205 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: http://svn.automattic.com/wordpress/trunk@19450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-25 05:15:28 +00:00
azaozz e8638a517a Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: http://svn.automattic.com/wordpress/trunk@19449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 17:44:53 +00:00
nacin 97dcf902db Revert [19372] for 3.3. see #13473.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 16:06:17 +00:00
azaozz 32267a39dd Few more RTL and IE7 fixes, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:40:31 +00:00
ryan efbbab1b3c Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:21:39 +00:00
dd32 c85525aece 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: http://svn.automattic.com/wordpress/trunk@19444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-24 00:20:21 +00:00
koopersmith 1611327f11 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:49:33 +00:00
nacin fd676baa81 Redirect to about.php on update. props ocean90. see #18467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:38:36 +00:00
nacin 470a2bb683 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: http://svn.automattic.com/wordpress/trunk@19441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:28:50 +00:00
azaozz cd153ba4fb Tweak the active help tab padding to line it up, see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:23:05 +00:00
koopersmith e73fcd8c4a In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:19:12 +00:00
ryan 094ebdb120 Indent cleanup. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:08:02 +00:00
nacin c563977e85 Update jQuery version on about.php. Force ltr for 'is_main_query()'. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:07:48 +00:00
ryan c4b72bf705 Help tabs. Props Ipstenu. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:06:52 +00:00
ryan 0e95236e14 Help tabs. Props chexee. see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 23:02:22 +00:00
koopersmith a854e80a19 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:50:46 +00:00
koopersmith 5ff76fd777 Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:14:03 +00:00
ryan ff358379c9 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: http://svn.automattic.com/wordpress/trunk@19428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:29:33 +00:00
azaozz b2a114b952 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: http://svn.automattic.com/wordpress/trunk@19426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 21:17:20 +00:00
nacin 974108d57c 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: http://svn.automattic.com/wordpress/trunk@19425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:45:23 +00:00
azaozz d170df731a Fix inserting images from url in Press This, fixes #19341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 20:32:21 +00:00
duck_ 5a84496f20 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:23:59 +00:00
nacin 388986f5b0 Punctuation tweaks to about.php. props jane. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:22:46 +00:00
nacin a7c296dd47 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: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
koopersmith 689dade993 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:53:11 +00:00
nacin dd697967bf 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: http://svn.automattic.com/wordpress/trunk@19418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 18:30:45 +00:00
duck_ 84b34160fa 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: http://svn.automattic.com/wordpress/trunk@19415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 15:20:45 +00:00
duck_ ae41efe347 Texturized apostrophes. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:14:48 +00:00
markjaquith 279615ea59 Fix "wp_db_current_db_version" typo. see #18693
git-svn-id: http://svn.automattic.com/wordpress/trunk@19411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 22:05:42 +00:00
markjaquith a1fb35ca98 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: http://svn.automattic.com/wordpress/trunk@19410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:50:50 +00:00
duck_ 91746f3179 Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:28 +00:00
azaozz fb79e5e64c Restore back-compat with wp_tiny_mce(), see #19320
git-svn-id: http://svn.automattic.com/wordpress/trunk@19408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:47:01 +00:00
azaozz 9d4c2efa7a RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: http://svn.automattic.com/wordpress/trunk@19404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:54:41 +00:00
markjaquith a5b0f9d666 Remove the the typo that no one noticed on the the credits screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 20:34:34 +00:00
duck_ 0c58e7b1a9 Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 17:11:06 +00:00