Commit Graph

14077 Commits

Author SHA1 Message Date
Andrew Nacin
36a12c4dc3 Proper handling of menu nonsupport message. props deanjrobinson, fixes #14098 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15334 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-26 07:12:15 +00:00
Andrew Nacin
1dcaee88f4 Remove a @todo. see #14014.
git-svn-id: https://develop.svn.wordpress.org/trunk@15333 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:25:29 +00:00
Ryan Boren
01443b68b3 Fix inverted logic in [15331]. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15332 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:17:33 +00:00
Ryan Boren
f338e835a2 Don't perform current user ops in switch_to_blog() or restore_current_blog() if init hasn't fired. Avoids wp_get_current_user() not defined error when those functions are run before init. Ops on current user prior to init are meaningless anyway. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15331 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:16:06 +00:00
Andrew Nacin
8c3323da0a WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15330 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:15:43 +00:00
Ryan Boren
d397a1c20d Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
git-svn-id: https://develop.svn.wordpress.org/trunk@15328 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:11:36 +00:00
Andrew Nacin
8a95a0d25d i18n a string in import.php. props vanillalounge, fixes #14086 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15326 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:04:54 +00:00
Andrew Nacin
8a0c54e243 Fix typo in php comment. props Utkarsh, fixes #14072.
git-svn-id: https://develop.svn.wordpress.org/trunk@15325 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 06:26:40 +00:00
Peter Westwood
71ba7b122d Remove dead code. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@15324 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:51:46 +00:00
Peter Westwood
9879c27093 Fix notice when visiting the plugins page as a site admin with multisite enabled. Fixes #14010.
git-svn-id: https://develop.svn.wordpress.org/trunk@15323 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:47:44 +00:00
Ryan Boren
e8b8d9773a Fix current page detection for home when index.php is in the requested URL. Props filosofo. fixes #13977 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15320 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 17:39:29 +00:00
Ryan Boren
4ed0fb72d8 Markup fixes for plugins screen. Props johnbillion. fixes #14007 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15318 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:10:23 +00:00
Ryan Boren
fdc775d75e Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15316 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:07:11 +00:00
Ryan Boren
494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ryan Boren
3cd056320a Remove unused global. Props filosofo. fixes #13933 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15313 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:53:26 +00:00
Ryan Boren
58fb5bb514 Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15311 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:49:23 +00:00
Andrew Nacin
5c9e072270 s/site/network/ in user-new.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@15310 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 05:38:58 +00:00
Andrew Nacin
6611e799ea Some whitespace in WP_HTTP. props hakre, see #13897.
git-svn-id: https://develop.svn.wordpress.org/trunk@15309 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 14:26:57 +00:00
Andrew Nacin
0f2f62762b Revert typo. Thanks autocomplete for randomly modifying my file. see #14026.
git-svn-id: https://develop.svn.wordpress.org/trunk@15307 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:22:43 +00:00
Andrew Nacin
f3100ef18c Avoid variable clash in export.php. see #14026 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15306 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:17:49 +00:00
Andrew Nacin
5154f54e0a Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: https://develop.svn.wordpress.org/trunk@15305 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 05:10:45 +00:00
Andrew Nacin
4352937ec0 Fix typo in user-new help. see #14038 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15304 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 23:04:49 +00:00
Andrew Nacin
c118ae7ec8 Assign menu-item-home also when menu item isn't current. props filosofo, see #14053 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15302 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 22:05:43 +00:00
Andrew Nacin
dbcb4eeaa8 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: https://develop.svn.wordpress.org/trunk@15301 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 20:52:48 +00:00
Andrew Nacin
6121122d9a Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: https://develop.svn.wordpress.org/trunk@15300 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:38:19 +00:00
Andrew Nacin
98d3d275bf Remove unused global from install-helper. props hakre, fixes #13405.
git-svn-id: https://develop.svn.wordpress.org/trunk@15299 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:31:50 +00:00
Andrew Nacin
ccabcee5d7 Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15297 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 18:18:39 +00:00
Andrew Nacin
15a13b431b Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15293 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 05:36:18 +00:00
Dion Hulse
9c7369cca9 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15292 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:13:57 +00:00
Dion Hulse
e22a4707bf Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15290 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:12:03 +00:00
Dion Hulse
f13e3b1dc2 Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: https://develop.svn.wordpress.org/trunk@15287 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:28:27 +00:00
Dion Hulse
8290bddd76 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: https://develop.svn.wordpress.org/trunk@15286 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:05:23 +00:00
Dion Hulse
b690dd5bfe Some coding standards cleanups for WP_HTTP. Props hakre for initial patch. See #13897
git-svn-id: https://develop.svn.wordpress.org/trunk@15285 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:02:09 +00:00
Dion Hulse
ef753d5a64 Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15284 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:54:21 +00:00
Dion Hulse
98b6ab2bb2 Correct the links to the codex for non-english users. Props ocean90. Fixes #13948 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15281 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:49:38 +00:00
Dion Hulse
e263911f0e Fix typos in r15278. Caused by fat fingers.
git-svn-id: https://develop.svn.wordpress.org/trunk@15280 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:48:30 +00:00
Dion Hulse
9603705443 Replace Permalink options Javascript with easily understood jQuery version
git-svn-id: https://develop.svn.wordpress.org/trunk@15279 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:40:43 +00:00
Dion Hulse
309a88827b Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Andrew Nacin
84ff7671a8 Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15277 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-18 05:37:45 +00:00
Ryan Boren
99e5c267c4 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15275 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 19:27:56 +00:00
Ryan Boren
d34dbc8791 3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@15272 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:59:07 +00:00
Ryan Boren
94efed64a0 Allow only super admins to see plugins.php if the Plugins menu is not exposed. Props ocean90. fixes #13944
git-svn-id: https://develop.svn.wordpress.org/trunk@15271 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:57:02 +00:00
Ryan Boren
509ea7fb71 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15270 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 22:21:08 +00:00
Ryan Boren
58a038d2ad Avoid var name collision. see #13929
git-svn-id: https://develop.svn.wordpress.org/trunk@15269 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 21:46:42 +00:00
Andrew Nacin
44bb966035 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: https://develop.svn.wordpress.org/trunk@15268 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 20:08:58 +00:00
Ryan Boren
61ac7c90b0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15267 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:45:57 +00:00
Ryan Boren
dbbc8adb90 Make dbh parameter to select optional for plugin back compat. Don't pass by ref to preserve PHP 4 support. fixes #13914
git-svn-id: https://develop.svn.wordpress.org/trunk@15266 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:28:01 +00:00
Ryan Boren
7def07393e Retern variable to avoid notice in PHP 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15265 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:11:44 +00:00
Andrew Nacin
3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith
8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00