Permalink
Commits on Oct 6, 2012
  1. Improve the lazy instantiation of the 'wp' JavaScript variable. props…

    … evansolomon, fixes #22113.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 6, 2012
Commits on Oct 5, 2012
  1. On the gallery creation screen, only display the remove icon on hover.

    git-svn-id: http://core.svn.wordpress.org/trunk@22125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 5, 2012
  2. Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728

    git-svn-id: http://core.svn.wordpress.org/trunk@22124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 5, 2012
  3. Put required field indicators within labels. Update styling of bundle…

    …d themes to accommodate. Props MikeHansenMe. fixes #21897
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 5, 2012
  4. Remove unnecessary .tog class from checkboxes on the Permalink Settin…

    …gs screen. Designed originally for the admin color scheme choice (see [7259]), it causes vertical misalignment and lack of spacing between the checkbox and corresponding label. see #16379.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 5, 2012
  5. Use 2 * DAY_IN_SECONDS rather than 172800. props pavelevap. fixes #20…

    …987.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 5, 2012
  6. Use the new media modal to insert galleries into TinyMCE and the text…

    … editor.
    
    '''Galleries'''
    
    * Gallery insertion from the new media modal (into TinyMCE, the text editor, etc).
    * Gallery previews in TinyMCE now use the `wp.mce.views` API.
    * Disables the TinyMCE `wpgallery` plugin.
    * Gallery previews consist of the first image of the gallery and the appearance of a stack. This will later be fleshed out to include more images/functionality (including editing the gallery, gallery properties, and showing the number of images in the gallery).
    * Multiple galleries can be added to a single post.
    * The gallery MCE view provides a bridge between the `wp.shortcode` and `Attachments` representation of a gallery, which allows the existing collection to persist when a gallery is initially created (preventing a request to the server for the query).
    
    
    '''Shortcodes'''
    
    * Renames `wp.shortcode.Match` to `wp.shortcode` to better expose the shortcode constructor.
    * The `wp.shortcode` constructor now accepts an object of options instead of a `wp.shortcode.regexp()` match.
    * A `wp.shortcode` instance can be created from a `wp.shortcode.regexp()` match by calling `wp.shortcode.fromMatch( match )`.
    * Adds `wp.shortcode.string()`, which takes a set of shortcode parameters and converts them into a string.* Renames `wp.shortcode.prototype.text()` to `wp.shortcode.prototype.string()`.
    * Adds an additional capture group to `wp.shortcode.regexp()` that records whether or not the shortcode has a closing tag. This allows us to improve the accuracy of the syntax used when transforming a shortcode object back into a string.
    
    '''Media Models'''
    
    * Prevents media `Query` models from observing the central `Attachments.all` object when query args without corresponding filters are set (otherwise, queries quickly amass false positives).
    * Adds `post__in`, `post__not_in`, and `post_parent` as acceptable JS attachment `Query` args.
    * `Attachments.more()` always returns a `$.promise` object.
    
    see #21390, #21809, #21812, #21815, #21817.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 5, 2012
Commits on Oct 4, 2012
  1. Avoid Strict Standards warnings. Props markoheijnen. see #6821

    git-svn-id: http://core.svn.wordpress.org/trunk@22119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  2. Objects no longer need to be explicitly passed by ref to call_user_fu…

    …nc*() to be callable. Props wonderboymusic. fixes #21865
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  3. Avoid 'Only variables should be assigned by reference' warning. Props…

    … wonderboymusic. see #21865
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  4. Avoid 'Only variables should be assigned by reference' warning. Props…

    … wonderboymusic. see #21865
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  5. Avoid 'Only variables should be assigned by reference' warning. Props…

    … wonderboymusic. see #21865
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  6. Avoid 'Only variables should be assigned by reference' warning. Props…

    … wonderboymusic. see #21865
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  7. Avoid 'Only variables should be assigned by reference' warning. Props…

    … knutsp. fixes #22013
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  8. Twenty Ten and Eleven: update screenshot.png files in both themes to …

    …double-sized versions for HiDPI support. Fixes #21388.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Oct 4, 2012
  9. Update phpdoc and deprecation for wp_cache_reset(). see #21434

    git-svn-id: http://core.svn.wordpress.org/trunk@22111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  10. If wp_cache_incr() is not available fallback to get()/set(). fixes #2…

    …2024
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  11. An empty taxonomy query should return no results rather than all post…

    …s. Props wonderboymusic. fixes #20604
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
  12. Reduce use of global. Use get_blog_details() instead. fixes #22090

    git-svn-id: http://core.svn.wordpress.org/trunk@22108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 4, 2012
Commits on Oct 3, 2012
  1. Add no-customize-support to the body classes when the toolbar is show…

    …ing. Allows for 'Customize' to be hidden when JS is disabled. props obenland, DrewAPicture. fixes #20896.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 3, 2012
  2. Pass the current blog id to is_main_site() in wp_upload_dir(), becaus…

    …e is_main_site() without arguments does not respond correctly on switch. see #19235.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 3, 2012
  3. Pass the post date to wp_upload_dir() during sideloads, just as we do…

    … uploads. Ensures that sideloaded images make it into the right uploads directory.
    
    props solarisssmoke, fixes #16777.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 3, 2012
  4. Bump. Remove hyphen from beta1 as it is not our typical format. Also,…

    … bumpbot gets confused.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 3, 2012
  5. Improve performance of WP_Meta_Query when doing OR queries on meta ke…

    …ys. Props joehoyle, SergeyBiryukov. fixes #19729
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 3, 2012
  6. MCE Views: Use default shortcode properties when the shortcode parame…

    …ter is set.
    
    Prevents devs from having to manually extend the default shortcode property object.
    
    see #21390, #21812.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 3, 2012
  7. Allow galleries to be reordered by drag and drop.

    An `Attachments` view now accepts a `sortable` property. Manual sorting is only enabled when the corresponding collection doesn't have a comparator.
    
    jQuery UI sortable must be enqueued for sorting to work.
    
    see #21390, #21809.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 3, 2012
  8. Update underscore.js to version 1.4.1. fixes #22081, see #22026.

    git-svn-id: http://core.svn.wordpress.org/trunk@22100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 3, 2012
Commits on Oct 2, 2012
  1. Refine button styles, notably the gray buttons.

    * Crisper edges, fewer outer shadows.
    * Higher contrast borders on the gray buttons.
    * Separates `button-large` from `button-primary`, and removes the `regular` override class.
    
    props hugobaeta, helenyhou, lessbloat. see #21598.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Oct 2, 2012
  2. Don't declare the argument as optional for WP_Image_Editor_Imagick::s…

    …upports_mime_type(), avoiding an error with inheritance. props SergeyBiryukov, fixes #22073.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 2, 2012
Commits on Oct 1, 2012
  1. POT, generated from r22096

    git-svn-id: http://core.svn.wordpress.org/trunk@22097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Bot (Translations) committed Oct 1, 2012
  2. Twenty Twelve: fix typo in theme description, props obenland. Fixes #…

    …22066.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Oct 1, 2012
  3. Do not modify the post object in get_adjacent_post_rel_link(). Prior …

    …to 3.5 this could have poisioned the post's cache. props mdawaffe, fixes #22072.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Oct 1, 2012
  4. Introduce WP_Image_Editor, WP_Image_Editor_Imagick, and WP_Image_Edit…

    …or_GD. Abstracts image editing API and adds support for ImageMagick.
    
    Props DH-Shredder, kurtpayne, markoheijnen
    see #6821
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 1, 2012
  5. Respect ssl for the image src link in edit_form_image_editor(). see #…

    …21391
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 1, 2012
  6. * Register blog-id-cache group as global

    * Introduce clean_blog_cache() so we can run it independently of refresh_blog_details() which assumes the blog still exists and get_blog_details() can be called.
    * Don't db escape cache keys in get_blog_id_from_url()
    * prepare() the query in get_blog_id_from_url()
    * Return 0 for all failures in get_blog_id_from_url()
    * clean_blog_cache() after dropping tables in wpmu_delete_blog() to make sure the cache is for real cleaned.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Oct 1, 2012