Commit Graph

13111 Commits

Author SHA1 Message Date
Ryan Boren
02bda72572 Fix back compat for hidden columns and layout screen options. Change meta baox order to be per user, rather than per blog. This breaks back compat for box order but the previous behavior was wrong. see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14235 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:59:03 +00:00
Ron Rennick
be6734dd06 only append parent term slug until unique slug found, see #10712
git-svn-id: https://develop.svn.wordpress.org/trunk@14234 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 15:25:00 +00:00
Dion Hulse
a5c4bcabe0 Remove dead browse happy code. Has not been used for 18months in core admin. Props ocean90. Fixes #4833
git-svn-id: https://develop.svn.wordpress.org/trunk@14233 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:40:37 +00:00
Dion Hulse
cbfbe11ce8 Hide Parent dropdown in Page-attributes metabox when no potential parents exist. Props sorich87. Fixes #12655
git-svn-id: https://develop.svn.wordpress.org/trunk@14232 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:30:32 +00:00
Dion Hulse
b4051fba69 Add basic email/url validation to General options page. Prevents users entering a invalid Admin email or WordPress/Site Address which is not in URL form. Props technosailor for initial patch, slightly reworked. See #12868
git-svn-id: https://develop.svn.wordpress.org/trunk@14231 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 08:16:10 +00:00
Dion Hulse
e857394694 Allow edit posts page to save a empty set of terms for a custom hierarchical taxonomy. Props scribu for initial patch. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14230 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 07:42:51 +00:00
Dion Hulse
c22f8eb989 Allow Terms to exist within multiple taxonomies (Regression in 3.0); If a term slug is provided on the form, Respect it (do not suffix it, instead, feedback with error); Do not allow hierarchical term names to exist multiple times within a set level (ie. AU/NSW + AU/NSW is bad, AU/NSW + AU/VIC + AU/VIC/NSW is ok). See #13060
git-svn-id: https://develop.svn.wordpress.org/trunk@14229 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 07:35:16 +00:00
Dion Hulse
c63e95bdae Handle HTTP errors on popular tags requests, Handle HTTP Errors on listing loading slightly different no-js compatible. Fixes #13107
git-svn-id: https://develop.svn.wordpress.org/trunk@14228 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 05:39:39 +00:00
Matt Thomas
24ee9c06c9 In twentyten, use path.jpg as the default header image
git-svn-id: https://develop.svn.wordpress.org/trunk@14227 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 01:02:51 +00:00
Ron Rennick
7b91f92df5 fix site administrator add user to site logic, see #12488
git-svn-id: https://develop.svn.wordpress.org/trunk@14226 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 18:39:22 +00:00
Matt Thomas
7d14aa6e89 In twentyten, equalize border size on header and footer for print
git-svn-id: https://develop.svn.wordpress.org/trunk@14225 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 18:27:08 +00:00
Matt Thomas
346fe8e7d2 In twentyten, fix print stylesheet for single column page template.
git-svn-id: https://develop.svn.wordpress.org/trunk@14224 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 18:20:17 +00:00
Matt Thomas
2334d676fb In twentyten, apply last-child stylings to pingbacks as well as comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@14223 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 18:08:46 +00:00
Andrew Nacin
8d7f5fc554 Single quotes are way cooler.
git-svn-id: https://develop.svn.wordpress.org/trunk@14222 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 17:49:08 +00:00
Andrew Nacin
8178348739 Style bumps and compressed styles for r14187. see #13083.
git-svn-id: https://develop.svn.wordpress.org/trunk@14221 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 17:22:34 +00:00
Andrew Nacin
a732e95544 Prevent HTML editor from being resized horizontally. props nomulous, fixes #13064
git-svn-id: https://develop.svn.wordpress.org/trunk@14220 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 16:57:44 +00:00
Dion Hulse
87981059db Change custom post_type default Rewrite endpoint mask to EP_PERMALINK to ensure comment paging rules are added. Removes redundant/non-usable EP_NONE branch. Fixes #13086
git-svn-id: https://develop.svn.wordpress.org/trunk@14219 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 14:42:30 +00:00
Dion Hulse
70d38b62ac Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14218 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 10:29:01 +00:00
Dion Hulse
4c6df3a2e4 Ignore sticky posts which the current user cannot read, Ignore sticky posts which have been explicitly excluded with 'post__not_in'. Fixes #11197
git-svn-id: https://develop.svn.wordpress.org/trunk@14217 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 06:04:05 +00:00
Dion Hulse
e9ca3c961f Correct "Last Edited by" username, Updates the last edited username upon save rather than upon a edit lock being created. Props rooodini & deepak.seth. Fixes #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@14216 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 04:24:38 +00:00
Ron Rennick
310a7bcf05 escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099
git-svn-id: https://develop.svn.wordpress.org/trunk@14215 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 04:15:00 +00:00
Dion Hulse
75b0dcde46 Add descriptive error messages on Custom Fields updates attempting to set a empty Key or Value. Fixes #11650
git-svn-id: https://develop.svn.wordpress.org/trunk@14214 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:53:47 +00:00
Ron Rennick
af6fe3689a remove from usermeta table in r14212, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14213 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:28:12 +00:00
Ron Rennick
9091ff9cb9 remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14212 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:09:48 +00:00
Dion Hulse
62a7cce4f3 s/'%s'/%s/ in prepares. Props jamescollins. See r13673. See #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@14211 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 03:04:05 +00:00
Dion Hulse
9bffb132ef Remove Horizontal scrollbars on Thickbox iframes. Props ocean90. Fixes #13062
git-svn-id: https://develop.svn.wordpress.org/trunk@14210 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 02:59:41 +00:00
Andrew Nacin
4168a748dc Custom background UI tweaks. Props TECannon. see #12186, fixes #12699
git-svn-id: https://develop.svn.wordpress.org/trunk@14209 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 22:10:21 +00:00
Peter Westwood
d192a8ca09 Switch to using esc_url{_raw} for the shortlink output as it is a url not just any attribute. Fixes #10640.
git-svn-id: https://develop.svn.wordpress.org/trunk@14208 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 21:23:32 +00:00
Peter Westwood
6908b105e4 Added escaping to wp_shortlink_wp_head() too. See #10640 props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@14207 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 21:20:16 +00:00
Ryan Boren
8d9073103c Introduce get_super_admins(). Allow hard-coding a global super_admins array and bypassing site options. fixes #12815
git-svn-id: https://develop.svn.wordpress.org/trunk@14206 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:34:03 +00:00
potbot
e45d699ca7 POT, generated from r14204
git-svn-id: https://develop.svn.wordpress.org/trunk@14205 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 20:21:09 +00:00
Matt Thomas
17c7a0d144 In twentyten, CSS code cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@14204 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 19:09:02 +00:00
Andrew Nacin
9930e8cd4b Make some branching look less crazy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14203 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 19:00:30 +00:00
Matt Thomas
8dc372a5ea In twentyten, remove border from last child of commentlist, add border to top of respond div
git-svn-id: https://develop.svn.wordpress.org/trunk@14202 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 18:59:36 +00:00
Matt Thomas
746aa8edeb In twentyten, fix Firefox print style, make print styles use full page width, and style form inputs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14201 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 18:49:58 +00:00
Andrew Nacin
774007dd8c Shake away files removed in 3.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@14200 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 17:20:26 +00:00
Ryan Boren
bd235b0c53 Return true. fixes #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14199 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 16:50:01 +00:00
Ryan Boren
353adc8969 Move ms_site_check() to after init and allow super admins to view blocked sites. see #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14198 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 16:18:33 +00:00
Ryan Boren
4f6c6647f3 Use rtrim() instead of untrailingslashit to avoid formatting.php dependency. Relying on formatting.php breaks SHORTINIT.
git-svn-id: https://develop.svn.wordpress.org/trunk@14197 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 16:10:48 +00:00
Andrew Nacin
de3a5eca3b Fix typo in inline docs. props TobiasBg. see #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14196 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 15:32:31 +00:00
Andrew Nacin
46c6c0bcf7 Clarify language for non-publication of emails. props lloydbudd, fixes #13026.
git-svn-id: https://develop.svn.wordpress.org/trunk@14195 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 15:01:21 +00:00
Ryan Boren
977b0cd52e Remove fat finger typo. see #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14194 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 14:26:00 +00:00
Ryan Boren
bfe3ca3b90 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: https://develop.svn.wordpress.org/trunk@14193 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 14:25:05 +00:00
Nikolay Bachiyski
e0ac5d0e81 Do not force formatted number to int. Props brentes, fixes #10555
git-svn-id: https://develop.svn.wordpress.org/trunk@14192 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 06:05:07 +00:00
Joseph Scott
c97705cd49 - 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: https://develop.svn.wordpress.org/trunk@14191 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 22:53:44 +00:00
Peter Westwood
3f2ee78320 Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14190 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 21:39:37 +00:00
Joseph Scott
cae7b3b275 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: https://develop.svn.wordpress.org/trunk@14189 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 19:48:13 +00:00
Ryan Boren
74cae0802c Fix paging numbers. Props ocean90. fixes #13082
git-svn-id: https://develop.svn.wordpress.org/trunk@14188 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:59:21 +00:00
Ryan Boren
f28be2ee6a Dashboard and Press This RTL fixeixes. Props yoavf. fixes #13083
git-svn-id: https://develop.svn.wordpress.org/trunk@14187 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 17:54:08 +00:00
Nikolay Bachiyski
0a0ec2ff46 Make the $path argument of load_muplugin_textdomain() functional -- relative to mu-plugins. Props uglyrobot, fixes #12875
git-svn-id: https://develop.svn.wordpress.org/trunk@14186 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 11:32:50 +00:00