Permalink
Commits on Sep 26, 2012
  1. Don't read from the switched global. Instead use _wp_switched_stack. …

    …switched is retained for back compat and should not be directly read since it is prone to stompage by plugins. see #21459
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 26, 2012
  2. Twenty Twelve: header image should be wrapped in a link to home. Fixe…

    …s #22004.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Sep 26, 2012
  3. Media JS: Use correct reference to search term in the Attachments mod…

    …el search filter. see #21390.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Sep 26, 2012
  4. First pass on TinyMCE attachment in-editor UI.

    * Adds in-editor UI for image attachments. Most of this UI should be able to migrate to all images in a future commit.
    * Removes the wpeditimage TinyMCE plugin from the default plugins array.
    * Add `wp.media.fit`, a helper method to constrain dimensions based upon a maximum width and/or height.
    * Add html attribute parsing and string generation utilities (currently stored in mce-views).
    * Calling `remove` on a TinyMCE views now ensures that the the parent and references are removed as well.
    * Fixes a bug where we weren't sending the full array of results to matches in wp.mce.view.
    
    see #21390, #21812, #21813.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Sep 26, 2012
  5. Convert the object in the posts array to WP_Post only if the posts ar…

    …ray is not empty. Some post caching plugins can cause it to be empty. see #21309
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 26, 2012
  6. Make 'Show Avatars' a checkbox rather than a yes/no radio button. pro…

    …ps tmoorewp, fixes #20889.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 26, 2012
  7. Move win_is_writable() from wp-admin/includes to wp-includes so that …

    …it's always available for get_temp_dir(). Fixes #20778
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Sep 26, 2012
  8. Rearrange the order that we check for temporary directories in get_te…

    …mp_dir(). This change causes us to use System temporary directories in preference to WP_CONTENT_DIR, for better windows compatibility, we use win_is_writable() as well. Props simonwheatley and kurtpayne for initial patches, See #20778
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    dd32 committed Sep 26, 2012
  9. Main editor: maintain the height when switching Visual to Text and ba…

    …ck, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Andrew Ozz committed Sep 26, 2012
  10. Remove the 'Size of the post box' (default_post_edit_rows) option. Th…

    …is will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 26, 2012
  11. Add a comment to get_shortcode_regex() mentioning its near clones els…

    …ewhere. see #21996.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 26, 2012
  12. Add JavaScript methods for handling shortcodes.

    Adds `wp.shortcode`, a set of methods used for parsing shortcodes out of content. Also adds a default set of shortcode properties to `wp.mce.view`.
    
    fixes #21996, see #21812, #21813, #21815.
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    koop committed Sep 26, 2012
Commits on Sep 25, 2012
  1. Add soundcloud and slideshare to the oEmbed providers list. props bra…

    …dparbs, ericwahlforss, wonderboymusic. fixes #15734, #21635.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  2. Twenty Twelve: update comment blocks at top of each page template wit…

    …h a better explanation of use and purpose.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Sep 25, 2012
  3. Call send_origin_headers() from admin-ajax.php. Props nacin. fixes #2…

    …1024
    
    git-svn-id: http://core.svn.wordpress.org/trunk@22001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 25, 2012
  4. Add a login_body_class filter to login_header(). fixes #21133.

    git-svn-id: http://core.svn.wordpress.org/trunk@22000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  5. Move WP_Embed into its own file. props ocean90. fixes #20533.

    git-svn-id: http://core.svn.wordpress.org/trunk@21999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  6. Always attempt to embed URLs in content, removing the Auto-embeds (au…

    …toembed_urls) option.
    
    Remove the UI for setting the default width and height for embeds. Width was confusing as it
    was blank by default (inheriting the content width from the theme, or 500px). The height is
    now calculated as 1.5x the content width, or 1000px, whichever is smaller.
    
    The [embed] shortcode can still receive manual height and width attributes. This just removes
    the global settings.
    
    props wonderboymusic. see #21719.
    
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  7. Do not use time constants in files the WP bootstrap is not or may not…

    … be loaded. see #20987.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  8. Introduce constants to allow for easier expression of time periods in…

    … seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  9. Add get() and set() methods to WP_User_Query for modifying query vari…

    …ables the way you might with WP_Query. props wonderboymusic. fixes #21426.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  10. @since for some internal functions. props SergeyBiryukov, fixes #21886.

    git-svn-id: http://core.svn.wordpress.org/trunk@21994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
  11. Move sanitization for the multisite illegal_names, limited_email_doma…

    …ins, and banned_email_domains options to sanitize_option(). props wonderboymusic. fixes #21552.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 25, 2012
Commits on Sep 24, 2012
  1. Twenty Twelve: include a more verbose comment to educate themers on h…

    …ow to create specific template files for archive views, like tag.php and author.php. See #21951.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Sep 24, 2012
  2. Twenty Twelve: make submenu a bit wider to support longer words in me…

    …nu item link text. Matches Twenty Ten and Eleven. See #21964.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Sep 24, 2012
  3. Twenty Twelve: style basic HTML elements in text widgets, props DrewA…

    …Picture. Fixes #21932.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Lance Willett committed Sep 24, 2012
  4. Compress scripts/styles: 3.5-alpha-21989.

    git-svn-id: http://core.svn.wordpress.org/trunk@21989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Bot (Assets) committed Sep 24, 2012
  5. Handle pre-flighted OPTIONS requests in send_origin_headers(). Props …

    …nacin. fixes #21024
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 24, 2012
  6. Avoid wrapping for individual .subsubsub view names, rather than the …

    …entire list of views, in case there are many. props deltafactory, fixes #21985.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 24, 2012
  7. Use get_bloginfo('version', 'display') for displaying the WP version …

    …number in the admin. Can allow for filtering -- for example, showing the SVN revision. props SergeyBiryukov, see #18629.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 24, 2012
  8. Add restrict_manage_comments hook. props hardy101. fixes #21344.

    git-svn-id: http://core.svn.wordpress.org/trunk@21985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 24, 2012
  9. Auto feeds for post type archives. props mgdl, wonderboymusic. fixes …

    …#21648.
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    nacin committed Sep 24, 2012
  10. Fix bottom margin in postboxes, props SergeyBiryukov, fixes #21952

    git-svn-id: http://core.svn.wordpress.org/trunk@21983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Andrew Ozz committed Sep 24, 2012
  11. The edit-tags screen ID does not contain the post_type. Fallback to p…

    …ost_type in the REQUEST. Fixes AJAX term addtions from edit-tags.php. fixes #21871
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 24, 2012
  12. Fetch full terms for the post_category and tags_input queries and the…

    …n wp_list_pluck() the desired fields. Fetching full terms primes the cache and reduces overall queries. Add cache invalidation to wp_set_post_terms(). Props scribu. see #21309
    
    git-svn-id: http://core.svn.wordpress.org/trunk@21981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
    Ryan Boren committed Sep 24, 2012