Commit Graph

3241 Commits

Author SHA1 Message Date
Andrew Nacin 31be442135 Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19665 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 20:18:31 +00:00
Andrew Nacin b5a9ad17b9 Add a space.
git-svn-id: https://develop.svn.wordpress.org/trunk@19656 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:06:03 +00:00
Andrew Nacin c2eb0dd98c Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19655 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:04:56 +00:00
Andrew Nacin 64a967b0f0 Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19653 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:53:31 +00:00
Andrew Nacin 8fd2ce80b6 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:24:51 +00:00
Andrew Nacin 3350723c21 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19639 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:10:54 +00:00
Ryan Boren c29f1b7fee Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19630 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:26:58 +00:00
Ryan Boren aea340f3d8 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19629 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:25:09 +00:00
Ryan Boren c736bcfacb Remove Plugins dashboard widget. fixes #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19628 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:57:21 +00:00
Ryan Boren f009eb7170 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19627 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:21:57 +00:00
Ryan Boren cb374258bb Remove extraneuos newlines
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00
Ryan Boren 54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Ryan Boren b5976a8597 Trunk is now 3.4 alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@19594 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:47:39 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren 140ff4e84b Update _old_files for 3.3. fixes #19517
git-svn-id: https://develop.svn.wordpress.org/trunk@19588 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-12 20:24:19 +00:00
Ryan Boren ae0d5be06c Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19579 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:26:48 +00:00
Ryan Boren d26f0a4c40 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19577 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 23:02:33 +00:00
Andrew Nacin df57708f1a Don't show new feature pointers for new installs and users. fixes #19382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19574 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 21:55:39 +00:00
Ryan Boren 22b28c8441 Contextual help: Remove dead overview code. Prepend old- to back compat ID. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19563 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 00:13:52 +00:00
Ryan Boren 1280a0b9e6 Handle themes that have no customization screens. fixes #19408
git-svn-id: https://develop.svn.wordpress.org/trunk@19545 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 20:48:47 +00:00
Andrew Nacin d39db098d7 Remove debug cruft and fix variable collision. fixes #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19532 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 06:02:18 +00:00
Andrew Nacin 2d82fa2b5a Push logic into _redirect_to_about_wordpress() and be more specific about which context this runs under. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19529 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 05:03:11 +00:00
Ryan Boren 6610e321e7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Nacin 91ed8fd115 Use GLOBALS. see #18467.
git-svn-id: https://develop.svn.wordpress.org/trunk@19527 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:49:57 +00:00
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 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
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 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 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 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 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 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 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
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 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
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