Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 9, 2012
  1. Twenty Eleven: fix gallery thumbnail image overflow, props chellycat.…

    lancewillett authored
    … Fixes #20478.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Twenty Eleven: fix long URLs in comments overflow content area, fixes…

    lancewillett authored
    … #21491. Props SergeyBiryukov jkudish andrewspittle.
    
    Also minor pinking shears in stylesheet and functions file.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Twenty Ten: code readability in twentyten_comment, props kovshenin, f…

    lancewillett authored
    …ixes #21474. (And minor pinking shears.)
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. switch_to_blog() and restore_current_blog() housekeeping.

    ryan authored
    wp-includes/admin-bar.php:
    
    * Replace get_admin_url() and get_home_url() with admin_url() and home_url() and place them inside a switch/restore. Likewise replace current_user_can_for_blog() with current_user_can(). This avoids doing multiple switch restores.
    
    wp-includes/ms-blogs.php:
    
    * Deprecate the $validate argument to switch_to_blog(). This avoids a not very necessary call to get_blog_details(), possibly saving a few queries.
    * Use $_wp_switched and $_wp_switched_stack instead of $switched and $switched_stack to make it less likely these globals will be stomped.
    * Use GLOBALS to access blog_id and other globals. I've preferred this style lately since it makes it obvious a global is being used and avoids global blog_id being stomped by a local variable.
    * Lose some is_object() checks. wp_get_current_user() always returns an object, for example.
    * Call the new WP_Roles::reinit() method.
    
    wp-includes/class-wp-xmlrpc-server.php:
    
    * Replace current_user_can_for_blog() with current_user_can() and move it inside the switch/restore pair. This eliminates a switch/restore.
    
    wp-includes/capabilities.php:
    
    * Use array_keys() instead of $role => $data since $data is unused. I *think* this is a bit faster.
    * Introduce WP_Roles::reinit(). This reinitializes WP_Roles and is used after switch_to_blog() has already update the blog ID in the wpdb object. If a global roles array is being used instead of the db, reinit is skipped.
    * current_user_can_for_blog() now does a switch/restore. It didn't before meaning it could be reinitializing the user with the wrong role information for the current blog.
    
    wp-includes/ms-settings.php:
    
    * Define $_wp_switched_stack and $_wp_switched. This way switch_to_blog() and restore_current_blog() can rely on it being set.
    
    wp-settings.php:
    
    * Instantiate the WP_Roles global. This was it is always defined during init. To remove the WP_Roles checks from WP_Role and WP_User this would probably have to move before plugins are loaded, which might not be a good thing.
    
    wp-includes/functions.php:
    
    * Update wp_upload_dir() to reference _wp_switched.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Move get_current_blog_id() to load.php so it is available during mult…

    ryan authored
    …isite bootstrap. fixes #21432
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Aug 8, 2012
  1. Twenty Twelve: fix bypostauthor styling, probs obenland and SergeyBir…

    lancewillett authored
    …yukov (also improves the RTL layout, see #21441).
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Twenty Twelve: add basic styles for IE7 and IE8, supports basic layou…

    lancewillett authored
    …t now with the small-nav styles. Props obenland, closes #21440.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. When WP_Dependencies accept a string for a single dependency, make su…

    azaozz authored
    …re the string is not empty, see #20683
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Undeprecate *_blog_option() by popular demand. Put them back in ms-bl…

    ryan authored
    …ogs.php since direct inclusion of ms-blogs.php/ms-functions.php is unforntunately common.
    
    see #21432
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Twenty Twelve: cleanup up extra space in functions.php

    lancewillett authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. Twenty Twelve: better gallery columns support, and CSS cleanup. Close…

    lancewillett authored
    …s #21475, props philiparthurmoore and pdclark.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Twenty Twelve: fix for long words getting hidden in widgets. Props Dr…

    lancewillett authored
    …ewAPicture, closes #21503.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  8. Twenty Twelve: make nav toggle button same height as other buttons.

    lancewillett authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  9. Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error …

    lancewillett authored
    …in older IE versions. See #21440.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  10. Multisite: Fix the new get_space_used() function to correctly calcula…

    westi authored
    …te Megabytes used and update some phpdoc. Props SergeyBiryukov.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  11. Declare, document, and protect $dbuser, $dbpassword, $dbname, $dbhost…

    nacin authored
    … and $dbh in wpdb.
    
    These properties, while protected, are still accessible thanks to the magic getter added in [21472].
    
    props pento, nvartolomei, joelhardi. fixes #18510.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  12. Lazy-load column info in wpdb. props pento. fixes #20838.

    nacin authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  13. Introduce wpdb::get_charset_collate() to return the DEFAULT CHARACTER…

    nacin authored
    … SET and COLLATE for use in table schemas.
    
    props simonwheatley, pento. fixes #18451.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  14. Deprecate wpdb::supports_collation() in favor of wpdb::has_cap().

    nacin authored
    props hakre, pento. fixes #16757.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Aug 7, 2012
  1. Fix typo in wp_login_form(), props greenshady, fixes #21514

    azaozz authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. TinyMCE: fix typo in button tooltips.

    azaozz authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Hide the charset setting for installs that have a charset of UTF-8 al…

    nacin authored
    …ready. fixes #21507.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Aug 6, 2012
  1. Compress scripts/styles: 3.5-alpha-21466.

    bumpbot authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Fix .screen-reader-text in RTL, see #21471

    azaozz authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Twenty Twelve: update author archive markup and styles, props klagraf…

    lancewillett authored
    …f. Fixes #21494.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Compress scripts/styles: 3.5-alpha-21463.

    bumpbot authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Twenty Twelve: line-height style fixes, props chellycat. See #21486.

    lancewillett authored
     * For entry titles match larger screen style with the base styles to add a bit more line-height.
     * Add line-height to entry-content and entry-summary, so that elements appearing outside of paragraph tags inside these containers will still have the appropriate line-heights.
     * Add line-height for pingbacks, which looks a bit too tight when pingbacks span multiple lines.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. CSS cleanup: remove references to .wp-menu-toggle, props ocean90, fix…

    azaozz authored
    …es #21502
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Compress scripts/styles: 3.5-alpha-21460.

    bumpbot authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  8. Replace last remaining gradients with css, standardize the gradient c…

    azaozz authored
    …ss cascade, props ocean90, fixes #16461
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  9. Compress scripts/styles: 3.5-alpha-21458.

    bumpbot authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  10. Accessibility: enhance the Screen Options and Help tabs open/close, s…

    azaozz authored
    …ee #21326
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  11. Compress scripts/styles: 3.5-alpha-21456.

    bumpbot authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  12. Align headings and form elements on tags and categories pages. After …

    koopersmith authored
    …seven and a half years... props hanni. fixes #21496.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  13. Docs for wp-activate.php. props lgedeon. fixes #20429.

    nacin authored
    git-svn-id: http://core.svn.wordpress.org/trunk@21454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Something went wrong with that request. Please try again.