Aaron Jorbin
26563868af
When upgrading WordPress remove genericons example.html files
...
[32385] for 4.1 branch
Props @dd32, @boonebgorges, @johnjamesjacoby, @drewapicture, @jorbin
Built from https://develop.svn.wordpress.org/branches/4.1@32401
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:58:22 +00:00
Michael Adams
bb96e5b686
WPDB: When checking that a string can be sent to MySQL, we shouldn't use `mb_convert_encoding()`, as it behaves differently to MySQL's character encoding conversion.
...
Merge of [32364] to the 4.1 branch.
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.
See #32165 .
Built from https://develop.svn.wordpress.org/branches/4.1@32387
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:07:25 +00:00
Gary Pendergast
9037f65f7a
4.1: When upgrading, remove any suspicious comments.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32312
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 17:13:24 +00:00
Helen Hou-Sandí
5f82891015
The 4.1 branch is now 4.1.3.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32281
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 19:57:25 +00:00
Gary Pendergast
40fd7427e5
4.1: Update about.php.
...
Built from https://develop.svn.wordpress.org/branches/4.1@32220
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:41:23 +00:00
Gary Pendergast
9d3a4d67c2
Ensure post titles are correctly escaped on the Dashboard. Merge of [32175] to the 4.1 branch.
...
Props helen, ocean90, dd32, pento.
Built from https://develop.svn.wordpress.org/branches/4.1@32176
git-svn-id: http://core.svn.wordpress.org/branches/4.1@32151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 07:42:23 +00:00
Dion Hulse
ae731c8312
Upgrades: Specifically pass the 'version' and 'locale' POST vars through the Core Update FTP credentials form.
...
This bug was introduced with [30384] / #30245 .
Merges [31527] to the 4.1 branch.
Fixes #31378 .
Built from https://develop.svn.wordpress.org/branches/4.1@31528
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-24 03:24:25 +00:00
Andrew Nacin
67990a8e87
Remove errant string.
...
Built from https://develop.svn.wordpress.org/branches/4.1@31475
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 21:46:22 +00:00
Dominik Schilling
49ec4553c3
About: Add changelog for 4.1.1.
...
Built from https://develop.svn.wordpress.org/branches/4.1@31474
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-18 20:25:23 +00:00
Dion Hulse
0c28c25442
Revert [31080] from the 4.1 branch and replace it with a small function in an already changed file.
...
By doing this, we avoid shipping 400KB of changed CSS for such a minor css addition.
See https://build.trac.wordpress.org/changeset/31061 for the full size of [31080] in build.
See #30895 .
Built from https://develop.svn.wordpress.org/branches/4.1@31435
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 05:37:22 +00:00
Dion Hulse
f7eb6f17e3
Move the (recently added) `.notice` admin notices below the first H2, same as the `.updated` and `.error` notices.
...
Props sippis.
Merges [31023] to the 4.1 branch.
Fixes #30885 .
Built from https://develop.svn.wordpress.org/branches/4.1@31434
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 05:21:22 +00:00
Dion Hulse
281b8022e1
Prevent IE9 and lower displaying the download file dialogue when attempting
...
to upload using the `html4` Plupload handler.
The HTML4 Plupload handler uses a hidden iframe to POST the upload form, and
unfortunately Internet Explorer 9 doesn't support the `application/json`
content-type which `wp_send_json_success()` and requires `text/html` instead.
This partially reverts [30354], keeping the better error messages.
Merges [31429] to the 4.1 branch.
Fixes #31037 .
Built from https://develop.svn.wordpress.org/branches/4.1@31430
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-12 01:33:24 +00:00
Dion Hulse
14fb3b11d6
Customizer: Improve IE 8 compatibility.
...
* Use square bracket notation for `default` keywords.
* Use Underscores `indexOf` for arrays.
Props westonruter, ocean90.
Merges [30991] to the 4.1 branch.
Fixes #30781 .
Built from https://develop.svn.wordpress.org/branches/4.1@31397
git-svn-id: http://core.svn.wordpress.org/branches/4.1@31378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 01:41:24 +00:00
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
Drew Jaynes
cc4ac906dc
Fix a typo in the return description for `get_sample_permalink()`.
...
Props TobiasBg.
Fixes #30591 .
Built from https://develop.svn.wordpress.org/trunk@30755
git-svn-id: http://core.svn.wordpress.org/trunk@30745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 21:46:23 +00:00
John Blackbourn
bdd00b3902
Improve various hook and filter docs so they are correctly parsed for the code reference.
...
Fixes #30558
Props DrewAPicture
Built from https://develop.svn.wordpress.org/trunk@30754
git-svn-id: http://core.svn.wordpress.org/trunk@30744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 21:32:24 +00:00
Drew Jaynes
23707b1ada
Convert various uses of `(optional)` in core parameter descriptions to use the style prescribed in the inline documentation standards for PHP.
...
The style for marking parameters optional in inline PHP docs is: `@param type $var Optional. Description. Accepts. Default.`, where Accepts can be omitted on a case-by-case basis.
Props coffee2code.
Fixes #30591 .
Built from https://develop.svn.wordpress.org/trunk@30753
git-svn-id: http://core.svn.wordpress.org/trunk@30743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 21:24:45 +00:00
Andrew Ozz
79eb593440
Editor DFW v2: fade out the Screen Options/Help tabs when open. Props avryl, fixes #30593 .
...
Built from https://develop.svn.wordpress.org/trunk@30749
git-svn-id: http://core.svn.wordpress.org/trunk@30739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 00:50:22 +00:00
Andrew Ozz
3826c2de6a
Themes screen: fix the position of the search field. Props jesin, fixes #29556 .
...
Built from https://develop.svn.wordpress.org/trunk@30747
git-svn-id: http://core.svn.wordpress.org/trunk@30737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-06 00:13:23 +00:00
Andrew Ozz
0a199ff4a8
Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592 .
...
Built from https://develop.svn.wordpress.org/trunk@30743
git-svn-id: http://core.svn.wordpress.org/trunk@30733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-05 01:53:22 +00:00
Andrew Nacin
1cf7a49ffd
Adjust [29806] and revert [29807] to restore placeholder and email copy order.
...
Avoids unnecessarily changing a (large, carefully formatted) translated string from 4.0.
fixes #21089 .
Built from https://develop.svn.wordpress.org/trunk@30742
git-svn-id: http://core.svn.wordpress.org/trunk@30732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-05 01:15:26 +00:00
Helen Hou-Sandí
f5efcf295b
Filter bar: Better field display on smaller screens.
...
props TacoVerdo, jesin.
fixes #29556 and #29495 .
Built from https://develop.svn.wordpress.org/trunk@30740
git-svn-id: http://core.svn.wordpress.org/trunk@30730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 22:23:25 +00:00
John Blackbourn
543f408098
Correct the default value of the `show_split_view` argument for revisions so they are correctly displayed side by side ins
...
tead of inline.
Fixes #24908
Built from https://develop.svn.wordpress.org/trunk@30739
git-svn-id: http://core.svn.wordpress.org/trunk@30729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 14:36:24 +00:00
Scott Taylor
097e4ede58
Add some inline JS docs for Customizer.
...
See #30469 .
Built from https://develop.svn.wordpress.org/trunk@30738
git-svn-id: http://core.svn.wordpress.org/trunk@30728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 02:04:22 +00:00
Scott Taylor
82188f74aa
Show title, album, and artist info for audio files displayed in `WP_Customize_Upload_Control()`.
...
See #21483 .
Built from https://develop.svn.wordpress.org/trunk@30737
git-svn-id: http://core.svn.wordpress.org/trunk@30727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 01:59:22 +00:00
Andrew Ozz
1bb20da03b
Update better description of the Screen Options checkbox for DFW v2 and editor-expand. Props johnbillion, kpdesign, fixes #30557 .
...
Built from https://develop.svn.wordpress.org/trunk@30734
git-svn-id: http://core.svn.wordpress.org/trunk@30724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 22:00:29 +00:00
Andrew Ozz
5299e95360
Editor show the DFW v2 pointer for users that have disabled the visual editor. Fixes #30458 .
...
Built from https://develop.svn.wordpress.org/trunk@30730
git-svn-id: http://core.svn.wordpress.org/trunk@30720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 18:18:23 +00:00
Drew Jaynes
8df7115760
Use the correct hash notation syntax for the `WP_Filesystem_Base::dirlist()` DocBlock.
...
See #28298 .
Built from https://develop.svn.wordpress.org/trunk@30722
git-svn-id: http://core.svn.wordpress.org/trunk@30712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-03 10:11:22 +00:00
Andrew Ozz
04c2e80c03
Update the description of the Screen Options checkbox for turning editor-expand on/off to include DFW v2. Props kpdesign, fixes #30557 .
...
Built from https://develop.svn.wordpress.org/trunk@30718
git-svn-id: http://core.svn.wordpress.org/trunk@30708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 23:23:23 +00:00
Andrew Ozz
71d0c1c977
Update the DFW v2 pointer text. Props kpdesign, DrewAPicture, johnbillion. Fixes #30458 .
...
Built from https://develop.svn.wordpress.org/trunk@30717
git-svn-id: http://core.svn.wordpress.org/trunk@30707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 23:11:24 +00:00
Dominik Schilling
858a51273a
Customizer: Move private helper functions to `wp.customize.utils` so they can be unit tested.
...
Includes unit tests.
props ryankienstra, westonruter.
see #28709 .
Built from https://develop.svn.wordpress.org/trunk@30716
git-svn-id: http://core.svn.wordpress.org/trunk@30706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 22:56:45 +00:00
Dominik Schilling
0826f8ede2
Customizer: Add panel/section type as CSS class to the HTML container.
...
see #28709 .
Built from https://develop.svn.wordpress.org/trunk@30714
git-svn-id: http://core.svn.wordpress.org/trunk@30704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 22:16:23 +00:00
Dominik Schilling
3db8b08686
Customizer: Enhance Background Image/Upload controls.
...
* Adopt the Header Image layout to the Background Image/Upload control.
* Remove templates for interactive audio/video previews. They haven't worked yet.
* Don't show a "Remove" button when the default value is set.
* Avoid calculating of container/placeholder heights which are unrelated to custom headers.
see #21483 .
Built from https://develop.svn.wordpress.org/trunk@30712
git-svn-id: http://core.svn.wordpress.org/trunk@30702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 21:55:23 +00:00
Andrew Ozz
f1dcfa9712
Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568 .
...
Built from https://develop.svn.wordpress.org/trunk@30711
git-svn-id: http://core.svn.wordpress.org/trunk@30701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 20:40:22 +00:00
Andrew Ozz
ab2c480d86
Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on `#wp-toolbar`. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications.
...
Props joemcgill, see #30516 .
Built from https://develop.svn.wordpress.org/trunk@30710
git-svn-id: http://core.svn.wordpress.org/trunk@30700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 20:25:24 +00:00
John Blackbourn
d58c44dc00
Apply a no-op CSS transformation to the admin toolbar (among other elements) in order to trigger hardware acceleration when focus/DFW deactivates. This helps prevent rendering issues seen in browsers on Retina devices.
...
See #30516
Props joemcgill
Built from https://develop.svn.wordpress.org/trunk@30708
git-svn-id: http://core.svn.wordpress.org/trunk@30698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 14:18:27 +00:00
John Blackbourn
e96e165c3a
Prevent scrolling beneath modals on mobile devices by removing overflow from `#wpwrap` when a modal is open.
...
Fixes #29909
Props avryl
Built from https://develop.svn.wordpress.org/trunk@30707
git-svn-id: http://core.svn.wordpress.org/trunk@30697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 08:09:25 +00:00
John Blackbourn
9b9424aa77
Admin help text changes for the General Settings screen, post editing screen, network settings screen, and user editing screen.
...
Fixes #30547
Props kpdesign
Built from https://develop.svn.wordpress.org/trunk@30705
git-svn-id: http://core.svn.wordpress.org/trunk@30695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 05:15:23 +00:00
Drew Jaynes
c4b9da857a
Using let's properly in inline comments lets us move on to more pressing matters of inline documentation.
...
Props trepmal.
Fixes #30570 .
Built from https://develop.svn.wordpress.org/trunk@30703
git-svn-id: http://core.svn.wordpress.org/trunk@30693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 04:43:22 +00:00
John Blackbourn
6f3414ea67
Correct the width of the background vignette in the plugin info modal.
...
Fixes #28229
Built from https://develop.svn.wordpress.org/trunk@30700
git-svn-id: http://core.svn.wordpress.org/trunk@30690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 03:19:22 +00:00
Helen Hou-Sandí
cb5c43df83
Don't over-target buttons in the publish meta box.
...
This selector caused breakage for any custom buttons added.
props ericlewis.
fixes #30035 .
Built from https://develop.svn.wordpress.org/trunk@30698
git-svn-id: http://core.svn.wordpress.org/trunk@30688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 02:35:28 +00:00
John Blackbourn
6fcf4ed3c5
Prevent the deletion of a theme while it has an active child theme.
...
Fixes #29580
Props karpstrucking, jesin
Built from https://develop.svn.wordpress.org/trunk@30697
git-svn-id: http://core.svn.wordpress.org/trunk@30687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 02:21:24 +00:00
Drew Jaynes
ad297dab6d
Correctly capitalize JavaScript throughout core docs.
...
Fixes #30569 .
Built from https://develop.svn.wordpress.org/trunk@30695
git-svn-id: http://core.svn.wordpress.org/trunk@30685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 00:31:22 +00:00
Andrew Ozz
16e54ae8c0
Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter).
...
Fixes #30539 .
Built from https://develop.svn.wordpress.org/trunk@30693
git-svn-id: http://core.svn.wordpress.org/trunk@30683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 22:53:24 +00:00
Scott Taylor
37a23b2c73
Improve various `@param` docs.
...
See #30224 .
Built from https://develop.svn.wordpress.org/trunk@30682
git-svn-id: http://core.svn.wordpress.org/trunk@30672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 02:17:21 +00:00
Scott Taylor
2c32752abd
Improve various `@param` docs for `src/wp-admin/*`.
...
See #30224 .
Built from https://develop.svn.wordpress.org/trunk@30680
git-svn-id: http://core.svn.wordpress.org/trunk@30670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 01:00:22 +00:00
Scott Taylor
65ab522a51
Improve various `@param` docs for List Tables.
...
See #30224 .
Built from https://develop.svn.wordpress.org/trunk@30679
git-svn-id: http://core.svn.wordpress.org/trunk@30669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 00:33:23 +00:00
Scott Taylor
da4c39480f
Improve various `@param` docs for `src/wp-admin/includes/class-wp-filesystem-*.php`.
...
See #30224 .
Built from https://develop.svn.wordpress.org/trunk@30678
git-svn-id: http://core.svn.wordpress.org/trunk@30668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 00:13:22 +00:00
Scott Taylor
67417897ec
Improve the `@param` docs for `src/wp-admin/includes/plugin.php`.
...
See #30224 .
Built from https://develop.svn.wordpress.org/trunk@30668
git-svn-id: http://core.svn.wordpress.org/trunk@30658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-30 22:23:23 +00:00
Scott Taylor
562ddb8316
Use `sanitize_mime_type()` instead of `urlencode()` when string-building `<option>` values in `->get_views()` for media list tables.
...
`urlencode()` was introduced in [28553] via _duck and yours truly.
Got weirder after [29625].
Props birgire.
Fixes #30123 .
Built from https://develop.svn.wordpress.org/trunk@30661
git-svn-id: http://core.svn.wordpress.org/trunk@30651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-30 20:23:23 +00:00
Scott Taylor
9ea224b78f
The menu items for `users.php` and `profile.php` that require the `promote_users` cap should be wrapped in an `is_multisite()` conditional a la `user-new.php`.
...
Props SergeyBiryukov.
Fixes #30526 .
Built from https://develop.svn.wordpress.org/trunk@30659
git-svn-id: http://core.svn.wordpress.org/trunk@30649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-30 19:18:23 +00:00