Commit Graph

13894 Commits

Author SHA1 Message Date
Dion Hulse fd8152d074 Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-02 07:52:14 +00:00
Andrew Nacin bea71072af Give nav-menus.php some better include paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@15361 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-01 00:24:36 +00:00
Andrew Nacin ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Ryan Boren c6f385ea6a Don't use deprecated function. Blacklist curlies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15356 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 17:46:37 +00:00
Dion Hulse 7efc4efdaa Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
Dion Hulse 3562ac632d And the rest of r15353. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15354 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:54:39 +00:00
Dion Hulse d12bd7a07e Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15353 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:52:33 +00:00
Ryan Boren 9fe4a697cf Don't process allowedthemes option when editing a site. Props wpmuguru. fixes #14120
git-svn-id: https://develop.svn.wordpress.org/trunk@15351 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:32:49 +00:00
Ryan Boren 44a502207a Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15348 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:10:54 +00:00
Ryan Boren d9eb60c0a0 Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15346 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 13:52:56 +00:00
Andrew Nacin f58a5ced8b s/trash/Trash/
git-svn-id: https://develop.svn.wordpress.org/trunk@15345 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 08:47:43 +00:00
Andrew Nacin 1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin ed6045fbb6 Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15342 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 20:11:59 +00:00
Ryan Boren ceab605169 Use prepare(). Props Ben Ward.
git-svn-id: https://develop.svn.wordpress.org/trunk@15340 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 19:55:55 +00:00
Andrew Nacin 494f898c39 screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: https://develop.svn.wordpress.org/trunk@15339 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 08:38:06 +00:00
Andrew Nacin 462d22c3e2 Increment first, to avoid ++ later on when it conflicts with [25].
git-svn-id: https://develop.svn.wordpress.org/trunk@15338 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 04:21:33 +00:00
Andrew Nacin 73b2b7c164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
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