Commit Graph

9013 Commits

Author SHA1 Message Date
azaozz
0df31fc3c4 Separate the tab title from the help section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 21:18:04 +00:00
azaozz
9e37d9490d Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: http://svn.automattic.com/wordpress/trunk@18860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 20:50:08 +00:00
nacin
fcba7735c0 Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:13:27 +00:00
nacin
e635d0befc Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:07:41 +00:00
nacin
5522818ed3 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: http://svn.automattic.com/wordpress/trunk@18857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 17:59:46 +00:00
koopersmith
322c2bde5e Properly print per-page options. see #18690, [18853].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 03:21:36 +00:00
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
7be002d642 Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: http://svn.automattic.com/wordpress/trunk@18852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:19:07 +00:00
azaozz
ccb65a88b4 Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:12:39 +00:00
azaozz
d7a9037fec Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: http://svn.automattic.com/wordpress/trunk@18850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:52:29 +00:00
nacin
8721427446 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 21:35:05 +00:00
markjaquith
f1a1d07a13 More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@18843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:31:52 +00:00
ryan
ed4c502e16 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: http://svn.automattic.com/wordpress/trunk@18842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:26:14 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
ryan
33113c01c7 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: http://svn.automattic.com/wordpress/trunk@18839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:47:02 +00:00
azaozz
816fcad9e2 Fix editor detection when inserting image, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
nacin
cb3ab86c7c Compress and bump media.css. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
nacin
cb1477ecfd 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: http://svn.automattic.com/wordpress/trunk@18831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:22:29 +00:00
nacin
4adc74c379 Update Feedback support URL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 05:26:40 +00:00
azaozz
f5e6304ca6 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
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
ryan
9a1be60235 Avoid notice with empty menu. Props ansimation, SergeyBiryukov. fixes #18085
git-svn-id: http://svn.automattic.com/wordpress/trunk@18740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:17:22 +00:00
azaozz
4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz
ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
nacin
0fd3915e9f number_format_i18n for role user counts. props sirzooro, fixes #18305.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 05:35:57 +00:00
dd32
5daf7aa2b0 Don't trigger Database Upgrades for POST requests with a body. Fixes #18712
git-svn-id: http://svn.automattic.com/wordpress/trunk@18731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 04:17:55 +00:00
azaozz
456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz
2f59ff622a Add the borders to the border-radius merge, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:21:18 +00:00
azaozz
eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz
f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
duck_
698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_
5a4061bb13 Make use of specific post format support in current_theme_supports(). See #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:31:33 +00:00
azaozz
4b38d0833e Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
nacin
e216db1950 Fix issue where post locks were not updating on autosaves. props benbalter, fixes #18642. see #18515 for more on locking. broken in [12991], see #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 23:23:39 +00:00
nacin
5f3f71c0f2 Don't burden translators with a few strings we'll be changing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:45:23 +00:00
koopersmith
7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin
0179ece052 Use get_post_class() in the posts list table. props brandondove, fixes #18516.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:11:28 +00:00
azaozz
80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz
9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz
ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin
2ee655428d Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
duck_
551198c5ca Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 18:27:32 +00:00
azaozz
f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
azaozz
5025fd9b02 Add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:26:42 +00:00
duck_
708f95adba Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 21:20:43 +00:00
duck_
c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
koopersmith
9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith
834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
westi
26b57f09a2 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:26:07 +00:00
azaozz
2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz
bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz
64e98fd257 Put back float: left for postbox containers, fixes #18665
git-svn-id: http://svn.automattic.com/wordpress/trunk@18672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 02:55:31 +00:00
azaozz
05a76c78f4 Remove max-width for .widefat, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 00:50:35 +00:00
azaozz
c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz
ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz
d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz
debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz
01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin
c9301a30be Loosen validation regex to use sanitize_key() in a few AJAX locations for things like pages, orders, columns. Change return value to 0 for failure, as -1 is reserved for authentication/intention. props ocean90, azaozz, fixes #18637.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-12 21:48:44 +00:00
nacin
4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
duck_
6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin
fab91dd3d0 Fix attribute spacing. props mfields, fixes #18570.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:02 +00:00
azaozz
9223d74720 Fix default widgets for the default theme (Twenty Eleven), props SergeyBiryukov, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 16:15:47 +00:00
duck_
a8c3f1145e s/overridding/overriding/. Props trepmal, see #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:25:55 +00:00
duck_
9a5d3d4155 Pull out old import remnant from when importers were shipped in core. Fixes #15844.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:18:36 +00:00
nacin
a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
azaozz
fb970629fb '.widget', not '.postbox' in [18635], props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:45:01 +00:00
azaozz
b645d74be4 Remove orphaned sidebars from the page when the user drags all widgets out of them, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:26:32 +00:00
azaozz
21dc8794bc Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +00:00
duck_
c1d1590171 Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 14:18:10 +00:00
azaozz
d83b14c165 Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz
4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
azaozz
9813047aa0 Fix styling of the editors for the blue theme, props saracannon, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 00:58:41 +00:00
azaozz
63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz
7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
dd32
6f5da88d81 Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
git-svn-id: http://svn.automattic.com/wordpress/trunk@18622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 03:55:40 +00:00
koopersmith
51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz
b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32
e089db6cf4 First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 15:02:48 +00:00
dd32
ef278df299 Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32
b16b6f8a31 Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 05:51:38 +00:00
dd32
ea3a169b6f Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:51:35 +00:00
azaozz
12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
ryan
39ba82bb3f Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: http://svn.automattic.com/wordpress/trunk@18608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:00:07 +00:00
azaozz
4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan
2521eb5f17 Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
git-svn-id: http://svn.automattic.com/wordpress/trunk@18600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 17:56:34 +00:00
westi
ca0474c9fb Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 08:05:15 +00:00
ryan
0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi
0668193437 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:37:25 +00:00
westi
633f13ca72 End each row with a new line to make the raw HTML easier to read.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:13:33 +00:00
westi
6afa141b4e Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:12:07 +00:00
dd32
392ef4c88c Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: http://svn.automattic.com/wordpress/trunk@18590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 07:48:13 +00:00
nacin
fdedc8a500 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:56:14 +00:00
azaozz
c8af09ed2c Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:36:21 +00:00
azaozz
f3f79602b9 Auto column switching for the dashboard, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:00:56 +00:00
azaozz
18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
azaozz
3d679a03e2 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz
ba3ad76771 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +00:00
azaozz
1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz
6041cd0410 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz
4cca01b8c3 Another fix for Press This, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 17:04:16 +00:00
azaozz
97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
nacin
0fe8ea2f72 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:40:37 +00:00
nacin
dbc5a36a14 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:26:18 +00:00
nacin
e00bc528b6 Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:17:47 +00:00
nacin
ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
0caf6ee451 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 02:29:06 +00:00
azaozz
05b62b9b8e Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 14:32:36 +00:00
nacin
b5d445aa84 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 06:53:19 +00:00
azaozz
87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
nacin
3503cc4b8d Remove beta upgrade code from 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 02:26:59 +00:00
nacin
51d2aef086 Clean up message handling logic in upload.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:12:02 +00:00
nacin
02831e8b84 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-14 22:23:22 +00:00
nacin
4e4932296f Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:01:26 +00:00
nacin
ae91e0dfcd Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 22:32:35 +00:00
duck_
f98e622c39 Direct a user to the main site to install importers, fixes #17990
git-svn-id: http://svn.automattic.com/wordpress/trunk@18535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 20:49:47 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
nbachiyski
4870176ad0 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:42:59 +00:00
nbachiyski
c8721d2600 Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: http://svn.automattic.com/wordpress/trunk@18530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:36:18 +00:00
nbachiyski
51e91e68c3 Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@18529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:33:22 +00:00
nacin
cdb9e49b8c Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 03:02:01 +00:00
nacin
5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
nacin
97730f64fa Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:26:36 +00:00
nacin
5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
45f2e1a527 Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:00:45 +00:00
nacin
bce03b27a6 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:53:54 +00:00
azaozz
9a65f6e237 Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 21:04:15 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
azaozz
042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan
1cf9dfacbf Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:29:46 +00:00
ryan
f5762a2aab Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: http://svn.automattic.com/wordpress/trunk@18508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:07:51 +00:00
nacin
ba9ae611eb Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 12:40:15 +00:00
ryan
6c81d023bb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz
6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan
514632d860 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 19:14:06 +00:00
ryan
24d480d088 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00
azaozz
3713abe855 Remove debug remnants, props scribu, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:36:18 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
230fb8f3e3 Refactor Quicktags, props garyc40, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
nacin
77cf05fbb7 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:20:06 +00:00
nacin
592e3c5d8f Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: http://svn.automattic.com/wordpress/trunk@18492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 22:16:19 +00:00
azaozz
07bf8b352e Remove tabs from JS, props duck_, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 08:44:29 +00:00
ryan
7e94f474cd Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: http://svn.automattic.com/wordpress/trunk@18487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 21:36:45 +00:00
azaozz
34467767ff Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz
c5657820fb Remove debug bits, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 09:03:24 +00:00
azaozz
91a8720fff Pluploader take 1, props jacobwg, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
nacin
3aff9d9464 Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 06:07:38 +00:00
ryan
ee12592231 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: http://svn.automattic.com/wordpress/trunk@18475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:10:00 +00:00
ryan
e3418e214e Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: http://svn.automattic.com/wordpress/trunk@18473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:35:39 +00:00
ryan
c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
azaozz
21058cf460 Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
dd32
adbcddd6eb Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: http://svn.automattic.com/wordpress/trunk@18462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 10:57:34 +00:00
azaozz
5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
azaozz
49c71bc6db UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan
3c930bc018 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: http://svn.automattic.com/wordpress/trunk@18452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:04:12 +00:00
ryan
4e538ea9c8 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:32:12 +00:00
ryan
a117773fc8 Typo fix. Props kawauso. fixes #18177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:46:01 +00:00
ryan
4ad0954961 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
ryan
7f88e6ee2f Sites search improvements. fixes #18013
git-svn-id: http://svn.automattic.com/wordpress/trunk@18442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:42:26 +00:00
azaozz
b87d9d50d6 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
nacin
6fba9adeaf Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:48:43 +00:00
nacin
916a1c943c Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 20:22:24 +00:00
azaozz
fcc103f0b2 Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin
61afb5def3 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin
8ead4891b9 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin
bac625849e Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin
0904773260 Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
ryan
7697960abe Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin
c8e85fcb81 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
azaozz
9d23dd8753 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00
nacin
4a387dc4f0 Affirm current credits timeout. see #17759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 15:58:43 +00:00
azaozz
86067bcf74 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: http://svn.automattic.com/wordpress/trunk@18390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:15:04 +00:00
ryan
98ea343717 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:59:45 +00:00
azaozz
a1beac9a44 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: http://svn.automattic.com/wordpress/trunk@18381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:46:00 +00:00
azaozz
f158ed15d2 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: http://svn.automattic.com/wordpress/trunk@18380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:23:09 +00:00
nacin
db78833264 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin
ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
ryan
68d8691cc8 Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:47:35 +00:00
ryan
db253a3fe7 Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:44:56 +00:00
azaozz
b80ad7a9cf User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 16:17:49 +00:00
dd32
4e0de4a1d3 Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 06:47:34 +00:00
ryan
08b6aa116e Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:47:04 +00:00
azaozz
06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz
df0cca6ae4 Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: http://svn.automattic.com/wordpress/trunk@18347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 19:35:26 +00:00
ryan
593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
ryan
65332fb735 Fix display of color icon for menus that don't have submenus. Props duck_. fixes #17881
git-svn-id: http://svn.automattic.com/wordpress/trunk@18340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 21:49:22 +00:00
nbachiyski
f76ad7a71a Fix typo, fixes #17868, props rasheed2 and vanillalounge
git-svn-id: http://svn.automattic.com/wordpress/trunk@18337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-24 11:18:20 +00:00
ryan
5eaf7b7e05 Added padding for 'Storage Space' in RTL. Props rasheed, yoavf. fixes #17871
git-svn-id: http://svn.automattic.com/wordpress/trunk@18332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:57:21 +00:00
azaozz
7ba19933f3 Fix warning when DFW is loaded and the $post global is not set, props SidHarrell, fixes #17874
git-svn-id: http://svn.automattic.com/wordpress/trunk@18331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 19:41:42 +00:00
nacin
9096c1a3c6 Add theme feature strings for translation. These are already being returned by the API. props lancewillett, fixes #17359.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:45:21 +00:00
westi
fda24a53ed Ensure we have a valid timezone identifier before trying to use it.
Validate the new timezone identifier during option update.
Fixes #17840.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-20 14:58:50 +00:00
nacin
c774b1b42d Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:05:46 +00:00
nacin
7b3569ab29 Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-18 15:02:58 +00:00
dd32
6de00a0495 Add new star.gif replacement with a Grey background (& White counterpart). Props chexee for star icons. Fixes #17428
git-svn-id: http://svn.automattic.com/wordpress/trunk@18318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-17 05:41:35 +00:00
nacin
c5f8e9a376 Add missing translate() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-16 00:18:51 +00:00
nacin
e169b152bd Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-15 19:23:35 +00:00
dd32
2f3d9c768f Fix positioning of TinyMCE Resize handler for RTL. Props yoavf. Fixes #17796
git-svn-id: http://svn.automattic.com/wordpress/trunk@18310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:55:04 +00:00
dd32
d8a6868d99 Flip the Gallery header sort buttons to the left for RTL. Props yoavf. Fixes #17790
git-svn-id: http://svn.automattic.com/wordpress/trunk@18309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:40:38 +00:00