Dominik Schilling
d483093e0b
Build Tools: Update grunt-rtlcss ~1.6.0 → ~2.0.1.
...
This updates the underlying RTLCSS framework to 2.0 which provides new options and config settings, see https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md#200---18-feb-2016 .
See #35104 .
Build: https://build.trac.wordpress.org/changeset/36903
Built from https://develop.svn.wordpress.org/trunk@36935
git-svn-id: http://core.svn.wordpress.org/trunk@36903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 16:01:32 +00:00
Dominik Schilling
f37eca2259
Editor: Fix size of the resize handle on RTL sites for HiDPI screens.
...
Also, add the `/*rtl:ignore*/` control directive so rtlcss doesn't process them again.
Fixes #36193 .
Built from https://develop.svn.wordpress.org/trunk@36934
git-svn-id: http://core.svn.wordpress.org/trunk@36902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 14:06:29 +00:00
Aaron Jorbin
1972aa2a2a
Add grunt prerelease task
...
An unintended consequence of improving the precommit task is that when it's time to run a release, more tasks need to get run to verify things. This adds a prerelease task to help fix that situation. grunt prerelease should include tasks that verify the code base is ready to be released to the wild and find all the tears on the mausoleum floor and help Blood stain the Colosseum doors.
See #35557
Built from https://develop.svn.wordpress.org/trunk@36930
git-svn-id: http://core.svn.wordpress.org/trunk@36898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 05:37:27 +00:00
Mel Choyce
3773f9be8b
About: Improve color contrast of WP Badge text, and update the logo to use the latest version.
...
Fixes #35661 .
Props @hugobaeta.
Built from https://develop.svn.wordpress.org/trunk@36910
git-svn-id: http://core.svn.wordpress.org/trunk@36878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:53:26 +00:00
Weston Ruter
7441acafaf
Customize: Fix persistence of toggles for displayed nav menu item properties.
...
* Eliminates need to click more than one checkbox to have preferences saved.
* Adds debouncing to saving user-selected menu item properties.
* Also removes discrepancies between available nav menu item properties on admin page vs Customizer.
Fixes #35273 .
Props afercia, westonruter.
Built from https://develop.svn.wordpress.org/trunk@36908
git-svn-id: http://core.svn.wordpress.org/trunk@36876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:41:28 +00:00
Konstantin Obenland
f39d1e4fcc
Customize: Reduce vertical space of site icon control.
...
Makes the control easier to find, reduces visual clutter, and is more
consistent with Customizer UI conventions.
Props celloexpressions.
Fixes #35943 .
Built from https://develop.svn.wordpress.org/trunk@36907
git-svn-id: http://core.svn.wordpress.org/trunk@36875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:19:27 +00:00
Andrea Fercia
a71f14b8d9
Accessibility: Reduce the WordPress shades of grey, Episode 3.
...
Also, removes some no more used CSS.
See #35783 .
Built from https://develop.svn.wordpress.org/trunk@36904
git-svn-id: http://core.svn.wordpress.org/trunk@36872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:51:26 +00:00
Sergey Biryukov
90c7ce63d9
Use admin_url()
for "Add New" links in wp-admin/users.php
.
...
Props johnjamesjacoby.
Fixes #36186 .
Built from https://develop.svn.wordpress.org/trunk@36902
git-svn-id: http://core.svn.wordpress.org/trunk@36870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:09:50 +00:00
Sergey Biryukov
729ddb899c
Use admin_url()
for "Add New" links in wp-admin/upload.php
.
...
Props johnjamesjacoby.
See #36186 .
Built from https://develop.svn.wordpress.org/trunk@36901
git-svn-id: http://core.svn.wordpress.org/trunk@36869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:09:25 +00:00
Dominik Schilling
7e8e3429e1
Media: Change wording for media files which aren't attached.
...
The media library can contain files which aren't attached yet. When attaching a file you currently get "Media attachment reattached.", or the opposite "Media attachment detached.". That's redundant and can be inaccurate. It's also not easy to translate in some languages.
This change generalizes the strings to refer to a "media file" instead.
Props SergeyBiryukov, ocean90, netweb.
Fixes #36089 .
Built from https://develop.svn.wordpress.org/trunk@36887
git-svn-id: http://core.svn.wordpress.org/trunk@36854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 17:43:25 +00:00
Andrea Fercia
34ab7ae5ac
Accessibility: Remove the title attributes from the old Media UI.
...
Also, adds better indication and attributes for the required form fields.
Moves some styles to `deprecated-media.css`.
Props andg, afercia.
Fixes #34944 .
Built from https://develop.svn.wordpress.org/trunk@36879
git-svn-id: http://core.svn.wordpress.org/trunk@36846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:29:26 +00:00
Drew Jaynes
d59fdfd951
Docs: Add a missing @since
version to the DocBlock for wp_add_dashboard_widget()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36878
git-svn-id: http://core.svn.wordpress.org/trunk@36845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:17:26 +00:00
Andrea Fercia
5bd8219816
Customizer: Improve the collapsed view when switching to the responsive view.
...
Props rittesh.patel, afercia.
Fixes #35220 .
Built from https://develop.svn.wordpress.org/trunk@36877
git-svn-id: http://core.svn.wordpress.org/trunk@36844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:05:27 +00:00
Pascal Birchler
033044a872
Taxonomy: Improve backward compatibility on the wp-admin/term.php
page.
...
Specifically, run `do_action( 'edit-tags.php' );` on this new term edit page introduced in [36308]. Changes the GET param back to `tag_ID` and properly sets the screen base in `WP_Screen`.
See #34988 .
Built from https://develop.svn.wordpress.org/trunk@36874
git-svn-id: http://core.svn.wordpress.org/trunk@36841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 12:56:28 +00:00
Dion Hulse
cbda43788b
Setup config: Generate the default secret keys & salts from the local CSPRNG if available, falling back to the WordPress.org API and a backup psuedo random source.
...
Props diddledan.
Fixes #35290
Built from https://develop.svn.wordpress.org/trunk@36872
git-svn-id: http://core.svn.wordpress.org/trunk@36839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 06:32:29 +00:00
Andrea Fercia
aaa040eee9
CSS: Rename the handle for deprecated-media.css
after [36341].
...
The `media` handle is now used for `media.css` thus the stylesheet
for the old media UI needs a different handle name.
See #35229 .
Built from https://develop.svn.wordpress.org/trunk@36869
git-svn-id: http://core.svn.wordpress.org/trunk@36836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 15:38:28 +00:00
Sergey Biryukov
b80a516549
Docs: Add wp_add_dashboard_widget()
parameter descriptions.
...
Props meitar for initial patch.
Fixes #36092 .
Built from https://develop.svn.wordpress.org/trunk@36868
git-svn-id: http://core.svn.wordpress.org/trunk@36835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 12:08:28 +00:00
Weston Ruter
40f6779665
Customize: Fix image cropping when doing live preview of theme switches.
...
Ensure that the Customizer gets bootstrapped with the pre-activated `theme` supplied in the `custom-header-crop` admin ajax requests.
Props faishal, rittesh.patel.
Fixes #32783 .
Built from https://develop.svn.wordpress.org/trunk@36866
git-svn-id: http://core.svn.wordpress.org/trunk@36833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 01:45:27 +00:00
Dominik Schilling
30f8c75047
Themes: Bring the device preview from [31195] to the theme install previewer.
...
Props celloexpressions.
Fixes #36017 .
Built from https://develop.svn.wordpress.org/trunk@36858
git-svn-id: http://core.svn.wordpress.org/trunk@36825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 22:07:25 +00:00
John Blackbourn
3184328ecb
Posts, Post Types: Ensure that non-ASCII characters in attachment slugs aren't shown in urlencoded form in the sample permalink UI.
...
Fixes #35980
Built from https://develop.svn.wordpress.org/trunk@36853
git-svn-id: http://core.svn.wordpress.org/trunk@36820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 03:56:27 +00:00
Eric Lewis
0c1cca9961
Menus: Ensure theme location setting data is saved with a large menu.
...
[36510] introduced a fix to allow users to save large menus on the Edit Menu screen (70+ menu items). The form data is stored as JSON which is used to inject the `$_POST` variable in the form submission handler. This injection was not setting form items with named array elements properly (e.g. `menu-locations[primary]`), which did not save theme location data in a large form.
Props keraweb.
See #14134 .
Built from https://develop.svn.wordpress.org/trunk@36852
git-svn-id: http://core.svn.wordpress.org/trunk@36819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 00:47:26 +00:00
Weston Ruter
a8ca958d43
Customize: Eliminate unnecessary WP_Customize_Site_Logo_Control
in favor of re-using WP_Customize_Image_Control
.
...
* Removes double `margin-bottom` from all the media controls.
* All media controls now send `{settingId}-attachment-data` messages to the preview when a media setting is updated so that the preview has access to the attachment data.
* Fixes receiving of `attachment-data` message for `custom_logo` which resulted in instant JS-applied preview not working. See #36096 .
See #33755 .
Fixes #35941 .
Built from https://develop.svn.wordpress.org/trunk@36851
git-svn-id: http://core.svn.wordpress.org/trunk@36818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 23:47:26 +00:00
Dominik Schilling
f11d47d9ba
I18N: Fix an invalid placeholder added in [36844].
...
See #36048 .
Built from https://develop.svn.wordpress.org/trunk@36850
git-svn-id: http://core.svn.wordpress.org/trunk@36817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 21:10:26 +00:00
Andrew Ozz
3bb9185496
TinyMCE, inline link: add styling for the dialog and UI Autocomplete to Press This.
...
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36849
git-svn-id: http://core.svn.wordpress.org/trunk@36816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 20:31:26 +00:00
Andrew Ozz
9b2d44e5a1
Pres This:
...
- Change the newly added `press_this_save_post_content` filter to `press_this_save_post` and pass the $post_data array to it.
- Remove the newly added `press_this_useful_html_elements`. It only runs in compatibility mode when a URL is typed by the user.
- Remove the `press_this_suggested_content` filter. It is redundant as the suggested HTML for the editor is already filtered by `press_this_suggested_html`.
- Add some more inline docs and rename couple of vars to make the code more readable.
Fixes #34455 .
Built from https://develop.svn.wordpress.org/trunk@36848
git-svn-id: http://core.svn.wordpress.org/trunk@36815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 18:56:26 +00:00
Sergey Biryukov
ac2aab5b82
I18N: Move the aria-label
text in get_theme_update_available()
to a separate string for easier translation.
...
Add translator comments.
Props ramiy.
Fixes #36048 .
Built from https://develop.svn.wordpress.org/trunk@36845
git-svn-id: http://core.svn.wordpress.org/trunk@36812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 11:12:26 +00:00
Sergey Biryukov
0ab23c217f
I18N: Move the aria-label
text in wp_plugin_update_row()
and wp_theme_update_row()
to a separate string for easier translation.
...
Add translator comments.
Props ramiy.
See #36048 .
Built from https://develop.svn.wordpress.org/trunk@36844
git-svn-id: http://core.svn.wordpress.org/trunk@36811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 11:08:27 +00:00
Sergey Biryukov
7ef42ed781
Comment out some CSS files in $_old_files
that were added back as a result of [36341].
...
Add a unit test to make sure the `$_old_files` array does not contain any current project files.
Props joemcgill, swissspidy.
Fixes #36083 .
Built from https://develop.svn.wordpress.org/trunk@36843
git-svn-id: http://core.svn.wordpress.org/trunk@36810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 07:56:27 +00:00
Konstantin Obenland
0f9f8418f8
Customize: Don't show custom image sizes in the media modal.
...
Custom image sizes for logos should only be used for their intended purpose.
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36839
git-svn-id: http://core.svn.wordpress.org/trunk@36806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 21:45:26 +00:00
Konstantin Obenland
1ef0d464d7
Customize: Rename custom logo classes after [36837].
...
Fixes #35945 .
Built from https://develop.svn.wordpress.org/trunk@36838
git-svn-id: http://core.svn.wordpress.org/trunk@36805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 19:59:27 +00:00
Konstantin Obenland
147d6d7d6c
Customize: Site logos are custom logos.
...
Brings the nomenclature closer to custom headers and backgrounds.
See https://wordpress.slack.com/archives/core/p1456955151003150
See #35945 .
Built from https://develop.svn.wordpress.org/trunk@36837
git-svn-id: http://core.svn.wordpress.org/trunk@36804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 19:56:26 +00:00
Sergey Biryukov
9e8b3817fd
Docs: Correct $plugins
global type in WP_Plugins_List_Table::prepare_items()
.
...
Props mt8.biz.
Fixes #36080 .
Built from https://develop.svn.wordpress.org/trunk@36830
git-svn-id: http://core.svn.wordpress.org/trunk@36797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 10:01:25 +00:00
Pascal Birchler
05c069272f
Docs: Move the hook doc for the all_plugins
filter in WP_Plugins_List_Table::prepare_items()
to directly precede the apply_filters()
line.
...
See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36828
git-svn-id: http://core.svn.wordpress.org/trunk@36795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:51:25 +00:00
Drew Jaynes
fc57bb7a04
Docs: Minorly improve the hook doc summary for the pre_network_site_new_created_user
action, introduced in [35786].
...
See #33631 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36826
git-svn-id: http://core.svn.wordpress.org/trunk@36793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:03:25 +00:00
Drew Jaynes
56fb3cc08d
Docs: Improve documentation for upgrade_450()
, introduced in [36180].
...
See #27772 , #35323 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36825
git-svn-id: http://core.svn.wordpress.org/trunk@36792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:01:26 +00:00
Drew Jaynes
9b531bb473
Docs: Minorly improve the hook doc summary for the pre_uninstall_plugin
action, introduced in [36124].
...
See #34569 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36824
git-svn-id: http://core.svn.wordpress.org/trunk@36791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 08:58:26 +00:00
Drew Jaynes
5c8a9e68b6
Docs: Add a more descriptive changelog entry to the hook doc for the privacy_on_link_title
filter.
...
See #35049 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36823
git-svn-id: http://core.svn.wordpress.org/trunk@36790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 08:56:26 +00:00
Drew Jaynes
08e7c845cc
Docs: Improve documentation for WP_Upgrader::release_lock()
, introduced in [36349].
...
See #34878 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36822
git-svn-id: http://core.svn.wordpress.org/trunk@36789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:11:25 +00:00
Drew Jaynes
1dc0a9a5f7
Docs: Improve documentation for WP_Upgrader::create_lock()
, introduced in [36349].
...
See #34878 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36821
git-svn-id: http://core.svn.wordpress.org/trunk@36788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:08:25 +00:00
Drew Jaynes
e230095225
Docs: Use third-person singular verbs in DocBlock summaries for the WP_Site_Logo
class, introduced in [36698].
...
Also minorly improves various inline docs.
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36820
git-svn-id: http://core.svn.wordpress.org/trunk@36787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:04:25 +00:00
Drew Jaynes
4fda7ca277
Docs: Match the parameter name in the hook docs for the press_this_useful_html_elements
filter, introduced in [36672].
...
See #34455 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36819
git-svn-id: http://core.svn.wordpress.org/trunk@36786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 06:58:26 +00:00
Sergey Biryukov
1dc98b2e49
Taxonomy: Remove unnecessary 'All categories' string on Edit Posts and Edit Links screens and use taxonomy's all_items
label instead.
...
Props johnbillion.
Fixes #36049 .
Built from https://develop.svn.wordpress.org/trunk@36808
git-svn-id: http://core.svn.wordpress.org/trunk@36775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 22:14:25 +00:00
Weston Ruter
ee85740365
Customize: Remove gap above section contained in panel when initially focusing on control.
...
Props mattwiebe.
Fixes #36050 .
Built from https://develop.svn.wordpress.org/trunk@36805
git-svn-id: http://core.svn.wordpress.org/trunk@36772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 18:37:26 +00:00
Weston Ruter
2caafbe1a0
Customize: Fix visibility of preview in iOS.
...
Removes CSS rule added in [21014] that is now obsolete.
Props adamsilverstein.
See #20805 .
Fixes #35875 .
Built from https://develop.svn.wordpress.org/trunk@36804
git-svn-id: http://core.svn.wordpress.org/trunk@36771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 18:22:26 +00:00
Weston Ruter
94b59e7f0d
Customize: Ensure autofocus deep-linking applies for dynamically-created panels, sections, and controls.
...
Removes overly-zealous filtering of autofocus panels, sections, and controls which are unrecognized or for which the user doesn't have the capability to focus (in which case it would no-op anyway). Also defers autofocus logic until instances are created, even after initial `ready` event. This ensures that autofocus can apply for any panels, sections, or controls that get created via the loaded preview.
See #28650 .
Fixes #36018 .
Built from https://develop.svn.wordpress.org/trunk@36796
git-svn-id: http://core.svn.wordpress.org/trunk@36763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 22:04:27 +00:00
Sergey Biryukov
5ed4b4ed7b
I18N: Remove HTML tags from translatable string in wp-admin/includes/dashboard.php
.
...
Props ramiy, SergeyBiryukov.
Fixes #36013 .
Built from https://develop.svn.wordpress.org/trunk@36793
git-svn-id: http://core.svn.wordpress.org/trunk@36760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 01:39:27 +00:00
Andrea Fercia
cc58c4a940
Link Manager: Fix usage of translation functions after [35998].
...
Uses `printf()` instead, adds translator comment.
Fixes #35135 .
Built from https://develop.svn.wordpress.org/trunk@36792
git-svn-id: http://core.svn.wordpress.org/trunk@36759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 23:26:26 +00:00
Sergey Biryukov
2099e388bb
Comments: Avoid extra AJAX requests when undoing Spam or Trash actions.
...
Props afercia.
Fixes #35904 .
Built from https://develop.svn.wordpress.org/trunk@36774
git-svn-id: http://core.svn.wordpress.org/trunk@36741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 03:20:26 +00:00
Sergey Biryukov
d986a84152
I18N: Remove <code>
tag from translatable string in wp-admin/network/site-new.php
.
...
Props ramiy.
Fixes #35989 .
Built from https://develop.svn.wordpress.org/trunk@36771
git-svn-id: http://core.svn.wordpress.org/trunk@36738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 02:44:26 +00:00
Sergey Biryukov
6cf7973221
I18N: Remove HTML tags from translatable strings in wp-admin/network/themes.php
.
...
Props ramiy.
Fixes #35988 .
Built from https://develop.svn.wordpress.org/trunk@36770
git-svn-id: http://core.svn.wordpress.org/trunk@36737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 02:38:26 +00:00