Commit Graph

8670 Commits

Author SHA1 Message Date
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
dd32
aee92ce43b Fix the Margins in the Tag metabox for RTL. Props yoavf. Fixes #17799
git-svn-id: http://svn.automattic.com/wordpress/trunk@18308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 13:31:35 +00:00
dd32
9903d372b6 Fix Gallery re-ordering draggable handle area in RTL. Props yoavf. Fixes #17791
git-svn-id: http://svn.automattic.com/wordpress/trunk@18307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-14 12:39:11 +00:00
nacin
e149164921 Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:50:16 +00:00
nacin
9d2edcd9ac [18294] was a bit too quick to eliminate backslashed apostrophes in translated strings. $s as a placeholder becomes a variable. Switch to %s and %s, as the href will always come before the text, so no need for numbered placeholders. fixes #17781.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:30:53 +00:00
azaozz
626fa3b3d3 Always use curly brackets with foreach, see [18295]
git-svn-id: http://svn.automattic.com/wordpress/trunk@18296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 01:03:55 +00:00
azaozz
8416d1c0e0 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@18295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 00:24:47 +00:00
nacin
7271998aa6 Only warn about 'unsafe' for IE6/7. props jane, fixes #17440.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 21:38:57 +00:00
dd32
ed5785c9ef Only hide the browser uploader by default if the Flash uploader is enabled. Fixes #17772
git-svn-id: http://svn.automattic.com/wordpress/trunk@18290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-12 12:47:18 +00:00
azaozz
192a616b7f More Press This cleanup and fixes, see #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 23:12:21 +00:00
azaozz
caf4a20ae8 Press This RTL css fixes, props ocean90, fixes #17757
git-svn-id: http://svn.automattic.com/wordpress/trunk@18282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:17:34 +00:00
nacin
ea1c1a370b Browser nag dismiss: hide-if-no-js. props duck_, see #17766.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 21:14:03 +00:00
nacin
7542e878f0 UI refresh for Press This. props koopersmith, see #17757.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:37:23 +00:00
nacin
1a62cfa691 Fix display of browser nag, use lowercase hex values, move identical styles out of colors-* and into dashboard.css. props duck_, fixes #17765.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 19:32:19 +00:00
ryan
4bb54d8f68 Improvements to invalid menu item handling. Props ocean90. fixes #13958
git-svn-id: http://svn.automattic.com/wordpress/trunk@18277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:52:15 +00:00
ryan
46f63a6b1e Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
nacin
2571545ec0 @since s/3.2/3.2.0/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 04:40:18 +00:00
dd32
7123b0b62a Restore the md5 in the Dash widget cache key, prevents issues with long widget ids. Props nacin. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:33:17 +00:00
dd32
694ec284a8 Key the Dashboard widget cache off the Widget ID & clear cache upon options changing. Props ocean90. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 03:16:42 +00:00
nacin
fcf8586289 Make update-core only do sanity checks against readme.html and version.php, both always included even in partial builds. fixes #17760.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 02:35:00 +00:00
nacin
d648585363 Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 00:55:48 +00:00
koopersmith
0f85a171c2 The Lightening, Part 2: Return of the Luminous Hex Codes. Make the admin styles a bit brighter. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:47:28 +00:00
ryan
a9ddd3474c Update _old_files for 3.2. see #17759
git-svn-id: http://svn.automattic.com/wordpress/trunk@18256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:15:01 +00:00
ryan
daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
nacin
bfe6bef203 Remove 'Development.' fixes #15991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:55:28 +00:00
nacin
60bdbe765f Don't add extra spaces. props duck_, see #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:30:54 +00:00
nacin
57f51582b1 Translate a missing string. props ldebrouwer, fixes #16861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:28:02 +00:00
nacin
343d07bb5a Fix whitespace discrepancy between Manage Themes and Install Themes tabs. props trepmal. Don't show a single Manage Themes heading as a tab if the user doesn't have install_themes. fixes #17758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:16:30 +00:00
azaozz
12dd9113cb Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: http://svn.automattic.com/wordpress/trunk@18247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:13:26 +00:00
nacin
9d31daac05 Revert [18243].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 22:01:52 +00:00
nacin
ca53db156d s/Blue/Classic/
git-svn-id: http://svn.automattic.com/wordpress/trunk@18243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:37:14 +00:00
nacin
d6b239adf1 Some more credits strings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:27:14 +00:00
azaozz
2c0b56039f DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: http://svn.automattic.com/wordpress/trunk@18241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:08:49 +00:00
koopersmith
262b95b4ad Improve contrast on login screen by darkening shadow. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:48:25 +00:00
azaozz
692bc46e6c Fix pagination when searching or filtering, props solarissmoke, koopersmith, fixes #17685
git-svn-id: http://svn.automattic.com/wordpress/trunk@18237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:33:45 +00:00
koopersmith
3b4443b140 The Lightening, Part One: Lighten tabs UI on new post and menus screens. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 19:10:40 +00:00
markjaquith
856c2742ca Fix mistaken use of publicly_queryable when public was what was intended. props nacin. fixes #17040
git-svn-id: http://svn.automattic.com/wordpress/trunk@18234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:02:03 +00:00
ryan
e5765caf3b Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: http://svn.automattic.com/wordpress/trunk@18232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:40:42 +00:00
markjaquith
e67a3b2e32 Be less specific about theme and plugin repo licenses (as they can vary in specifics). They are all compatible with the license WordPress uses, which is what matters. fixes #16514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:35:32 +00:00
azaozz
a866368997 H2 font weight = normal as Helvetica Neue Light doesn't scale well for lighter setting, props dd32, fixes #17743
git-svn-id: http://svn.automattic.com/wordpress/trunk@18230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:24:10 +00:00
dd32
5df56d4bba Cache the Dashboard RSS Widgets HTML output to reduce the memory footprint of including SimplePie. Fixes #16927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:31:39 +00:00
nacin
bf9c99e1fa Extra check for partial updates: Make sure the API response matches the current version of WP. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 06:22:33 +00:00
nacin
493ac83f33 Core support for partial updates. see #10611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:47:44 +00:00
nacin
fa2d658ab7 Update Core UI changes:
* Update Now instead of Update Automatically.
 * The first core update is now a primary button.
 * Hide the version number from the 'You are about to install WP in English' warning for development versions, as it lies and suggests you will be downgraded.
see #10611.


git-svn-id: http://svn.automattic.com/wordpress/trunk@18224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 05:37:51 +00:00
koopersmith
bc7d8a9dca Refresh login form styles to match admin style refresh. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 02:37:37 +00:00
azaozz
ec2778daa9 Do not run bulk edit when the user clicks on a filter, fixes #17733
git-svn-id: http://svn.automattic.com/wordpress/trunk@18222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 00:01:16 +00:00
koopersmith
d831ae7504 Darken h2 subtitles on post pages to improve readability. see #17634.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-09 21:55:39 +00:00
azaozz
c0cec1175e Enable autocomplete on the href and title fields in the link popup, props nacin, fixes #17101
Remove unneeded for=".." attributes from the <label> tags there.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:39:08 +00:00
koopersmith
e1b8dfc8fa Prevent items from overflowing from the 'howdy' menu. Props Otto42. fixes #17148.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 22:18:52 +00:00
koopersmith
a0485323c9 DFW: When hiding DFW, switch to correct main editors before saving content. Otherwise, some content will be lost. fixes #17729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 20:55:33 +00:00
azaozz
07356cc1a7 Fix borders at the bottom of tabs in postboxes, props dcowgill, fixes #17699
Fix color of active tab in Categories postbox.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 18:23:49 +00:00
ryan
152af39f98 Add padding to search subtitle. Props kawauso. fixes #17634
git-svn-id: http://svn.automattic.com/wordpress/trunk@18199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 17:52:18 +00:00
nacin
71c2782b1c Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:49:27 +00:00
markjaquith
029a8d1bef Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674
git-svn-id: http://svn.automattic.com/wordpress/trunk@18193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 16:27:57 +00:00
azaozz
d697ce638b Make copying the PressThis bookmarklet code easier in WebKit browsers, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 01:33:07 +00:00
ryan
6c6db6a54e Don't add search wildcards to an empty string. fixes #17719
git-svn-id: http://svn.automattic.com/wordpress/trunk@18179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 16:05:04 +00:00
azaozz
9855641210 Some CSS cleanup and tuning, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@18173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 22:27:03 +00:00
azaozz
245d007ab2 Workaround for removeAttr('style') in Chromium, props duck_, fixes #17706
git-svn-id: http://svn.automattic.com/wordpress/trunk@18170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 18:59:10 +00:00
ryan
ebdc0d02b6 Fix warnings in menu.php when plugins.php is enabled for non-supes. Props PeteMall. fixes #17702
git-svn-id: http://svn.automattic.com/wordpress/trunk@18169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 16:59:24 +00:00
nacin
21abd80ac5 Oops. Credits API version remain unchanged. see #17518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:46:11 +00:00
nacin
cef8b6662f Credits screen redux. Add external libraries, gravatars for language validators. Backed by a new API. fixes #17518, fixes #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 06:38:29 +00:00
azaozz
af360e4077 Remove the title attribute from the Press This link as it needlessly repeats the text, props johnjamesjacoby, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@18160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 02:36:00 +00:00
azaozz
31e257b3c9 Fix quick edit error message styling, props solarissmoke, fixes #16912, fixes #14317
Fix top margin in bulk edit posts

git-svn-id: http://svn.automattic.com/wordpress/trunk@18158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 01:14:26 +00:00
nacin
e811e73322 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 00:30:17 +00:00
azaozz
71373b3fea Change cursor on hover on dashboard box toggles, props andrewryno, fixes #16440
git-svn-id: http://svn.automattic.com/wordpress/trunk@18156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:41:37 +00:00
azaozz
55c55c8f7d Fix JS error in Press This, props greuben, fixes #17501
git-svn-id: http://svn.automattic.com/wordpress/trunk@18155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 23:12:51 +00:00
koopersmith
4fc66df097 Update RTL blue admin theme. Props saracannon. fixes #17696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 22:09:26 +00:00
azaozz
c1638ee025 Properly add shadow to folded admin menu in RTL, props ocean90, fixes #17692
git-svn-id: http://svn.automattic.com/wordpress/trunk@18153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 21:29:28 +00:00
ryan
ffd5c4416d Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: http://svn.automattic.com/wordpress/trunk@18150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:14:51 +00:00
ryan
741a724b53 RTL fixes for credits.php. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 15:09:44 +00:00
westi
a9e78ba4a6 Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben
git-svn-id: http://svn.automattic.com/wordpress/trunk@18148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:36:12 +00:00
westi
866b39c617 Move the in_admin_footer action out of p#footer-left.alignleft so it is just in div#footer to allow for it to be used more flexibly. Fixes #17358 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 12:04:19 +00:00
westi
898e239ee2 Scroll up to the top when bulk editing so the form is completely visible. Fixes #17208 props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:56:12 +00:00
westi
45552f72d3 Whitespace fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@18144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:04:29 +00:00
westi
0397b60c04 Mark two missed strings in Press This for translation. Fixes #16334 props SergeyBiryukov and ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 09:02:08 +00:00
azaozz
1c9a877290 Fix collapsed menu transition glitch, props rosshanney, fixes #17534
git-svn-id: http://svn.automattic.com/wordpress/trunk@18138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 06:23:06 +00:00
azaozz
190670e218 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: http://svn.automattic.com/wordpress/trunk@18137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 00:46:47 +00:00
nacin
9a023b8378 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 23:30:46 +00:00
ryan
20ad00f2f1 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: http://svn.automattic.com/wordpress/trunk@18131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 18:59:12 +00:00
ryan
f938faa814 Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: http://svn.automattic.com/wordpress/trunk@18129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 15:35:45 +00:00
markjaquith
372f48b7a0 Tighten up the Credits page so it's not so spaced out.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 09:00:49 +00:00
ryan
209f213f56 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
azaozz
8d5a2a6cdf Also move the dark arrows, props ocean90, see #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:04:01 +00:00
azaozz
b0804966b2 Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:21:15 +00:00
koopersmith
e62e01b928 Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:55:27 +00:00
ryan
bc6a3ba8f8 RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602
git-svn-id: http://svn.automattic.com/wordpress/trunk@18116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:21:28 +00:00
ryan
15a6a89eb0 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:05:55 +00:00
ryan
46d0e53c7b RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: http://svn.automattic.com/wordpress/trunk@18113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 16:04:02 +00:00
ryan
3f7c9b5b76 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 15:26:01 +00:00
nacin
30729cc791 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 22:03:36 +00:00
ryan
538658c4de Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 21:27:42 +00:00
azaozz
92343666f3 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:50:04 +00:00
ryan
9b82395409 Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: http://svn.automattic.com/wordpress/trunk@18106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:33:45 +00:00
ryan
a0c3f4ce25 Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:30:29 +00:00
azaozz
a7189cbaa9 Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:08:41 +00:00
azaozz
40c95fc8f7 Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:01:29 +00:00
markjaquith
fb76d8852b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: http://svn.automattic.com/wordpress/trunk@18102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:31:42 +00:00
ryan
3d3fe65798 Decrement pending count after Approve and Reply. Props DH-Shredder. fixes #17380
git-svn-id: http://svn.automattic.com/wordpress/trunk@18100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:23:19 +00:00
azaozz
9972597f91 Widgets RTL fixes, props yoavf, fixes #16082
git-svn-id: http://svn.automattic.com/wordpress/trunk@18095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:29:10 +00:00
ryan
03602f19e6 url_encode file names in theme and plugin editor urls. Props kawauso. fixes #17038
git-svn-id: http://svn.automattic.com/wordpress/trunk@18094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:14:58 +00:00
ryan
44a218c639 Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: http://svn.automattic.com/wordpress/trunk@18093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:03:41 +00:00
westi
1443193079 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 15:37:04 +00:00
westi
b64c0fb2f9 Add a ms_user_row_actions filter on the actions array for the Network Users table. Fixes #15932 props sorich87
git-svn-id: http://svn.automattic.com/wordpress/trunk@18090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:44:10 +00:00
ryan
9f677a0847 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:41:43 +00:00
westi
ea720f6a36 Make the css for the row status highlighting more specific so that it works regardless of the ordering of the CSS loading. Fixes #16827 props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 13:52:49 +00:00
ryan
3fc5956921 s/seperator/separator/. Props brandonburke. fixes #17610
git-svn-id: http://svn.automattic.com/wordpress/trunk@18084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 19:58:36 +00:00
ryan
10334eff33 Don't set fields to empty values in _wp_translate_data(). Props scribu, johnjamesjacoby. fixes #16673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 16:08:46 +00:00
dd32
fc52dfeec4 Correct the logic for Taxonomy edit page actions. Props michaeltyson for initial patch. Fixes #17617
git-svn-id: http://svn.automattic.com/wordpress/trunk@18078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 05:05:42 +00:00
azaozz
c215525c41 s/autosave/autosave-message to show these messages again, fixes #17624
git-svn-id: http://svn.automattic.com/wordpress/trunk@18076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:53:18 +00:00
azaozz
e18aac6f90 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: http://svn.automattic.com/wordpress/trunk@18075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:22:09 +00:00
azaozz
ab43381c33 Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 14:12:08 +00:00
azaozz
7536a1107e Improve JS array/object detection when outputting the TinyMCE init array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 21:18:58 +00:00
azaozz
2d2f8d4c6f s/Colse/Close/, props nacin, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 05:07:32 +00:00
azaozz
9739cfea3c Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 02:04:52 +00:00
nacin
5a63a11c7c Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 19:29:32 +00:00
azaozz
b6fff6534a Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 02:30:04 +00:00
nacin
cbba3fe581 Don't use array calling for post_status in wp_edit_attachments_query() to prevent any use of the deprecated query_string filter (as in, don't use it) from tanking the page. see #17556, #17559. for 3.1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 05:41:34 +00:00
ryan
eb825b2b40 Remove duplicate IDs before passing comment post IDs to get_pending_comments_num()
git-svn-id: http://svn.automattic.com/wordpress/trunk@18041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:36:26 +00:00
ryan
e68292421d Fix notices. Props ocean90. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:46:40 +00:00
ryan
3462aab64e Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: http://svn.automattic.com/wordpress/trunk@18035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:06:42 +00:00
ryan
ae8f4a2a80 If there is only one submenu and it is has same destination as the parent, remove the submenu. fixes #17528
git-svn-id: http://svn.automattic.com/wordpress/trunk@18034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:05:52 +00:00
azaozz
d5a2ea7d13 Remove wp-admin/js/list-table.js, not used anywhere and not listed in script-loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:06:24 +00:00
azaozz
65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
ryan
51fe428865 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@18026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:58:01 +00:00
azaozz
27a001b635 Stop TinyMCE from trying to maintain text formatting when adding new paragraphs in FF and WebKit, see #17549
git-svn-id: http://svn.automattic.com/wordpress/trunk@18025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:55:59 +00:00
azaozz
5d756ba5d2 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: http://svn.automattic.com/wordpress/trunk@18024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 16:49:01 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan
9aeffe1487 Don't show _access_denied_splash() for network admin pages. Props sorich87. fixes #17511
git-svn-id: http://svn.automattic.com/wordpress/trunk@18009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:11:03 +00:00
ryan
2e2807147c Don't show _access_denied_splash() if the user has permissions for the site but insufficient perms for a particular page. Props sorich87. fixes #17514
git-svn-id: http://svn.automattic.com/wordpress/trunk@18008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:08:19 +00:00
nacin
666e71d69b String swap. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 18:32:17 +00:00
westi
30f64bdbb5 Use context to tell the translators what to do and thereby remove a unused string.
Add a comment as to why we have translations after a return.
See #17532

git-svn-id: http://svn.automattic.com/wordpress/trunk@18005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 11:02:12 +00:00
nacin
02aad2f192 Add paragraph tags around the blocks of contributors. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:49:44 +00:00
nacin
d265a3a79d Prepare the Credits page to handle translators. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:33:33 +00:00
nacin
ab840f8074 Update the Credits page for changes in the API. see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 00:08:51 +00:00
ryan
2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan
cb44c14449 Use correct keys
git-svn-id: http://svn.automattic.com/wordpress/trunk@17996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:21:34 +00:00
ryan
81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
ryan
117d081812 Use esc_url() once again.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:12 +00:00
ryan
0c93cb66be Add a nonce.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:18:58 +00:00
nacin
fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin
40b0b6c65e Add option_page_capability_$option_page filter. see #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:22 +00:00
nacin
e813941988 Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:24:32 +00:00
azaozz
7815408b7a Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
nacin
c6e93b74ea s/add_css/_wp_credits_add_css/. props dimadin, see #17532.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 14:01:03 +00:00