Commit Graph

6574 Commits

Author SHA1 Message Date
dd32
d000a0706f Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: http://svn.automattic.com/wordpress/trunk@14210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-24 02:59:41 +00:00
nacin
b25092d5b0 Custom background UI tweaks. Props TECannon. see #12186, fixes #12699
git-svn-id: http://svn.automattic.com/wordpress/trunk@14209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 22:10:21 +00:00
ryan
bc0947b075 Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: http://svn.automattic.com/wordpress/trunk@14206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 20:34:03 +00:00
nacin
866ed4fc0f Shake away files removed in 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 17:20:26 +00:00
ryan
070f285e4d Remove fat finger typo. see #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:26:00 +00:00
ryan
9f33300139 Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: http://svn.automattic.com/wordpress/trunk@14193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-23 14:25:05 +00:00
josephscott
47699849f7 - don't pass user id to list_users check
- only link the username if the edit_user cap check passes

see #13074


git-svn-id: http://svn.automattic.com/wordpress/trunk@14191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 22:53:44 +00:00
westi
9356c4b72d Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 21:39:37 +00:00
josephscott
e26aed0ac4 New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074



git-svn-id: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
ryan
f4ccd9cac3 Fix paging numbers. Props ocean90. fixes #13082
git-svn-id: http://svn.automattic.com/wordpress/trunk@14188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 17:59:21 +00:00
ryan
f0bb52f8c4 Dashboard and Press This RTL fixeixes. Props yoavf. fixes #13083
git-svn-id: http://svn.automattic.com/wordpress/trunk@14187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 17:54:08 +00:00
wpmuguru
55446491fa fix page count calc for unattached media, props PeteMall, see #12448
git-svn-id: http://svn.automattic.com/wordpress/trunk@14185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 23:30:06 +00:00
westi
da93a92714 Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:41:20 +00:00
ryan
73f0e2f334 Add multisite check on delete. Check promote_user cap. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:58:10 +00:00
nbachiyski
16989ec444 Help translators with meaning of MB and GB. They are definitely not Macbook and Great Britain
git-svn-id: http://svn.automattic.com/wordpress/trunk@14177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:44:21 +00:00
ryan
fda80bc7f6 Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074
git-svn-id: http://svn.automattic.com/wordpress/trunk@14176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 17:43:53 +00:00
ryan
219f902d3d Add add_users cap to allow distringuishing between adding and creating users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 16:33:13 +00:00
nbachiyski
6a4971c131 Upgrader i18n fixes: add translator messages, take tags out of a message and use the correct error text when including both the title and the error message
git-svn-id: http://svn.automattic.com/wordpress/trunk@14173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 10:58:06 +00:00
nbachiyski
a3f84296c5 Change user name to username for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:40:08 +00:00
nbachiyski
7658f0892d Focus on the password field if the user has come from the default password nag
git-svn-id: http://svn.automattic.com/wordpress/trunk@14171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:16:14 +00:00
nbachiyski
a8f935789b Split the default password nag text to several translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@14170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:15:07 +00:00
nbachiyski
9aff4a6206 Take <em> tag out of translatable string
git-svn-id: http://svn.automattic.com/wordpress/trunk@14169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:06:41 +00:00
nbachiyski
4f9e5d644b Don't use missing $taxonomy in screen_options(). $tax->name has the taxonomy slug/name we need
git-svn-id: http://svn.automattic.com/wordpress/trunk@14168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 15:13:27 +00:00
nbachiyski
049af4a425 Trash should always be in titlecase for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 14:54:36 +00:00
nbachiyski
33628516d1 Add missing semi-colon in the end of quote entity. Props Cátia Kitahara
git-svn-id: http://svn.automattic.com/wordpress/trunk@14166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 20:49:13 +00:00
nbachiyski
04f843f306 Un-www wordpress.org links in two importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@14165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:09:38 +00:00
nbachiyski
33ecb0ea45 Add a translators comment to clarify what comes after at
git-svn-id: http://svn.automattic.com/wordpress/trunk@14164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 15:08:48 +00:00
nbachiyski
bb110266c3 Indent and split into several lines the HTML for wp-admin logo
git-svn-id: http://svn.automattic.com/wordpress/trunk@14163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 13:33:18 +00:00
nacin
d7f5f107e4 Make the 'Delete' action link for plugins red. fixes #12741, props jane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:43:16 +00:00
nacin
a1c0cee221 Change the 'per page' screen options strings. fixes #12872, props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 17:15:58 +00:00
nacin
b4da392519 Remove dead code. props azaozz, see #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 16:49:18 +00:00
nacin
98b9ace627 Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 15:54:45 +00:00
nacin
3ca17b00ac Optimize the Authors drop-down in export.php. Makes it one query, also orders authors by display name. see #10317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 14:51:55 +00:00
dd32
452057154f Better styling for Press This Category tabs in Classic theme. Fixes #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:44:07 +00:00
dd32
32cfe19193 Better styling for Press this Categories. Props duck_. See #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:41:51 +00:00
dd32
810775c865 Move nonces into better locations, Currently nested within the Editor support, which is not always enabled. Props duck_. Fixes #12867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:23:03 +00:00
dd32
cc9c13d266 Use correct custom post_type token in get_sample_permalink()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:18:20 +00:00
dd32
18a81ac245 Use the correct field when determining if the parent can support the Post Editor. See #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 09:09:45 +00:00
dd32
5cd73bf182 Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:37:45 +00:00
dd32
8fe91a75b5 Fix typo in unspamed comments message
git-svn-id: http://svn.automattic.com/wordpress/trunk@14142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 07:32:59 +00:00
dd32
ceea02c6c8 Bump the other upgrade check, Fixes r14138. See #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:18:00 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
dd32
0d0902e9e8 Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@14138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:08:40 +00:00
nacin
f0a9c50f18 Escape some permalinks. add_query_arg will &, not &amp;, so we need to use esc_url those when used in an attribute. fixes #12126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:01:19 +00:00
dd32
34c57058bf Update _wp_translate_postdata() capability checks to use Post Type API capability fields. Props duck_. Fixes #12987
git-svn-id: http://svn.automattic.com/wordpress/trunk@14130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:26:39 +00:00
dd32
abcbdf58b2 Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
dd32
688ae7577e Check $pagenow?post_type=$typenow for submenu titles, Fixes page titles for plugin pages added to custom post_type's. Fixes #12985
git-svn-id: http://svn.automattic.com/wordpress/trunk@14126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 02:56:00 +00:00
dd32
f4c48adc7f Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: http://svn.automattic.com/wordpress/trunk@14125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:54:44 +00:00
dd32
87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
dd32
e56cc6ce28 Toggle between "Show Details" and "Hide Details" on GUU; Add no-js CSS class support to generic iframe header. Props ocean90. Fixes #12919
git-svn-id: http://svn.automattic.com/wordpress/trunk@14123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 12:27:13 +00:00