Dion Hulse
cee0dfd66f
Updates: Display plugin update rows even for plugins which are not hosted by WordPress.org or the HTTP request times out on.
...
See #29583 .
Merges [31382] to the 4.1 branch.
Fixes #30767 .
Built from https://develop.svn.wordpress.org/branches/4.1@31383
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 06:35:22 +00:00
Dion Hulse
ab103b5bf9
Default `$parent` in `category_exists()` should default to null rather than 0.
...
[29863] made the corresponding change in `term_exists()`. Failure to change the
default value in `category_exists()` meant that an unspecified value for
`$parent` would limit results to top-level categories.
Includes unit tests and corrected function documentation.
Props hissy.
Merges [31140] to the 4.1 branch.
Fixes #30975 .
Built from https://develop.svn.wordpress.org/branches/4.1@31376
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 02:22:23 +00:00
Aaron Jorbin
18d810cf14
TinyMCE: Remove dashicon-no-alt.png, unused since [30694].
...
merges [31073] to 4.1 branch.
props kpdesign, MattyRob.
fixes #30791 .
Built from https://develop.svn.wordpress.org/branches/4.1@31088
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 06:27:22 +00:00
Aaron Jorbin
fa81716df2
Themes: Fix position of admin notice with .notice class.
...
merges [31054] to the 4.1 branch
props SergeyBiryukov
fixes #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31080
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 05:54:23 +00:00
Aaron Jorbin
9c1e85d376
Set the type attribute of the buttons for logging out of all sessions to buttons
...
By not setting this attribute, the buttons default to submit and as the first
submit button on the page, it causes pressing the enter key to log you out of
all sessions. This change restores the pre 4.1 behavior where pressing enter
while focused on a form field submits the form.
merges [31010] to the 4.1 branch
props ocean90
fixes #30871
Built from https://develop.svn.wordpress.org/branches/4.1@31076
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-08 04:42:26 +00:00
Andrew Nacin
9917bc6ea3
Cache-bust CDN URLs, as the images have been optimized.
...
Built from https://develop.svn.wordpress.org/branches/4.1@30973
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:15:21 +00:00
Andrew Nacin
4c59429498
About page: CDN images.
...
Merges [30971] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@30972
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-18 18:01:25 +00:00
Andrew Nacin
6ace544904
About page RTL fixes.
...
Merges [30951] and [30952] to the 4.1 branch.
props helen, alex-ye.
fixes #30743 , #30748 .
Built from https://develop.svn.wordpress.org/branches/4.1@30957
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:31:23 +00:00
John Blackbourn
2fba9b2f63
About: Fix the WordPress badge.
...
`css-clean` (minifies our CSS) has an issue when using multiple backgrounds and background position together. Instead of relying on browser support for multiple backgrounds to display the WP logo as SVG, use the `.svg` CSS class.
Merges [30946] to the 4.1 branch.
Fixes #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30949
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:28:22 +00:00
John Blackbourn
3f08968a01
Pass locale to wordpress.org theme/plugin API.
...
In the future this will be used to return localized plugin/theme info.
Merges [30944] to the 4.1 branch.
See #30735 .
Built from https://develop.svn.wordpress.org/branches/4.1@30948
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 23:24:23 +00:00
John Blackbourn
de9f42c952
Editor, new DFW: fix fading out for the right sidebar in IE.
...
Merges [30853] to the 4.1 branch.
Fixes #30714 .
Built from https://develop.svn.wordpress.org/branches/4.1@30942
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:31:21 +00:00
Sergey Biryukov
608ed06fc8
No need for wp_get_password_hint() to be prefixed as if it is private.
...
Merges [30855] to the 4.1 branch.
props nacin.
see #21243 .
Built from https://develop.svn.wordpress.org/branches/4.1@30940
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:19:22 +00:00
Andrew Nacin
84b9ec9070
Customizer: Add `_wp_attachment_is_custom_background` meta to uploaded background images.
...
Merges [30885] to the 4.1 branch.
props ocean90.
fixes #30707 .
Built from https://develop.svn.wordpress.org/branches/4.1@30931
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:29:22 +00:00
Andrew Nacin
2b12434ad9
Last about page string. Merges [30929] to the 4.1 branch.
...
props celloexpressions.
fixes #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30930
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:28:24 +00:00
John Blackbourn
9d8bc7aa6f
Make the DFW paragraph on the About page narrower to mitigate an orphan in Firefox.
...
Merges [30921] to the 4.1 branch.
See #30435
Props melchoyce
Built from https://develop.svn.wordpress.org/branches/4.1@30922
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 20:03:23 +00:00
John Blackbourn
1b4e81a614
Background Updates: Pass back whether Group Writable support is being leveraged for an update to the WordPress.org API.
...
Merges [30860] to the 4.1 branch.
See #30245
Built from https://develop.svn.wordpress.org/branches/4.1@30920
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:54:23 +00:00
John Blackbourn
7cc8dd8985
Improve the fix for menu shakiness when over-scrolling. Recalculate heights on editor auto-resize.
...
Merges [30852] to the 4.1 branch.
See #30692 .
Built from https://develop.svn.wordpress.org/branches/4.1@30918
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:43:22 +00:00
John Blackbourn
7736e255fc
Fix menu shakiness when over-scrolling in Chrome and Safari on MacOS.
...
Merges [30844] to the 4.1 branch.
See #30692 .
Built from https://develop.svn.wordpress.org/branches/4.1@30917
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:42:23 +00:00
John Blackbourn
2c5c4f0567
Customizer: Import missing `wp.customize.Control.prototype._toggleActive`.
...
Check also if `completeCallback` is set before calling it.
Merges [30871] to the 4.1 branch.
Props westonruter.
See #30701 .
Built from https://develop.svn.wordpress.org/branches/4.1@30916
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:36:22 +00:00
John Blackbourn
3f71a916fa
Customizer: Remove date filter from the Header/Background Image upload frames.
...
Adds an option to `wp.media.view.AttachmentsBrowser` to hide the date filter added in [29813].
Merges [30872] to the 4.1 branch.
See #30689 .
Built from https://develop.svn.wordpress.org/branches/4.1@30915
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 19:21:22 +00:00
John Blackbourn
b7cb613504
Customizer: Re-add the possibility to remove and restore a default background image.
...
Merges [30849] to the 4.1 branch.
Fixes #30683
Built from https://develop.svn.wordpress.org/branches/4.1@30911
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 17:10:22 +00:00
John Blackbourn
46ff132197
iOS: do not autofocus the readonly textarea with the code for wp-config.php in setup-config.php.
...
Merges [30843] to the 4.1 branch.
Fixes #30703 .
Built from https://develop.svn.wordpress.org/branches/4.1@30909
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:53:21 +00:00
John Blackbourn
7dd30dce0a
Do not autofocus text fields on page load on mobile devices. This is currently broken in many mobile browsers:
...
- iOS Safari opens the keyboard and auto-scrolls on the first tap anywhere on the screen triggering the click at an unexpected place. That makes it impossible to follow links or press buttons.
- Chrome on iOS opens the keyboard on load and may scroll the focused field off screen.
- The Android 4.4 browser only highlights the field, the user has to tap it to open the keyboard and type.
Merges [30842] to the 4.1 branch.
See #30703 .
Built from https://develop.svn.wordpress.org/branches/4.1@30908
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 15:52:23 +00:00
John Blackbourn
a4b0effcb6
Move a `<code>` tag out of a localised string on the About page.
...
Merges [30903] to the 4.1 branch.
Props pavelevap
See #30435
Built from https://develop.svn.wordpress.org/branches/4.1@30904
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 14:06:22 +00:00
John Blackbourn
3a78c06619
Autoprefixer for [30857].
...
Merges [30884] to the 4.1 branch.
See #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30902
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:43:22 +00:00
John Blackbourn
bc2b5e6574
Update/add plugin recommendation strings.
...
Update [30887], add a translation function to the Vine string.
Merges [30889] to the 4.1 branch.
Fixes #30337 .
Built from https://develop.svn.wordpress.org/branches/4.1@30898
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:21:22 +00:00
John Blackbourn
337444a837
Updates to the 'Log out everywhere' implementation.
...
* Include a message and a disabled button when you're only logged in at one location.
* Avoid leaking the session token in HTML.
* Simplify, simplify, simplify.
Merges [30888] to the 4.1 branch.
Fixes #30264 .
Built from https://develop.svn.wordpress.org/branches/4.1@30895
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:53:24 +00:00
John Blackbourn
dcf43205a0
Finalize two more about page strings.
...
Merges [30887] to the 4.1 branch.
See #30435
Built from https://develop.svn.wordpress.org/branches/4.1@30894
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:30:21 +00:00
John Blackbourn
20321d7cd9
Call it 'Distraction-free writing mode' and update the help string.
...
Merges [30890] to the 4.1 branch.
Fixes #30657 .
Built from https://develop.svn.wordpress.org/branches/4.1@30892
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:15:24 +00:00
John Blackbourn
45c28a1e96
Correct the height of the search type `select` element when searching the plugin directory.
...
Merges [30879] to the 4.1 branch.
Fixes #30719
Props pavelevap, eliorivero
Built from https://develop.svn.wordpress.org/branches/4.1@30880
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:34:24 +00:00
John Blackbourn
8e7db5e875
Fix search box position on the Add Plugins screen after resizing the window to narrower than 1000px and then back to wider than 1200px.
...
Merges [30830] to the 4.1 branch.
Fixes #30658 .
Built from https://develop.svn.wordpress.org/branches/4.1@30878
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 22:31:28 +00:00
John Blackbourn
296a23c662
Rename _wp_clear_update_cache() to wp_clean_update_cache().
...
This makes it match most cache-clearing functions, including the ones it wraps. Also no need for it to be prefixed as "private."
wp_clean_plugins_cache() doesn't always exist, so as a quick fix, clear the transient we care to clear.
Merges [30856] to the 4.1 branch.
Fixes #30369 .
Built from https://develop.svn.wordpress.org/branches/4.1@30870
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 19:35:23 +00:00
Andrew Nacin
5d800b2ea7
About page design for 4.1.
...
Merges [30857] to the 4.1 branch.
props melchoyce and ryelle, who again outdid themselves.
see #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30859
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 10:51:24 +00:00
Andrew Nacin
5b0729aa10
About page updates.
...
* Live-update the number of active translations.
* Finalize most strings.
* Lazily remove links to admin-only screens based on cap checks.
Merges [30840] and [30841] to the 4.1 branch.
see #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30858
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 10:50:25 +00:00
John Blackbourn
5a40287f23
Revisions: Fix initial state of `compareTwoMode`.
...
Merges [30831] to the 4.1 branch.
Fixes #30672 .
Built from https://develop.svn.wordpress.org/branches/4.1@30851
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 20:22:23 +00:00
John Blackbourn
bb16b3b284
Improve text for the DFW admin pointer. Remove the concatenation.
...
Props kpdesign, ianmjones.
Merges [30837] to the 4.1 branch.
See #30671 .
Built from https://develop.svn.wordpress.org/branches/4.1@30850
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 19:59:22 +00:00
Andrew Nacin
7918030a9c
About page text, first pass.
...
Merges [30821] to the 4.1 branch.
props johnbillion, helen, markjaquith, nacin.
see #30435 .
Built from https://develop.svn.wordpress.org/branches/4.1@30822
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:16:43 +00:00
Andrew Nacin
1db4d4e970
Editor focus: Don't trigger when typing while the mouse is outside the editor.
...
Merges [30817] to the 4.1 branch.
props avryl.
fixes #20668 .
Built from https://develop.svn.wordpress.org/branches/4.1@30818
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:35:22 +00:00
Andrew Nacin
96b5fdcc2d
Fix the search field width in the media modal, media library grid and on the install new plugins screen.
...
Merges [30813] to the 4.1 branch.
props helen.
fixes #30658 .
Built from https://develop.svn.wordpress.org/branches/4.1@30816
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:32:44 +00:00
Gary Pendergast
3b5c56dda4
WPDB: In [30345,30346,30366,30375], we added sanity checks for saving posts containing emoji. We need to revert these checks for now, as they're not ready for release in 4.1.
...
See #21212 .
Built from https://develop.svn.wordpress.org/branches/4.1@30807
git-svn-id: http://core.svn.wordpress.org/branches/4.1@30797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 22:58:28 +00:00
Dominik Schilling
18349e84cf
Remove a stray $ from [30793].
...
props ipm-frommen.
see #30553 .
Built from https://develop.svn.wordpress.org/trunk@30794
git-svn-id: http://core.svn.wordpress.org/trunk@30784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 11:27:22 +00:00
Dominik Schilling
332e0a7f82
Themes: Use Customizer deep-links inside the theme modal.
...
props DrewAPicture, ocean90.
see #25569 , #25571 .
fixes #30553 .
Built from https://develop.svn.wordpress.org/trunk@30793
git-svn-id: http://core.svn.wordpress.org/trunk@30783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 22:23:23 +00:00
Sergey Biryukov
0ef8e683f2
Revert [28948], which caused a regression.
...
see #29573 for trunk. see #28350 .
Built from https://develop.svn.wordpress.org/trunk@30791
git-svn-id: http://core.svn.wordpress.org/trunk@30781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 21:14:23 +00:00
Andrew Ozz
a445806c6f
Plugins: move the recommender results to a separate tab. Any outstanding quality issues will be fixed on the API side without needing core changes. Props tellyworth, fixes #30337 .
...
Built from https://develop.svn.wordpress.org/trunk@30782
git-svn-id: http://core.svn.wordpress.org/trunk@30772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 23:40:24 +00:00
Drew Jaynes
ced94748fa
Tweak formatting in the DocBlock for the `install_themes_tabs` hook.
...
Props kpdesign.
See #28578 .
Built from https://develop.svn.wordpress.org/trunk@30772
git-svn-id: http://core.svn.wordpress.org/trunk@30762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 18:41:21 +00:00
Andrew Ozz
ef0501e1bc
Better docs for `Plugin_Upgrader::deactivate_plugin_before_upgrade()`. Props DrewAPicture. Fixes #29088 .
...
Built from https://develop.svn.wordpress.org/trunk@30762
git-svn-id: http://core.svn.wordpress.org/trunk@30752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 01:19:24 +00:00
Andrew Ozz
1bb4b6a82b
Always return a value in `Plugin_Upgrader::deactivate_plugin_before_upgrade()`. Props jdgrimes. Fixes #29088 .
...
Built from https://develop.svn.wordpress.org/trunk@30761
git-svn-id: http://core.svn.wordpress.org/trunk@30751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 00:53:23 +00:00
Andrew Ozz
53d22ffb10
Customizer - Widgets: add feedback for screen readers when moving up or down. Props adamsilverstein, afercia. Fixes #28892 .
...
Built from https://develop.svn.wordpress.org/trunk@30760
git-svn-id: http://core.svn.wordpress.org/trunk@30750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 00:45:24 +00:00
Drew Jaynes
473ebca2af
Add missing DocBlocks and parameter descriptions for a wide variety of properties and methods in `WP_Upgrader`, `Plugin_Upgrader`, `Theme_Upgrader`, `Language_Pack_Upgrader`, `Core_Upgrader`, and `File_upload_Upgrader`.
...
Props jdgrimes, DrewAPicture.
See #29086 .
Built from https://develop.svn.wordpress.org/trunk@30758
git-svn-id: http://core.svn.wordpress.org/trunk@30748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 00:26:22 +00:00
Drew Jaynes
bb27a3c53a
Add a blank line preceding a Markdown-formatted ordered list in the DocBlock for the `admin_body_class` filter.
...
Props kpdesign.
See #30558 .
Built from https://develop.svn.wordpress.org/trunk@30756
git-svn-id: http://core.svn.wordpress.org/trunk@30746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 23:21:24 +00:00