Permalink
Switch branches/tags
Commits on Jun 14, 2018
  1. Privacy: Only link to menus panel in Customizer if selected privacy p…

    westonruter committed Jun 14, 2018
    …age can be accessed there.
    
    Props dlh.
    Fixes #44117.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@43343 602fd350-edb4-49c9-b593-d223f7449a82
Commits on May 11, 2018
  1. Customize: Hide expansion arrows in Customizer's available widgets list.

    westonruter committed May 11, 2018
    Fixes regression introduced by [42794].
    
    Props dlh.
    See #40677.
    Fixes #43983.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@43244 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Jan 30, 2018
  1. Widgets: Fix Text widget unit test which broke due to global scope no…

    westonruter committed Jan 30, 2018
    …t being cleaned.
    
    Amends [42613].
    See #42495.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42617 602fd350-edb4-49c9-b593-d223f7449a82
  2. Customize: Ensure `customize_autosaved` requests only use revision of…

    westonruter committed Jan 30, 2018
    … logged-in user.
    
    Props dlh, westonruter.
    See #42433, #39896.
    Fixes #42450.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42615 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Jan 29, 2018
  1. Customize: Ensure media playlists get initialized after selective ref…

    westonruter committed Jan 29, 2018
    …resh; expose new `wp.playlist.initialize()` API.
    
    In particular allows audio and video playlists to be added to the Text widget and previewed.
    
    Props bpayton, westonruter.
    See #40854.
    Fixes #42495.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42613 602fd350-edb4-49c9-b593-d223f7449a82
  2. Customize: Ensure heartbeat keeps changeset locked when in branching …

    westonruter committed Jan 29, 2018
    …mode.
    
    Props dlh.
    See #42024.
    Fixes #42658.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42612 602fd350-edb4-49c9-b593-d223f7449a82
  3. Customize: Include nav menu item for Home custom link in search resul…

    westonruter committed Jan 29, 2018
    …ts for "Home".
    
    Props audrasjb, westonruter.
    Fixes #42991.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42611 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Jan 22, 2018
  1. Widgets: Ensure media is explicitly enqueued from Text widget in case…

    westonruter committed Jan 22, 2018
    … Media widgets are unregistered.
    
    Amends [41344].
    See #40854.
    Fixes #43125.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42545 602fd350-edb4-49c9-b593-d223f7449a82
  2. Customize: Let default status for Customizer be `draft` if user does …

    westonruter committed Jan 22, 2018
    …not have capability to `publish`.
    
    Amends [41626].
    Props sayedwp, westonruter.
    See #30937.
    Fixes #42686.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42543 602fd350-edb4-49c9-b593-d223f7449a82
  3. Customize: Prevent frontend previewing from causing a customization l…

    westonruter committed Jan 22, 2018
    …ock on the changeset.
    
    Props dlh.
    Amends [41839].
    See #42024.
    Fixes #42975.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42541 602fd350-edb4-49c9-b593-d223f7449a82
  4. Customize: Use changeset-specific "locked" messages when branching is…

    westonruter committed Jan 22, 2018
    … enabled.
    
    Props dlh.
    See #39896.
    Fixes #42655.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42538 602fd350-edb4-49c9-b593-d223f7449a82
  5. Customize: Prevent showing SFTP theme installation notification in mu…

    westonruter committed Jan 22, 2018
    …ltisite when user cannot install themes.
    
    Props flixos90.
    See #37661, #42184.
    Fixes #42674.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42536 602fd350-edb4-49c9-b593-d223f7449a82
  6. Widgets: Allow relative/partial URLs in Image Widget's link field.

    westonruter committed Jan 22, 2018
    Props audrasjb.
    Amends [41252].
    See #41274.
    Fixes #42740.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42533 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Jan 21, 2018
  1. Code Editor: Disable `attr-value-double-quotes` HTMLHint rule since t…

    westonruter committed Jan 21, 2018
    …oo strict for user input.
    
    Using single-quoted attribute values is not in any way invalid HTML.
    
    Amends [41376].
    Props sasiddiqui.
    See #12423.
    Fixes #42802.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42531 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Jan 17, 2018
  1. Widgets: Prevent `checkValidity` from running on a form when widget i…

    westonruter committed Jan 17, 2018
    …s first adding to sidebar.
    
    Amends [41352].
    See #23120.
    Fixes #43003 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42521 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Dec 13, 2017
  1. Editor: Fix determining TinyMCE editor width when in inline mode inst…

    westonruter committed Dec 13, 2017
    …ead of iframe mode.
    
    See #40854.
    Amends [41985].
    Props aduth.
    Fixes #42416 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42390 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 23, 2017
  1. Themes: Prevent JS error on Themes admin screen when only one theme i…

    westonruter committed Nov 23, 2017
    …s installed.
    
    Amends [42029].
    Props chetan200891, afercia.
    See #42348.
    Fixes #42673.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42222 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 15, 2017
  1. Editor: Re-build `tinymce.min.js` after [42191].

    westonruter committed Nov 15, 2017
    See #42553.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42193 602fd350-edb4-49c9-b593-d223f7449a82
  2. Editor: Disable `wp_keep_scroll_position` in IE11 since buggy; fix `m…

    westonruter committed Nov 15, 2017
    …atches` polyfill conflict with ME.js by doing runtime feature detection in context window.
    
    Props westonruter, SergeyBiryukov, Clorith for testing.
    See #41962, #42029.
    Fixes #42553 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42191 602fd350-edb4-49c9-b593-d223f7449a82
  3. File Editor: Eliminate gap inserted between code editor and heading i…

    westonruter committed Nov 15, 2017
    …n IE11 when CodeMirror initializes.
    
    Props afercia, melchoyce, Clorith for testing, SergeyBiryukov for testing.
    See #12423.
    Fixes #42554 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42189 602fd350-edb4-49c9-b593-d223f7449a82
  4. Customize: Prevent themes panel from auto-expanding in IE11.

    westonruter committed Nov 15, 2017
    In IE11 the `input` event erroneously gets triggered initially without any user input.
    
    Amends [41648].
    See #37661.
    Fixes #42556 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42187 602fd350-edb4-49c9-b593-d223f7449a82
  5. Widgets: Set global `$post` to current queried object instead of null…

    westonruter committed Nov 15, 2017
    …ifying when `is_singular()` while applying filters (and shortcodes) in Text widget and (via plugin) Custom HTML widget.
    
    Also prevent `[gallery]` shortcode from dumping out every attachment on the site when a containing Text widget is shown on an archive template.
    
    Props westonruter, bobbingwide, joemcgill for testing.
    See #10457.
    Fixes #42548, #42547 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42185 602fd350-edb4-49c9-b593-d223f7449a82
  6. Editor: Improve scrolling behavior and prevent autosave logic from ca…

    westonruter committed Nov 15, 2017
    …using dirty state when just switching between Visual and Text tabs.
    
    Props pento.
    See #41962, #42029.
    Fixes #42530 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42183 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 14, 2017
  1. About Page: Fix issue with overlapping images and text on IE11 and Ed…

    westonruter committed Nov 14, 2017
    …ge 15.
    
    Props Clorith, ryelle, afercia, la-geek, SergeyBiryukov.
    See #42514.
    Fixes #42545.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42181 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 13, 2017
  1. About: Fix jumping behavior for titles and columns when scrolling.

    westonruter committed Nov 13, 2017
    Props ryelle.
    See #42087.
    Fixes #42514, #42526.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42173 602fd350-edb4-49c9-b593-d223f7449a82
  2. Customize: Allow notifications for linting errors in code editor cont…

    westonruter committed Nov 13, 2017
    …rol (for Additional CSS) to be overridden to allow saving.
    
    Implements the same override that was implemented in [41721] for the theme/plugin editors.
    
    See #41897, #41887.
    Fixes #42528.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42171 602fd350-edb4-49c9-b593-d223f7449a82
  3. Customize: Prevent PHP notice on theme-switch dashboard welcome link …

    westonruter committed Nov 13, 2017
    …(and link to themes admin screen) when user cannot `customize`.
    
    Props skostadinov, ocean90.
    Amends [41699].
    See #42050.
    Fixes #42525.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42169 602fd350-edb4-49c9-b593-d223f7449a82
  4. I18N: Fix passing singular/plural strings to JS.

    westonruter committed Nov 13, 2017
    This is a temporary solution while waiting for full I18N support in JS.
    
    Props ocean90, dd32, westonruter, Mirucon for testing.
    Amends [41376], [41721], [41389],
    See #20491.
    Fixes #42510 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42163 602fd350-edb4-49c9-b593-d223f7449a82
  5. About: Add vertical alignment for developer happiness sections.

    westonruter committed Nov 13, 2017
    Also run CSS autoprefixer to add `-ms-` prefixes for CSS grid identifiers for IE11.
    
    Props Presskopp.
    Amends [42121].
    See #42087.
    Fixes #42524 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42161 602fd350-edb4-49c9-b593-d223f7449a82
  6. About: Fix grammar typo with pluralization.

    westonruter committed Nov 13, 2017
    Props metodiew, westonruter.
    Amends [42121].
    See #42087.
    Fixes #42476 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42159 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 12, 2017
  1. About: Synchronize 4.9 tagline across about pages for credits, freedo…

    westonruter committed Nov 12, 2017
    …ms, and privacy.
    
    Props dave.pullig.
    Amends [41943].
    See #42087.
    Fixes #42518 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42157 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 11, 2017
  1. Theme Editor: Fix styling of child theme notice.

    westonruter committed Nov 11, 2017
    Props westonruter, melchoyce, ndiego.
    See #24048.
    Fixes #42491 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42155 602fd350-edb4-49c9-b593-d223f7449a82
Commits on Nov 10, 2017
  1. Customize: Restore ability to add Custom Link nav menu items for jump…

    westonruter committed Nov 10, 2017
    … links and other URLs that were previously allowed.
    
    Simplify regular expression for checking URL validity to just do basic checks to confirm the value looks like a URL. Leave the complete validation to the server-side logic in `WP_Customize_Nav_Menu_Item_Setting::sanitize()` to avoid having to maintain two separate codebases for validating URLs.
    
    Props westonruter, SergeyBiryukov for testing.
    Amends [41697].
    See #32816.
    Fixes #42506 for trunk.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42153 602fd350-edb4-49c9-b593-d223f7449a82
  2. Customize: Prevent nav menu location assignment checkbox change from …

    westonruter committed Nov 10, 2017
    …increasing height by 1px.
    
    Props obenland.
    Amends [41817].
    See #42157.
    Fixes #42492.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42152 602fd350-edb4-49c9-b593-d223f7449a82
  3. Customize: Improve accuracy of message displayed when accessing Custo…

    westonruter committed Nov 10, 2017
    …mizer with a changeset that is already published or trashed.
    
    Amends [38810].
    Props dlh.
    Fixes #42497.
    
    
    git-svn-id: https://develop.svn.wordpress.org/trunk@42150 602fd350-edb4-49c9-b593-d223f7449a82