Helen Hou-Sandí
c1bb04f410
Help tabs: Update media help text to reflect 4.0.
...
fixes #28654 .
Built from https://develop.svn.wordpress.org/trunk@29646
git-svn-id: http://core.svn.wordpress.org/trunk@29420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 06:12:15 +00:00
Helen Hou-Sandí
3fb0e3aa64
Media library: Ensure the header area is spaced consistently between view modes.
...
see #28946 .
Built from https://develop.svn.wordpress.org/trunk@29645
git-svn-id: http://core.svn.wordpress.org/trunk@29419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 05:40:16 +00:00
Helen Hou-Sandí
08d45e5006
About page, at last.
...
All strings are available for translation. We anticipate few, if any, changes before release. Images and video will be moved to w.org soon.
props ryelle, melchoyce, nacin, MarkJaquith, helen, DrewAPicture, kpdesign.
fixes #29243 .
Built from https://develop.svn.wordpress.org/trunk@29643
git-svn-id: http://core.svn.wordpress.org/trunk@29417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 04:40:15 +00:00
Andrew Nacin
30737472b0
Help tabs: Update plugin install and media help text to reflect 4.0.
...
see #28654 .
Built from https://develop.svn.wordpress.org/trunk@29642
git-svn-id: http://core.svn.wordpress.org/trunk@29416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 04:39:17 +00:00
Helen Hou-Sandí
42afb446db
Media: views_upload
filter expects an array, not a string.
...
see #28946 .
Built from https://develop.svn.wordpress.org/trunk@29641
git-svn-id: http://core.svn.wordpress.org/trunk@29415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 03:06:27 +00:00
Andrew Nacin
69204000ca
Adjust [29634] so the Upload Plugin button can be shown. see #29236 .
...
Built from https://develop.svn.wordpress.org/trunk@29637
git-svn-id: http://core.svn.wordpress.org/trunk@29411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 02:59:16 +00:00
Andrew Nacin
8f6fbcdc52
Plugin installer: Minor adjustments to aid with discovery.
...
fixes #29387 .
Built from https://develop.svn.wordpress.org/trunk@29636
git-svn-id: http://core.svn.wordpress.org/trunk@29410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 02:53:16 +00:00
Andrew Nacin
ac3dd27737
Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters.
...
Introduce upload_plugins and upload_themes capabilities to allow blocking of plugin and theme uploads, versus the old hacky (and not secure) ways of just hiding UI tabs. These are simply meta capabilities that map to install_plugins and install_themes.
Also:
* Use the same nice design for the plugin upload screen as the theme upload screen.
* Better compatibility for the old install_themes_tabs filter added in [29002]. see #28578 .
* Ensure using the install_plugins_tabs filter to remove the upload tab removes the new button.
* Use 'Add Plugins' instead of 'Install Plugins' to match 'Add Themes'.
fixes #29236 .
Built from https://develop.svn.wordpress.org/trunk@29634
git-svn-id: http://core.svn.wordpress.org/trunk@29408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 01:32:18 +00:00
Dominik Schilling
a32210ef42
Language Form: The language option for $wp_local_package
should get the same attributes as the other languages.
...
see #15677 .
Built from https://develop.svn.wordpress.org/trunk@29633
git-svn-id: http://core.svn.wordpress.org/trunk@29407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 22:27:16 +00:00
Helen Hou-Sandí
a3579ccba1
Media modals: Better responsive views, especially the header.
...
* Only show the "dropdown" when there is a menu. Note that this uses a `:not()` selector, but it is supported in browsers that support media queries so it is safe to use here.
* Make the header shorter when on particularly narrow screens, which also tend to be shorter.
* Don't restrict the height of images in the attachment details modal, to take advantage of all available space.
fixes #29339 .
Built from https://develop.svn.wordpress.org/trunk@29632
git-svn-id: http://core.svn.wordpress.org/trunk@29406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 21:50:16 +00:00
Dominik Schilling
d544610681
Language packs: No WPLANG anymore.
...
* The WPLANG constant is no longer needed. Remove define('WPLANG', ''); from wp-config-sample.php. Populate WPLANG option based on the WPLANG constant. When get_option('WPLANG') is an empty string it will override WPLANG.
* Introduce translations_api() which is available to communicate with the translation API. Move translation install related functions to a new file.
* Replace mu_dropdown_languages() with wp_dropdown_languages(). wp_dropdown_languages() is now populated by the translation API.
* Remove wp_install_load_language() and allow load_default_textdomain() to switch a core translation.
fixes #13069 , #15677 , #19760 , #28730 , #29281 .
Built from https://develop.svn.wordpress.org/trunk@29630
git-svn-id: http://core.svn.wordpress.org/trunk@29404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 19:59:16 +00:00
Helen Hou-Sandí
c392ff6f90
Editor scrolling: reduce the amount of height jumping on load.
...
props avryl.
fixes #29307 .
Built from https://develop.svn.wordpress.org/trunk@29628
git-svn-id: http://core.svn.wordpress.org/trunk@29402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 18:39:17 +00:00
Helen Hou-Sandí
e04df3d976
Give pagination controls some breathing room on smaller screens.
...
props stephdau.
fixes #29369 .
Built from https://develop.svn.wordpress.org/trunk@29627
git-svn-id: http://core.svn.wordpress.org/trunk@29401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 17:07:17 +00:00
Helen Hou-Sandí
c6527579da
Fix a CSS typo from [29625]. see #28946 .
...
Built from https://develop.svn.wordpress.org/trunk@29626
git-svn-id: http://core.svn.wordpress.org/trunk@29400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 17:04:15 +00:00
Helen Hou-Sandí
9e8b9a78ca
Media library: Unify headers between view modes.
...
Includes back compat for `views_upload` links. These look a little awkward, but do not appear to be commonly used. Also prevents the view mode links from being dropped on smaller screens so a user doesn't get "stuck" in the list view.
This is different from other list tables, but aligns well with other uploaded content management screens (themes, plugins).
props pento, helen.
fixes #28946 .
Built from https://develop.svn.wordpress.org/trunk@29625
git-svn-id: http://core.svn.wordpress.org/trunk@29399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 15:58:15 +00:00
Helen Hou-Sandí
227089cb07
Plugin details: Fix review scrolling in some browsers (cough, Chrome).
...
Remove some unnecessary CSS from [29619].
fixes #29321 .
Built from https://develop.svn.wordpress.org/trunk@29624
git-svn-id: http://core.svn.wordpress.org/trunk@29398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 13:46:15 +00:00
Dominik Schilling
32030a073f
RTL: Fix modal alignments.
...
* Prevent horizontal scrollbars in Chrome.
* URL fields should be always LTR.
* Force the plugin details to be LTR for all screens, see #19778 .
fixes #29352 .
Built from https://develop.svn.wordpress.org/trunk@29623
git-svn-id: http://core.svn.wordpress.org/trunk@29397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 12:55:16 +00:00
Dominik Schilling
9972b54e62
Theme Upgrader: Set is_multi
to true when doing bulk upgrades.
...
fixes #29234 .
Built from https://develop.svn.wordpress.org/trunk@29622
git-svn-id: http://core.svn.wordpress.org/trunk@29396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 09:24:17 +00:00
Dominik Schilling
5a67538b40
Language Pack Upgrader: Remove any pre-existing package checks and then set the new one for translations.
...
fixes #29230 .
Built from https://develop.svn.wordpress.org/trunk@29621
git-svn-id: http://core.svn.wordpress.org/trunk@29395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 09:20:18 +00:00
Helen Hou-Sandí
67b0e365e2
Plugin details: better review styling.
...
props Clorith, celloexpressions.
fixes #29321 .
Built from https://develop.svn.wordpress.org/trunk@29619
git-svn-id: http://core.svn.wordpress.org/trunk@29393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 05:49:17 +00:00
Helen Hou-Sandí
86f071355c
Restore spacing on the edit screen when a post type supports title but not editor.
...
props avryl.
fixes #28893 .
Built from https://develop.svn.wordpress.org/trunk@29618
git-svn-id: http://core.svn.wordpress.org/trunk@29392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 05:25:16 +00:00
Helen Hou-Sandí
e51fdf9d7d
Focus styling: bring the blue glow to more places.
...
Handles color picker, theme browser, help/screen options, TinyMCE dialog buttons, jQuery UI dialog buttons, and buttons in color schemes.
props avryl, celloexpressions. fixes #28267 .
Built from https://develop.svn.wordpress.org/trunk@29616
git-svn-id: http://core.svn.wordpress.org/trunk@29390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 05:17:17 +00:00
Scott Taylor
149346ff6e
MCE View sandboxes:
...
* Use a `MutationObserver` to listen to the `body` class of the parent editor frame.
* In `wpview_media_sandbox_styles()`, only return the MEjs stylesheets.
* In `wp_ajax_parse_media_shortcode()` and `wp_ajax_parse_embed()`, return an object instead of an HTML blob to allow passing `body` and `head` separately
Props avryl, azaozz.
Fixes #29048 .
Built from https://develop.svn.wordpress.org/trunk@29615
git-svn-id: http://core.svn.wordpress.org/trunk@29389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:46:15 +00:00
Helen Hou-Sandí
e051fe3341
Media: Fix keying of selected attachments to color schemes.
...
props celloexpressions. see #28822 .
Built from https://develop.svn.wordpress.org/trunk@29614
git-svn-id: http://core.svn.wordpress.org/trunk@29388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:37:16 +00:00
Helen Hou-Sandí
60c6399d1c
Media Grid: Show upload errors above the grid rather than as a popup.
...
props pento, stephdau, helen. fixes #29141 .
Built from https://develop.svn.wordpress.org/trunk@29612
git-svn-id: http://core.svn.wordpress.org/trunk@29386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:18:17 +00:00
Andrew Nacin
b7e33dcd5a
Install: Remove reference to readme and add a hyphen missing since 2007.
...
props ocean90.
fixes #29290 .
Built from https://develop.svn.wordpress.org/trunk@29611
git-svn-id: http://core.svn.wordpress.org/trunk@29385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:05:20 +00:00
Helen Hou-Sandí
f348ccccf8
Customizer panels: use a single back button for all panels.
...
This also ensures the back button is visible on iOS devices.
props celloexpressions.
fixes #29135 .
Built from https://develop.svn.wordpress.org/trunk@29610
git-svn-id: http://core.svn.wordpress.org/trunk@29384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 23:05:15 +00:00
Helen Hou-Sandí
92ee5b230c
Better visual focus syling in customizer, theme preview, and attachment details modals.
...
props celloexpressions.
fixes #29147 .
Built from https://develop.svn.wordpress.org/trunk@29608
git-svn-id: http://core.svn.wordpress.org/trunk@29382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 21:58:17 +00:00
Helen Hou-Sandí
13a49fc018
Media:
...
* Make attachment focus styles more obvious, particularly for already selected items.
* Fix styling for the selection set attachments.
* Remove some CSS cruft.
fixes #28822 .
Built from https://develop.svn.wordpress.org/trunk@29607
git-svn-id: http://core.svn.wordpress.org/trunk@29381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 21:26:16 +00:00
Helen Hou-Sandí
6a734800a7
Plugin details:
...
Prevent plugins with long names from looking bad and breaking layouts.
props stephdau. fixes #28883 .
Built from https://develop.svn.wordpress.org/trunk@29605
git-svn-id: http://core.svn.wordpress.org/trunk@29379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 20:20:16 +00:00
Helen Hou-Sandí
31a8287b20
Correct cascade oversights in form CSS. fixes #28262 .
...
Built from https://develop.svn.wordpress.org/trunk@29604
git-svn-id: http://core.svn.wordpress.org/trunk@29378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 19:53:16 +00:00
Andrew Ozz
d0a76f284f
Media modal: when inserting content, prefer the editor id passed while opening the modal. wpActiveEditor can change in the background. (Includes some precommit prefixed selectors.) Fixes #28173
...
Built from https://develop.svn.wordpress.org/trunk@29603
git-svn-id: http://core.svn.wordpress.org/trunk@29377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 19:37:16 +00:00
Sergey Biryukov
fa8e82efab
Send nocache_headers() on installation screens and when redirecting to them.
...
fixes #29248 .
Built from https://develop.svn.wordpress.org/trunk@29599
git-svn-id: http://core.svn.wordpress.org/trunk@29373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 17:40:16 +00:00
Helen Hou-Sandí
a20fc80aeb
Media Grid: Move CSS into an admin-only file.
...
`media-views.css` can be loaded on the front, which does not need this extra CSS.
fixes #29340 .
Built from https://develop.svn.wordpress.org/trunk@29598
git-svn-id: http://core.svn.wordpress.org/trunk@29372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 16:51:15 +00:00
Helen Hou-Sandí
b1b7d5f3a2
Only show one search form for the plugin installer.
...
The field dropdown now appears in the filter bar only when doing a search.
see #28785 .
Built from https://develop.svn.wordpress.org/trunk@29597
git-svn-id: http://core.svn.wordpress.org/trunk@29371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 16:03:16 +00:00
Helen Hou-Sandí
713857625e
Make filter bar CSS less verbose and redundant.
...
Also removes an unused handler in the theme feature filter.
see #28794 .
Built from https://develop.svn.wordpress.org/trunk@29596
git-svn-id: http://core.svn.wordpress.org/trunk@29370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 15:58:15 +00:00
Andrew Nacin
4261ce75a6
Plugins: Only show details link if user can install plugins.
...
fixes #17902 .
Built from https://develop.svn.wordpress.org/trunk@29595
git-svn-id: http://core.svn.wordpress.org/trunk@29369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 15:28:17 +00:00
Sergey Biryukov
b06652da92
Install Plugins: Don't wp_die() if API can't be reached.
...
props johnbillion.
fixes #29361 .
Built from https://develop.svn.wordpress.org/trunk@29594
git-svn-id: http://core.svn.wordpress.org/trunk@29368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 15:02:17 +00:00
Andrew Ozz
488e2aa4cf
Editor expand: add border to the Text editor resize helper, helps calculating the height in some cases. Fixes #29225
...
Built from https://develop.svn.wordpress.org/trunk@29593
git-svn-id: http://core.svn.wordpress.org/trunk@29367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 03:43:17 +00:00
Andrew Ozz
58752f91db
Editor scrolling: fix window height when switching Visual to Text and the editor is shorter. Props mackensen, fixes #29226 .
...
Built from https://develop.svn.wordpress.org/trunk@29592
git-svn-id: http://core.svn.wordpress.org/trunk@29366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 23:12:15 +00:00
Andrew Nacin
15b0d10544
Plugin details: Adjust plugin title when it does not have a banner.
...
Smaller, bold, and Open Sans, like other modals. Only use Helvetica Neue when the plugin has a banner.
see [29040], see #27440 .
Built from https://develop.svn.wordpress.org/trunk@29591
git-svn-id: http://core.svn.wordpress.org/trunk@29365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 20:48:15 +00:00
Andrew Nacin
bab83d0f5a
Plugin details: Correctly calculate the height of the right column for plugins without banners.
...
Comment these magic numbers.
see #27440 , [29474].
Built from https://develop.svn.wordpress.org/trunk@29590
git-svn-id: http://core.svn.wordpress.org/trunk@29364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 20:45:17 +00:00
Andrew Nacin
491f5cec39
Screen: Move editor scrolling screen option to the proper place.
...
see [29336], see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29588
git-svn-id: http://core.svn.wordpress.org/trunk@29362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 17:57:16 +00:00
Andrew Nacin
fa120992e4
Equal margins for plugin icons. see #28785 .
...
Built from https://develop.svn.wordpress.org/trunk@29587
git-svn-id: http://core.svn.wordpress.org/trunk@29361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 17:56:15 +00:00
Andrew Nacin
bb4db92621
Plugin install: Add icons to compatible/incompatible. see #29313 .
...
Built from https://develop.svn.wordpress.org/trunk@29586
git-svn-id: http://core.svn.wordpress.org/trunk@29360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 17:26:15 +00:00
Dominik Schilling
3a980c39c8
Apply accessibility improvements to Plugins screen too.
...
props SergeyBiryukov.
fixes #29342 .
Built from https://develop.svn.wordpress.org/trunk@29583
git-svn-id: http://core.svn.wordpress.org/trunk@29357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 16:22:16 +00:00
Dominik Schilling
49937c88f9
Plugin compatibility is based on your version of WordPress, not your install.
...
fixes #29313 .
Built from https://develop.svn.wordpress.org/trunk@29581
git-svn-id: http://core.svn.wordpress.org/trunk@29355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 16:14:16 +00:00
Dominik Schilling
6c9853930a
Add missing array keys for connection type in request_filesystem_credentials()
.
...
see [28456].
fixes #29347 .
Built from https://develop.svn.wordpress.org/trunk@29580
git-svn-id: http://core.svn.wordpress.org/trunk@29354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 16:04:18 +00:00
Andrew Ozz
61292620c5
Editor scrolling:
...
- Pin the TinyMCE statusbar (elements path) to the bottom.
- Add support for pinning the menu when present.
- Add borders from CSS.
- Optimize getting most elements outerHeight.
Part props avryl, fixes #29293 , see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29579
git-svn-id: http://core.svn.wordpress.org/trunk@29353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 05:11:16 +00:00
Andrew Ozz
42258a6d89
TinyMCE wpView: fix showing errors for non-embeddable URLs, no-ssl or no items. Props avryl, fixes #29114 , see #29268 .
...
Built from https://develop.svn.wordpress.org/trunk@29577
git-svn-id: http://core.svn.wordpress.org/trunk@29351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 18:55:15 +00:00
Sergey Biryukov
5487c3bd8f
Fix unintended box-shadow in the opposite corner of thickbox Close icon.
...
props ocean90.
fixes #29311 .
Built from https://develop.svn.wordpress.org/trunk@29575
git-svn-id: http://core.svn.wordpress.org/trunk@29349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 16:04:18 +00:00
Sergey Biryukov
039df6aac6
Plugin compatibility warnings should be red, not green.
...
props avryl.
fixes #29309 .
Built from https://develop.svn.wordpress.org/trunk@29574
git-svn-id: http://core.svn.wordpress.org/trunk@29348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 03:57:19 +00:00
Andrew Nacin
e32fc4df46
Export: Add wxr_export_skip_commentmeta filter to match the _postmeta filter.
...
props cfinke.
fixes #28745 .
Built from https://develop.svn.wordpress.org/trunk@29573
git-svn-id: http://core.svn.wordpress.org/trunk@29347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 01:48:17 +00:00
Andrew Ozz
3d60d9f875
Autosave: prevent setting multiple stale wp-saving-post-*
cookies when the browser disregards "session cookies" expiration on quit:
...
- Add expiration time of 24 hours for these cookies.
- Rename them to `wp-saving-post` (no post_id) so there is never more than one cookie per domain.
Fixes #29294 .
Built from https://develop.svn.wordpress.org/trunk@29572
git-svn-id: http://core.svn.wordpress.org/trunk@29346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-22 00:25:16 +00:00
Andrew Nacin
0eed9373e2
Introduce plugin icons in the installer.
...
See http://wp.me/p2AvED-2P8 for the announcement and how to implement these.
props tellyworth.
see #28785 .
Built from https://develop.svn.wordpress.org/trunk@29569
git-svn-id: http://core.svn.wordpress.org/trunk@29343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-21 19:11:17 +00:00
Sergey Biryukov
afe7639c7b
Add missing box-shadow for pingbacks in Dashboard Activity widget.
...
props chrisl27.
fixes #29198 .
Built from https://develop.svn.wordpress.org/trunk@29561
git-svn-id: http://core.svn.wordpress.org/trunk@29336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-21 02:37:16 +00:00
Scott Taylor
6352d703a0
Media Grid/Modal Keyboard navigation improvements:
...
* Add focus to arrows on Next/Previous in the grid's modal on left/right keypress, and add the necessary CSS for `:focus`
* When in a disabled input in the grid modal, allow the left/right keys to work
* Make the image editor return a `$.Deferred` so that there isn't a race condition with UI loading.
* Assign focus when the edit image mode is rendered so that the modal can be closed on Esc press
Props wonderboymusic, adamsilverstein (for the initial patch).
See #23560 .
Built from https://develop.svn.wordpress.org/trunk@29560
git-svn-id: http://core.svn.wordpress.org/trunk@29335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-21 02:35:17 +00:00
Andrew Ozz
53c047263b
TinyMCE wpView: add a filter for the stylesheet URLs loaded in the sandbox iframes. See #29048 .
...
Built from https://develop.svn.wordpress.org/trunk@29559
git-svn-id: http://core.svn.wordpress.org/trunk@29334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-20 21:34:15 +00:00
Dominik Schilling
048b96f80d
Media: Remove scan for lost attachments.
...
This hasn't been worked for 4 years.
fixes #29169 .
Built from https://develop.svn.wordpress.org/trunk@29550
git-svn-id: http://core.svn.wordpress.org/trunk@29326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-20 17:09:15 +00:00
Andrew Ozz
bb862e8221
TinyMCE wpView: show an error when no items are found while parsing a audio/video/playlist shortcode. Props avryl, fixes #29114 .
...
Built from https://develop.svn.wordpress.org/trunk@29546
git-svn-id: http://core.svn.wordpress.org/trunk@29322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-19 23:23:16 +00:00
Helen Hou-Sandí
cee3560f49
Align and unify (most) modal and customizer icons. fixes #29147 .
...
Built from https://develop.svn.wordpress.org/trunk@29542
git-svn-id: http://core.svn.wordpress.org/trunk@29318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-19 20:38:16 +00:00
Sergey Biryukov
108266d87a
Prevent "Add" button in Tags meta box from wrapping to a new line in ru_RU.
...
fixes #29265 . see #26510 .
Built from https://develop.svn.wordpress.org/trunk@29539
git-svn-id: http://core.svn.wordpress.org/trunk@29315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-19 08:57:18 +00:00
Dominik Schilling
f5ec2a211b
Plugin details: Accessibility improvements
...
* Focus the close link to transfer focus into the plugin modal.
* Set title attribute on iframe for screereaders.
props jwenerd for initial patch and a11y team for testing.
fixes #28823 .
Built from https://develop.svn.wordpress.org/trunk@29534
git-svn-id: http://core.svn.wordpress.org/trunk@29310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 20:02:19 +00:00
Andrew Ozz
c0fef55a47
DFW: revert applying the Visual editor body color and background-color for now. Set the color to #333 and the background to transparent. Fixes #28330 .
...
Built from https://develop.svn.wordpress.org/trunk@29533
git-svn-id: http://core.svn.wordpress.org/trunk@29309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 18:23:16 +00:00
Andrew Ozz
68a3e1af2c
Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246 .
...
Built from https://develop.svn.wordpress.org/trunk@29524
git-svn-id: http://core.svn.wordpress.org/trunk@29300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 01:13:16 +00:00
Andrew Ozz
bae4afab44
Editor scrolling:
...
- Properly handle change of sidebar height when opening, closing or hiding postboxes.
- Add a flag when to start pinning. Set it to few pixels more than the initial editor height.
See #28328
Built from https://develop.svn.wordpress.org/trunk@29523
git-svn-id: http://core.svn.wordpress.org/trunk@29299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 00:35:18 +00:00
Andrew Ozz
4fc5f9bcca
Editor scrolling: always resize the text editor clone so it doesn't "push" the parent's width over 100%, fixes #29246 .
...
Built from https://develop.svn.wordpress.org/trunk@29522
git-svn-id: http://core.svn.wordpress.org/trunk@29298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 21:33:15 +00:00
Dominik Schilling
5373eb5140
Restore focus styles for checkboxes and radio buttons. Broken since [29465].
...
fixes #28262 .
Built from https://develop.svn.wordpress.org/trunk@29519
git-svn-id: http://core.svn.wordpress.org/trunk@29295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 14:19:15 +00:00
Dominik Schilling
27e564113d
Admin Menu: Auto fold the menu at 960px.
...
This gives us some more room at the post edit screen.
props vinod dalvi for initial patch.
fixes #28592 .
Built from https://develop.svn.wordpress.org/trunk@29518
git-svn-id: http://core.svn.wordpress.org/trunk@29294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 14:15:17 +00:00
John Blackbourn
136cb144d5
Avoid a PHP notice if you manually navigate to /wp-admin/install.php?step=2
. See #28577 .
...
Built from https://develop.svn.wordpress.org/trunk@29516
git-svn-id: http://core.svn.wordpress.org/trunk@29292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 14:00:16 +00:00
Dominik Schilling
d54e72183a
Add a label to site language setting.
...
see #15677 .
Built from https://develop.svn.wordpress.org/trunk@29514
git-svn-id: http://core.svn.wordpress.org/trunk@29291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 09:45:16 +00:00
Dominik Schilling
ae596dd60b
Use correct form name for translation updates.
...
props netweb.
fixes #28198 .
Built from https://develop.svn.wordpress.org/trunk@29512
git-svn-id: http://core.svn.wordpress.org/trunk@29289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-16 10:00:18 +00:00
Sergey Biryukov
c17155f9d7
* Add span to the list of allowed tags in plugin sections in plugin details modal.
...
* Don't strip class attribute from div/span tags in plugin sections.
props tellyworth.
see #28884 .
Built from https://develop.svn.wordpress.org/trunk@29511
git-svn-id: http://core.svn.wordpress.org/trunk@29288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-16 03:07:18 +00:00
Dominik Schilling
00aaf8de18
Plugin details: Use translation functions.
...
props jesin.
fixes #29220 .
Built from https://develop.svn.wordpress.org/trunk@29510
git-svn-id: http://core.svn.wordpress.org/trunk@29287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 20:51:16 +00:00
Dominik Schilling
7297f60992
Plugin details: Escape the donate link.
...
see #27440 .
Built from https://develop.svn.wordpress.org/trunk@29506
git-svn-id: http://core.svn.wordpress.org/trunk@29283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 17:17:16 +00:00
Dominik Schilling
34b14eff23
Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
...
fixes #29038 .
Built from https://develop.svn.wordpress.org/trunk@29505
git-svn-id: http://core.svn.wordpress.org/trunk@29282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 16:31:21 +00:00
Helen Hou-Sandí
0a0ad635ae
Use consistent margin and padding on #wpcontent and #wpfooter. props jesin, TJNowell, sumobi. fixes #28675 .
...
Built from https://develop.svn.wordpress.org/trunk@29502
git-svn-id: http://core.svn.wordpress.org/trunk@29280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 15:34:16 +00:00
Dominik Schilling
75d89a22ac
Allow WebKit browsers to break strings in <code>
tags.
...
This prevents an overflow for example on Permalink Settings.
fixes #28161 .
Built from https://develop.svn.wordpress.org/trunk@29501
git-svn-id: http://core.svn.wordpress.org/trunk@29279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 13:19:16 +00:00
Dominik Schilling
1f20c88b68
Plugin install: Remove columns and screen options.
...
fixes #28803 .
Built from https://develop.svn.wordpress.org/trunk@29498
git-svn-id: http://core.svn.wordpress.org/trunk@29276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 09:38:15 +00:00
Helen Hou-Sandí
da2d975668
Editor scrolling:
...
* Reduce the starting height of the editor to better match the height at which the top toolbar unpins.
* Pin the side metaboxes so they do not get lost when the editor content is long.
* Turn magic numbers into variables.
props stephdau, azaozz. see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29495
git-svn-id: http://core.svn.wordpress.org/trunk@29273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 03:17:15 +00:00
Andrew Ozz
81815c4d03
Some pre-commit cleanup of media-grid.js and media-views.js
...
Built from https://develop.svn.wordpress.org/trunk@29494
git-svn-id: http://core.svn.wordpress.org/trunk@29272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 01:13:16 +00:00
Scott Taylor
571111022e
Media Grid, support MEDIA_TRASH
:
...
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash`
* In the attachment edit modal, properly toggle between Trash/Untrash
* In `media.view.Attachment`, add a method for `untrashAttachment`
* When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI.
* Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true
* Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter.
* Cleanup the bootstrapping of `media.view.MediaFrame.Manage`
* Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true`
* Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set.
Props koop for the knowledge sharing and thought partnership.
See #29145 .
Built from https://develop.svn.wordpress.org/trunk@29490
git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 18:31:19 +00:00
Andrew Nacin
de569d83a1
Customizer: Mixed priority sorting for panels and top-level sections.
...
props celloexpressions.
fixes #28979 .
Built from https://develop.svn.wordpress.org/trunk@29488
git-svn-id: http://core.svn.wordpress.org/trunk@29266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 04:43:16 +00:00
Helen Hou-Sandí
2943f5384c
Plugin details: Remove some CSS rules that were unnecessary and causing issues in Firefox. see #27440 .
...
Built from https://develop.svn.wordpress.org/trunk@29480
git-svn-id: http://core.svn.wordpress.org/trunk@29258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-13 05:28:19 +00:00
Drew Jaynes
d33c807723
Fix some documentation typos in various core files.
...
Props vlajos.
Fixes #29199 .
Built from https://develop.svn.wordpress.org/trunk@29479
git-svn-id: http://core.svn.wordpress.org/trunk@29257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-13 03:56:17 +00:00
Sergey Biryukov
aed71de2d6
Plugin install: Make plugin groups translatable.
...
props ocean90 for initial patch.
fixes #29092 .
Built from https://develop.svn.wordpress.org/trunk@29477
git-svn-id: http://core.svn.wordpress.org/trunk@29255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-13 02:31:18 +00:00
Helen Hou-Sandí
093772f3c0
Plugin details modal:
...
* Scroll all content, rather than the dual-pane scrolling awkwardness.
* Better align the header image and title overlay with the display on WordPress.org, at least at full-width.
* Move the close button outside of the modal itself, rather than overlay on top of colors we can't predict.
props stephdau, tellyworth, helen. fixes #27440 .
Built from https://develop.svn.wordpress.org/trunk@29474
git-svn-id: http://core.svn.wordpress.org/trunk@29252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-12 23:02:16 +00:00
Helen Hou-Sandí
69d0302eef
Clearer visual differentiation between panels and sections in the customizer. props celloexpressions. see #28979 .
...
Built from https://develop.svn.wordpress.org/trunk@29470
git-svn-id: http://core.svn.wordpress.org/trunk@29248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-12 01:18:15 +00:00
Helen Hou-Sandí
134d92bfea
Add styling for various HTML5 input elements. props avryl. fixes #28262 .
...
Built from https://develop.svn.wordpress.org/trunk@29465
git-svn-id: http://core.svn.wordpress.org/trunk@29243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-11 16:42:16 +00:00
Drew Jaynes
d60a081137
Add @access
tags to constructor docblocks in list table classes.
...
See #28679 . See [29459].
Built from https://develop.svn.wordpress.org/trunk@29460
git-svn-id: http://core.svn.wordpress.org/trunk@29238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-10 02:22:16 +00:00
Drew Jaynes
8e86454467
Document default arguments for the WP_List_Table
class. Also add referenced docblocks to extending class constructors.
...
Props mikejolley for the initial patch.
Fixes #28679 . See #28298 .
Built from https://develop.svn.wordpress.org/trunk@29459
git-svn-id: http://core.svn.wordpress.org/trunk@29237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-10 02:18:17 +00:00
Drew Jaynes
647b6d907b
Clean up some missing @access
tags and other tweaks for 4.0.0-functionality docs.
...
See #28885 .
Built from https://develop.svn.wordpress.org/trunk@29455
git-svn-id: http://core.svn.wordpress.org/trunk@29233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-09 19:32:16 +00:00
Drew Jaynes
a8583d5f19
Fix some words that aren't words.
...
See #28885 .
Built from https://develop.svn.wordpress.org/trunk@29454
git-svn-id: http://core.svn.wordpress.org/trunk@29232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-09 19:30:17 +00:00
Dominik Schilling
09e61f534b
WP_Plugins_List_Table::bulk_actions() method declaration should match WP_List_Table, see [29440].
...
props imath.
fixes #29148 .
Built from https://develop.svn.wordpress.org/trunk@29453
git-svn-id: http://core.svn.wordpress.org/trunk@29231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-09 14:46:17 +00:00
Scott Taylor
5cab03ab29
Add some docs to Customizer JS.
...
Props ericlewis.
See #29157 .
Built from https://develop.svn.wordpress.org/trunk@29451
git-svn-id: http://core.svn.wordpress.org/trunk@29229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 23:31:15 +00:00
Andrew Ozz
4deee321e3
Editor: use the post_edit_form_tag
action to add autocomplete="off" to the whole form on the Add/Edit Post screen in WebKit. Prevents editor problems when the browser's Back button is used. Fixes #28037 .
...
Built from https://develop.svn.wordpress.org/trunk@29448
git-svn-id: http://core.svn.wordpress.org/trunk@29226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 20:54:15 +00:00
Helen Hou-Sandí
2353c354c1
Revert [29287] based on design and core team feedback. see #29012 .
...
Built from https://develop.svn.wordpress.org/trunk@29447
git-svn-id: http://core.svn.wordpress.org/trunk@29225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 19:01:19 +00:00
Scott Taylor
19db9a253d
wp_dashboard_cached_rss_widget()
contained some func_get_args()
code that was indescribably weird.
...
This keeps it weird, but makes sure that `$check_urls` gets passed to the callback.
Props michalzuber, ocean90.
Fixes #28872 .
Built from https://develop.svn.wordpress.org/trunk@29442
git-svn-id: http://core.svn.wordpress.org/trunk@29220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 21:47:16 +00:00
Scott Taylor
704a4c4803
Mark WP_List_Table::bulk_actions()
's argument $which
as optional for BC.
...
Fixes #29026 .
Built from https://develop.svn.wordpress.org/trunk@29440
git-svn-id: http://core.svn.wordpress.org/trunk@29218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 21:30:15 +00:00
Scott Taylor
ce7955cc9e
Add screen reader text to list table date dropdown.
...
See #29026 .
Built from https://develop.svn.wordpress.org/trunk@29433
git-svn-id: http://core.svn.wordpress.org/trunk@29211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 19:44:15 +00:00
Scott Taylor
c5dff42d51
Revert [29428] to avoid errors with Add Media for now.
...
See #29026 .
Built from https://develop.svn.wordpress.org/trunk@29432
git-svn-id: http://core.svn.wordpress.org/trunk@29210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 19:40:15 +00:00
Scott Taylor
afb0b3e4ef
Media Grid: add screen reader labels with more context to filters and bulk actions. Ditto for list view.
...
Props afercia.
Fixes #29026 .
Built from https://develop.svn.wordpress.org/trunk@29428
git-svn-id: http://core.svn.wordpress.org/trunk@29206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 05:20:16 +00:00
Scott Taylor
320ba69cf7
After [29201], use aria-label
instead of aria-labelledby
in WP_Plugin_Install_List_Table::display_rows()
.
...
Props nvwd, DrewAPicture.
Fixes #28853 .
Built from https://develop.svn.wordpress.org/trunk@29424
git-svn-id: http://core.svn.wordpress.org/trunk@29202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 02:56:15 +00:00
Scott Taylor
64407235a9
WP_List_Table::items
should be public
, not protected
. It is accessed in a subclass directly via wp_ajax_get_comments()
.
...
See [28493].
Fixes #29072 .
Built from https://develop.svn.wordpress.org/trunk@29423
git-svn-id: http://core.svn.wordpress.org/trunk@29201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-07 02:51:16 +00:00
Scott Taylor
6b8ee0942c
Don't show the Featured Image metabox for users with the contributor
role. Do enqueue media so that TinyMCE previews work for YouTube embeds, etc.
...
Props SergeyBiryukov.
Fixes #28327 .
Built from https://develop.svn.wordpress.org/trunk@29402
git-svn-id: http://core.svn.wordpress.org/trunk@29180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 17:17:16 +00:00
Andrew Nacin
c49eb0be05
Language chooser: Adjust continue button alignment.
...
Built from https://develop.svn.wordpress.org/trunk@29374
git-svn-id: http://core.svn.wordpress.org/trunk@29152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 21:23:15 +00:00
Andrew Nacin
40258a41b8
Language chooser imporvements.
...
* Use a translated 'Continue' string.
* Go back to using a select element.
* Only show a spinner when we're installing a language.
see #28577 .
Built from https://develop.svn.wordpress.org/trunk@29372
git-svn-id: http://core.svn.wordpress.org/trunk@29150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 20:47:16 +00:00
Andrew Nacin
58b22fce7d
Move plugin details link into the description area.
...
fixes #17902 .
Built from https://develop.svn.wordpress.org/trunk@29371
git-svn-id: http://core.svn.wordpress.org/trunk@29149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 18:49:17 +00:00
Andrew Ozz
9662dc9f7b
Fix CSS for form elements for Firefox 30+, fixes #28500 .
...
Built from https://develop.svn.wordpress.org/trunk@29366
git-svn-id: http://core.svn.wordpress.org/trunk@29142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-03 00:34:15 +00:00
Dominik Schilling
5be014c7c9
Standardize transition-animations on modal close/arrow buttons.
...
props celloexpressions.
fixes #29021 .
Built from https://develop.svn.wordpress.org/trunk@29365
git-svn-id: http://core.svn.wordpress.org/trunk@29141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 22:02:19 +00:00
Dominik Schilling
28170e0d82
Remove some unused dashboard-widget-* CSS classes. Unused since [9103].
...
props michalzuber.
fixes #28930 .
Built from https://develop.svn.wordpress.org/trunk@29361
git-svn-id: http://core.svn.wordpress.org/trunk@29137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 20:02:17 +00:00
Dominik Schilling
410ca0a29c
Plugin install: Improve styling of the no results message.
...
see #28753 .
Built from https://develop.svn.wordpress.org/trunk@29359
git-svn-id: http://core.svn.wordpress.org/trunk@29135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 15:24:16 +00:00
Dominik Schilling
68f16e0ef8
Language Upgrader: Don't print a footer when translations are updated async.
...
fixes #28947 .
Built from https://develop.svn.wordpress.org/trunk@29358
git-svn-id: http://core.svn.wordpress.org/trunk@29134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 15:16:16 +00:00
Dominik Schilling
cd58a064cf
Upgrader: Use always window.postMessage
for decrement of update count bubbles when IFRAME_REQUEST
is defined.
...
Fixes decrement of translation update count bubbles when updated through the bulk upgrader.
fixes #29054 .
Built from https://develop.svn.wordpress.org/trunk@29357
git-svn-id: http://core.svn.wordpress.org/trunk@29133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 14:37:16 +00:00
Dominik Schilling
608d505b24
Attach Media: Display the correct error message when search result is empty.
...
fixes #29093 .
Built from https://develop.svn.wordpress.org/trunk@29356
git-svn-id: http://core.svn.wordpress.org/trunk@29132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 14:24:15 +00:00
Dominik Schilling
8ea68677f3
Media Upload: Improve styling of error messages.
...
props afercia, michalzuber.
fixes #29047 .
Built from https://develop.svn.wordpress.org/trunk@29355
git-svn-id: http://core.svn.wordpress.org/trunk@29131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 14:14:19 +00:00
Dominik Schilling
203c44581b
To improve troubleshooting use esc_html()
for a failed embed.
...
see #28195 .
Built from https://develop.svn.wordpress.org/trunk@29354
git-svn-id: http://core.svn.wordpress.org/trunk@29130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 22:34:15 +00:00
Dominik Schilling
2cb623b062
RTL: Fix media attach modal alignment.
...
props SergeyBiryukov.
fixes #28010 .
Built from https://develop.svn.wordpress.org/trunk@29353
git-svn-id: http://core.svn.wordpress.org/trunk@29129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 21:59:16 +00:00
Andrew Ozz
e50ffd401e
Editor scrolling: run one more adjust() 200ms after scroll or resize in case the browser is slow to re-calculate the element heights and pin/unpin the toolbars. See #28328 , fixes #29059 .
...
Built from https://develop.svn.wordpress.org/trunk@29352
git-svn-id: http://core.svn.wordpress.org/trunk@29128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 21:43:18 +00:00
Dominik Schilling
9a9b1791ca
Add some braces to [29225].
...
see #28673 .
Built from https://develop.svn.wordpress.org/trunk@29350
git-svn-id: http://core.svn.wordpress.org/trunk@29127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 21:04:15 +00:00
Dominik Schilling
12e961cb61
Plugin install: Add missing closing HTML tags.
...
props jwenerd.
fixes #29090 . see #28673 .
Built from https://develop.svn.wordpress.org/trunk@29348
git-svn-id: http://core.svn.wordpress.org/trunk@29125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 20:44:14 +00:00
Dominik Schilling
fb9084eed3
Disable background page scrolling when modals are open.
...
props celloexpressions.
fixes #29074 .
Built from https://develop.svn.wordpress.org/trunk@29346
git-svn-id: http://core.svn.wordpress.org/trunk@29124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 20:15:15 +00:00
Helen Hou-Sandí
5d102f8e0b
Use the word "Count" instead of the post type label in taxonomy list tables to prevent layout issues. It is also more accurate, as it represents a count of all post types, not just one.
...
props philipjohn, GaVrA, seanchayes. fixes #17209 .
Built from https://develop.svn.wordpress.org/trunk@29343
git-svn-id: http://core.svn.wordpress.org/trunk@29121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 18:32:15 +00:00
Mark Jaquith
61a0551529
Match background color in DFW and adapt the dashed outline color.
...
fixes #28330 . props avryl, ipstenu.
Built from https://develop.svn.wordpress.org/trunk@29340
git-svn-id: http://core.svn.wordpress.org/trunk@29120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 18:10:16 +00:00
Andrew Ozz
b9886e92e3
Editor scrolling:
...
- Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference.
- Fix delayed calls to resize() in the TinyMCE autoresize plugin.
See #28328 .
Built from https://develop.svn.wordpress.org/trunk@29336
git-svn-id: http://core.svn.wordpress.org/trunk@29116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 02:43:17 +00:00
Andrew Ozz
8253a54416
PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081 .
...
Built from https://develop.svn.wordpress.org/trunk@29334
git-svn-id: http://core.svn.wordpress.org/trunk@29114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 00:55:15 +00:00
Sergey Biryukov
187e23b3d6
Customizer: Don't hide controls the preview frame has no information about.
...
props kovshenin.
see #27993 .
Built from https://develop.svn.wordpress.org/trunk@29329
git-svn-id: http://core.svn.wordpress.org/trunk@29109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-30 16:24:18 +00:00
Sergey Biryukov
ab3ce81661
In add_submenu_page(), avoid inadvertently copying classes of a menu item to the first submenu item.
...
fixes #28936 .
Built from https://develop.svn.wordpress.org/trunk@29326
git-svn-id: http://core.svn.wordpress.org/trunk@29107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 16:08:16 +00:00
Helen Hou-Sandí
8aec296fe8
Labels for the installation form should get the pointer cursor. props Ankit K Gupta. fixes #28818 .
...
Built from https://develop.svn.wordpress.org/trunk@29325
git-svn-id: http://core.svn.wordpress.org/trunk@29106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 16:05:16 +00:00
Sergey Biryukov
e370ae439d
Fix duplicate Customize button in theme details modal.
...
props afercia.
fixes #28987 .
Built from https://develop.svn.wordpress.org/trunk@29324
git-svn-id: http://core.svn.wordpress.org/trunk@29105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 16:02:16 +00:00
Sergey Biryukov
4078e14d1e
QuickPress: Disable autocomplete for content, enable "Save Draft" button on load.
...
props morganestes, michalzuber.
fixes #27760 .
Built from https://develop.svn.wordpress.org/trunk@29323
git-svn-id: http://core.svn.wordpress.org/trunk@29104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 15:34:16 +00:00
Sergey Biryukov
3f3395a086
Avoid PHP notices in Media Library if an attachment parent post type no longer exists.
...
Synchronize the 'edit_post' capability check between the list table and the media grid.
fixes #27446 .
Built from https://develop.svn.wordpress.org/trunk@29320
git-svn-id: http://core.svn.wordpress.org/trunk@29101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 01:41:16 +00:00
Andrew Ozz
004da2f6ba
Formatting: make the removal of white space around <option> greedy, see #28217 .
...
Built from https://develop.svn.wordpress.org/trunk@29316
git-svn-id: http://core.svn.wordpress.org/trunk@29097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 19:55:16 +00:00
Andrew Ozz
ad0f539621
Formatting: no <p> or <br> around <option> tags in both flavours of wpautop, make "selects" easier to read in the Text editor. Fixes #28217 .
...
Built from https://develop.svn.wordpress.org/trunk@29315
git-svn-id: http://core.svn.wordpress.org/trunk@29096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 19:44:18 +00:00
Dominik Schilling
1dab78032b
IE8 doesn't support ::before
and ::after
pseudo-elements. Replace them with :before
and :after
.
...
props andrezrv, DrewAPicture, ocean90.
fixes #28082 .
Built from https://develop.svn.wordpress.org/trunk@29314
git-svn-id: http://core.svn.wordpress.org/trunk@29095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 15:52:17 +00:00
Dominik Schilling
cc58ea9c49
Remove parent::footer()
in Language_Pack_Upgrader_Skin::bulk_footer()
as it prints a closing div which is not needed.
...
props michalzuber.
fixes #28947 .
Built from https://develop.svn.wordpress.org/trunk@29313
git-svn-id: http://core.svn.wordpress.org/trunk@29094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 09:06:17 +00:00
Dominik Schilling
7a67693b37
Add missing screen-reader-text
CSS class in [29294].
...
see #28867 .
Built from https://develop.svn.wordpress.org/trunk@29308
git-svn-id: http://core.svn.wordpress.org/trunk@29090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-27 13:43:17 +00:00
Andrew Ozz
b9f97e8352
TinyMCE:
...
- Fix complex character input in Japanese, Chinese, etc. Was broken in getCursorOffset() in editor-expand.js.
- Disable auto-scrolling in some edge cases when editor expanding is enabled.
See #28328 .
Built from https://develop.svn.wordpress.org/trunk@29302
git-svn-id: http://core.svn.wordpress.org/trunk@29084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-26 00:08:19 +00:00
Helen Hou-Sandí
6513808db0
When adding a post of a post type whose menu item is in a submenu, highlight the correct menu item. props mordauk, markjaquith. fixes #24137 .
...
Built from https://develop.svn.wordpress.org/trunk@29300
git-svn-id: http://core.svn.wordpress.org/trunk@29082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-25 15:26:18 +00:00
Scott Taylor
97fff7e952
Adds <label>
s to current page selector and bulk actions <select>
field so that screen readers have an explicit label.
...
Props joedolson.
Fixes #28867 .
Built from https://develop.svn.wordpress.org/trunk@29294
git-svn-id: http://core.svn.wordpress.org/trunk@29076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-25 00:20:16 +00:00
Scott Taylor
c82fb81e14
Whitelist input
types that are styled in the scope of .form-field
.
...
Props mauteri.
Fixes #28647 .
Built from https://develop.svn.wordpress.org/trunk@29292
git-svn-id: http://core.svn.wordpress.org/trunk@29074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 22:21:15 +00:00
Scott Taylor
2ed316e16d
Add exif orientation
to data extracted in wp_read_image_metadata()
.
...
Props shanebp.
Fixes 28916.
Built from https://develop.svn.wordpress.org/trunk@29291
git-svn-id: http://core.svn.wordpress.org/trunk@29073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 22:14:16 +00:00
Scott Taylor
a14f5b97d5
In sanitize_file_name()
, replace %20
and +
with dashes. Remove unnecessary code from _wp_handle_upload()
.
...
Adds unit tests.
Props ericmann.
Fixes #16330 .
Built from https://develop.svn.wordpress.org/trunk@29290
git-svn-id: http://core.svn.wordpress.org/trunk@29072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 22:09:16 +00:00
Scott Taylor
36fb0b8148
Media Grid CSS: Media modal close icon should be consistent with other modals.
...
Props celloexpressions.
Fixes #29012 .
Built from https://develop.svn.wordpress.org/trunk@29287
git-svn-id: http://core.svn.wordpress.org/trunk@29069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 21:07:15 +00:00
Helen Hou-Sandí
448275cce4
Media Grid: Remove fields from showing in the grid itself.
...
All details are still available within the modal, and less-distinguishable non-image files still show the filename along with the file type icon.
Reverts [29079], [29078], [29077], and [28995]. see #24716 .
Built from https://develop.svn.wordpress.org/trunk@29280
git-svn-id: http://core.svn.wordpress.org/trunk@29062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 05:26:15 +00:00
Andrew Ozz
da0b98a8f0
Editor scrolling:
...
- Improve TinyMCE resizing when a floated block is at the end of the content.
- Improve setting the padding/margin under the toolbar on loading.
- Add custom event on TinyMCE resizing and use it to adjust the pinning (if needed).
Part props avryl, see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29279
git-svn-id: http://core.svn.wordpress.org/trunk@29061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 01:33:15 +00:00
Dominik Schilling
270a57075c
Media Grid: Add a date filter.
...
props ericlewis.
fixes #28895 .
Built from https://develop.svn.wordpress.org/trunk@29271
git-svn-id: http://core.svn.wordpress.org/trunk@29053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 20:47:15 +00:00
Dominik Schilling
de8961d631
Update the versions of several devDependencies in package.json
.
...
Run `npm update` in the project root to receive updates.
props mjbanks, jorbin, netweb.
see #27340 .
Built from https://develop.svn.wordpress.org/trunk@29270
git-svn-id: http://core.svn.wordpress.org/trunk@29052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 20:41:44 +00:00
Dominik Schilling
e78867dc88
Fix jshint errors introduced in [29259]. see #11325 .
...
Built from https://develop.svn.wordpress.org/trunk@29269
git-svn-id: http://core.svn.wordpress.org/trunk@29051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 20:03:15 +00:00
John Blackbourn
4d53ee7d45
Add a lang
attribute to each language listed on the language selector screen during installation. See #28858 , #28577 .
...
Built from https://develop.svn.wordpress.org/trunk@29260
git-svn-id: http://core.svn.wordpress.org/trunk@29043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 21:51:16 +00:00