Commit Graph

8791 Commits

Author SHA1 Message Date
ryan
2edc82cd61 * 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: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
2a38f122ab Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:28:29 +00:00
nacin
3440dbb182 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: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
ccf47d55c4 Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
e296e48b3d Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:54:05 +00:00
nacin
8c731f1cb2 Space out and capitalize 'Auto' in screen options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:28:00 +00:00
azaozz
d58e337d24 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: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 21:07:08 +00:00
azaozz
fea5c38ef4 Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 17:27:48 +00:00
azaozz
21d9701150 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: http://svn.automattic.com/wordpress/trunk@18801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 16:05:59 +00:00
azaozz
e076a246fd 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: http://svn.automattic.com/wordpress/trunk@18799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 07:26:34 +00:00
azaozz
8315e48d3a Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: http://svn.automattic.com/wordpress/trunk@18798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 06:08:56 +00:00
koopersmith
8c1bc6831a Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-28 00:57:56 +00:00
nacin
de8cc0eae1 Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 20:52:07 +00:00
ryan
6c1f1b642a Revert fat fingers in [18793]. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:33:51 +00:00
ryan
022dcf68c0 First pass of WP_Screen phpdoc. see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 14:30:56 +00:00
duck_
2b11174785 _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: http://svn.automattic.com/wordpress/trunk@18792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 10:22:58 +00:00
nacin
d415ceabeb wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-27 06:11:30 +00:00
nacin
30c473c4e0 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 23:31:54 +00:00
nacin
49fae8d60b Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:32:10 +00:00
nacin
95087c5947 And fix this variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:15:57 +00:00
nacin
1a70603eb2 Use correct variable. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:11:46 +00:00
koopersmith
d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
azaozz
5ca2255bba Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 19:23:43 +00:00
nacin
b9bd6e3632 Use WP_PLUGIN_DIR, not PLUGINDIR. props ocean90, fixes #18772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 19:24:15 +00:00
azaozz
ce992634cc Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 18:53:34 +00:00
azaozz
1e145adb97 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: http://svn.automattic.com/wordpress/trunk@18773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-25 17:17:51 +00:00
azaozz
728c4379d7 Fix line-height inside postbox and stuffbox, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:48:41 +00:00
duck_
53f5e8344e Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 20:26:51 +00:00
duck_
26d36e6eda Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:57:52 +00:00
nacin
9f216ad715 delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 19:31:38 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
dd32
ef11d05989 Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:18:44 +00:00
nacin
55a0bfcdc8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 21:12:43 +00:00
koopersmith
27d6351a64 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:22:52 +00:00
koopersmith
1b6afc2077 Correct text widget background color. It was really messing with our feng shui.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 20:05:13 +00:00
nacin
5254f5f78f Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 18:52:51 +00:00
duck_
29c5eaadfd Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 14:36:57 +00:00
azaozz
e7e4ceed22 Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
git-svn-id: http://svn.automattic.com/wordpress/trunk@18757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-23 05:03:31 +00:00
koopersmith
48d20c1839 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 22:33:27 +00:00
koopersmith
f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
westi
b816f54124 Revert [18747] until we can discuss it further. See #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 09:15:45 +00:00
nacin
f2a6d07a9d Add 'Visit Dashboard' and 'Edit Site' links to the site added message on site-new.php. props vegasgeek, SergeyBiryukov. fixes #18047. fixes #17313.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 07:17:27 +00:00
koopersmith
d7ce0f762b Add frame for welcome panel on dashboard (currently hidden). see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 06:23:10 +00:00
azaozz
29f13c28b3 Change the menus Link Target to checkbox, props nacin, fixes #17521
git-svn-id: http://svn.automattic.com/wordpress/trunk@18748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 05:44:25 +00:00
azaozz
95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
koopersmith
723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz
08f904ace5 Remove some duplicates and combine some css selectors, props DH-Shredder, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 22:23:09 +00:00
azaozz
1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00