Drew Jaynes
2774bb1116
Docs: Improve the accuracy of the return description for unregister_post_type()
, introduced in [36316].
...
See #14761 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36944 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:24:45 +00:00
Konstantin Obenland
4c0c3f769f
Twenty Fifteen: Simplify twentyfifteen_the_custom_logo()
.
...
See b72e3d8059
See #35944 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36943 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:20:13 +00:00
Drew Jaynes
08ec976d15
Docs: Use a third-person singular verb for the get_the_excerpt()
DocBlock summary.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36942 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:51:42 +00:00
Drew Jaynes
cc4e2e3f64
Docs: Improve the DocBlock summary for wp_metadata_lazyloader()
, introduced in [36566].
...
See #35816 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36941 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:50:01 +00:00
Drew Jaynes
7c7a95cf9f
Docs: Improve the usefulness of the DocBlock summary for get_edit_term_link()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36940 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:47:58 +00:00
Drew Jaynes
606d131f52
Docs: Improve the 4.5.0 changelog entry in the hook doc for the get_archives_link
filter, introduced in [36418].
...
See #35573 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36939 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:46:44 +00:00
Drew Jaynes
d2a3bea2f7
Docs: Improve the $blog_id
parameter description in the DocBlock for the_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36938 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:45:20 +00:00
Drew Jaynes
71bd9dc422
Docs: Improve the $blog_id
parameter description in the DocBlock for get_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36937 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:44:23 +00:00
Drew Jaynes
5f72981462
Docs: Improve inline documentation for has_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36936 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 17:43:32 +00:00
Dominik Schilling (ocean90)
307f8d8558
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
git-svn-id: https://develop.svn.wordpress.org/trunk@36935 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 16:00:11 +00:00
Dominik Schilling (ocean90)
73a88ca194
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36934 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 14:05:41 +00:00
Mike Schroder
b49bc4e651
Post 4.5-beta3 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@36933 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 07:00:24 +00:00
Mike Schroder
171dc81a22
4.5-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@36932 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 06:48:58 +00:00
Gary Pendergast
ad57f8d6f9
Customize: Update cropper.js
to match changes in [36866].
...
`media-views.js` was updated, but the changes weren't added to `cropper.js`, which caused the `grunt precommit:js` job to incorrectly remove the changes from `media-views.js`.
Fixes #32783 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36931 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 05:41:04 +00:00
Aaron Jorbin
6abfb7a92a
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
git-svn-id: https://develop.svn.wordpress.org/trunk@36930 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 05:36:15 +00:00
Gary Pendergast
28a6bf00f7
About: Run w-logo-white.png
through imagemin
.
...
See #35661 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36929 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 05:15:33 +00:00
Gary Pendergast
792b7cd3a9
Emoji: Upgrade twemoji.js to version 2.
...
Adds official upstream support for Unicode 8.0 emoji, as well as file size and performance improvements.
Fixes #36059 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36928 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 05:10:27 +00:00
Gary Pendergast
17dc928316
Emoji: Twemoji replacements weren't working in TinyMCE after [36816].
...
See #35300 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36927 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 05:08:10 +00:00
Jeremy Felt
91513893c2
Posts: Call set_url_scheme()
consistently on URLs passed through preview_post_link
...
After [34170], some preview URLs that passed through `set_url_scheme()` no longer do so. We can restore that behavior by applying `set_url_scheme()` whenever `get_preview_post_link()` provides the URL.
Props danielbachhuber.
Fixes #35407 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36926 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 04:41:34 +00:00
Drew Jaynes
89cfbe98f1
Docs: Improve DocBlock syntax for wp_get_upload_dir()
, introduced in [36565].
...
See #34359 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36925 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 03:37:43 +00:00
Boone Gorges
47dd0e3471
Increase beautificatedness of language in grunt precommit
unit test messages.
...
Comma splices are bad, we should remove them from the codebase.
See #35557 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36924 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 03:01:06 +00:00
Drew Jaynes
3d331e46f1
Docs: Improve the DocBlock summary for the_embed_site_title()
, introduced in [36693].
...
See #34561 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36923 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:54:33 +00:00
Drew Jaynes
807396f94e
Docs: Improve the DocBlock summary for the clean_comment_cache
action, introduced in [36405].
...
See #35610 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36922 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:52:48 +00:00
Drew Jaynes
1d89f9e228
Docs: Improve syntax for the $lengths
parameter in the hook doc for the wp_get_comment_fields_max_lengths
filter, introduced in [36272].
...
See #10377 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36921 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:50:46 +00:00
Drew Jaynes
773ed4a36c
Docs: Improve the DocBlock summary for wp_get_comment_fields_max_lengths()
, introduced in [36514].
...
See #10377 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36920 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:45:15 +00:00
Drew Jaynes
a982b5462c
Docs: Improve the DocBlock summary for wp_queue_comments_for_comment_meta_lazyload()
, introduced in [36566].
...
See #35816 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36919 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:42:16 +00:00
Drew Jaynes
bd1e46eb82
Docs: Improve the usefulness of associated reference info in the hook doc for the comments_template_query_args
filter, introduced in [36235].
...
See #34442 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36918 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:31:53 +00:00
Drew Jaynes
14a393beaf
Docs: Add a missing DocBlock summary for the WP_Scripts->print_html_before
property, added in [36633].
...
See #14853 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36917 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 02:26:00 +00:00
Mike Schroder
fd8bd3520c
Media: Support Imagick in HHVM.
...
Removes case-sensitivity from Imagick feature detection within `WP_Image_Editor_Imagick::test()`.
This allows correct detection of Imagick support within HHVM.
Props markoheijnen, DuckDagobert.
Fixes #35973 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36916 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 01:18:39 +00:00
Konstantin Obenland
6d951b3c5d
Customize: Only add custom logo’s header text control if needed.
...
Dissolves `WP_CustomLogo` and adopts a structure similar to custom header and background (See `_delete_attachment_theme_mod()`).
The option to hide header text only gets added if it’s not already part of custom header, and only if selectors have been registered when theme support for custom logos was declared. Themes can add `postMessage` support for it as well.
Example:
{{{
add_theme_support( 'custom-logo', array(
'size' => ‘large’,
'header-text' => array( 'site-title', 'site-description' ),
) );
}}}
See #33755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36915 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 23:43:49 +00:00
Konstantin Obenland
4286a3e63b
Tests: Let's not reinvent wp_get_attachment_image()
.
...
See https://travis-ci.org/aaronjorbin/develop.wordpress/builds/114913862
See #36086 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36914 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 23:27:28 +00:00
Tammie
b37bfd8e29
Twenty Fifteen: add support for site logos
...
Fixes #35944
Props @iamtakashi, @celloexpressions, @drebbits.web
git-svn-id: https://develop.svn.wordpress.org/trunk@36913 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 23:01:53 +00:00
Konstantin Obenland
c1c6def489
Customize: Bump down the priority custom logo's control.
...
Keeps the control in the same place but allows for plugins and themes to place
other controls above it.
Props celloexpressions.
Fixes #35942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36912 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 22:02:06 +00:00
Konstantin Obenland
bf852575e2
Tests: Account for expected attachemnt size in custom logo output.
...
Fixes #36086 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36911 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 21:56:57 +00:00
Mel Choyce
14d0424513
About: Improve color contrast of WP Badge text, and update the logo to use the latest version.
...
Fixes #35661 .
Props @hugobaeta.
git-svn-id: https://develop.svn.wordpress.org/trunk@36910 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 21:52:29 +00:00
Konstantin Obenland
57686e8b5d
Themes: Support second argument in theme support for custom logo.
...
See #33755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36909 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 21:50:37 +00:00
Weston Ruter
7ececb24f5
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@36908 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 21:40:27 +00:00
Konstantin Obenland
326806a961
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36907 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 21:18:53 +00:00
Aaron Jorbin
81652abd8b
Improve grunt precommit task
...
Instead of running all tasks, all the time, let's run tasks based on the files changed. PHPUNIT is now a precommit task for all php file changes.
This adds a new dependency. Please run `npm install`.
Fixes #35557
Props ericlewis, netweb, jorbin
git-svn-id: https://develop.svn.wordpress.org/trunk@36906 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 20:54:10 +00:00
Aaron Jorbin
6adbde9340
Add Automated Tests for custom logo support
...
[36698] introduced custom logos, this tests the API.
Fixes #36086 . See #33755 .
Props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@36905 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 20:43:28 +00:00
Andrea Fercia
7e71bb398c
Accessibility: Reduce the WordPress shades of grey, Episode 3.
...
Also, removes some no more used CSS.
See #35783 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36904 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 19:50:28 +00:00
Weston Ruter
6740130925
Customize: Restore body class removed in [36837] for when custom logo is present.
...
The class name is `wp-custom-logo` and it will be toggled by JS in the Customizer preview when the custom logo is added or removed.
See #33755 .
Fixes #35945 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36903 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 19:32:33 +00:00
Sergey Biryukov
11c47a6cb5
Use admin_url()
for "Add New" links in wp-admin/users.php
.
...
Props johnjamesjacoby.
Fixes #36186 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36902 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 19:08:58 +00:00
Sergey Biryukov
96520194c7
Use admin_url()
for "Add New" links in wp-admin/upload.php
.
...
Props johnjamesjacoby.
See #36186 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36901 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 19:08:12 +00:00
Drew Jaynes
a72df051f8
Docs: Improve the DocBlock summary for WP::remove_query_var()
, introduced in [36177].
...
See #35234 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36900 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 17:04:59 +00:00
Drew Jaynes
72e258bdd5
Docs: Standardize file header summary for wp-includes/class-wp-metadata-lazyloader.php.
...
See [36897]. See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36899 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 16:58:08 +00:00
Drew Jaynes
94ac53331d
Docs: Improve inline documentation syntax throughout WP_Metadata_Lazyloader
, introduced in [36566].
...
See #35816 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36898 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 16:54:45 +00:00
Drew Jaynes
32f8a9b345
Docs: Add a missing file header to wp-includes/class-wp-metadata-lazyloader.php, introduced in [36566].
...
See #35816 . See #35986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36897 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 16:51:15 +00:00
Boone Gorges
79c92e605a
Correct @return
annotation for wp_set_object_terms()
and related functions.
...
The return value is an array of term taxonomy IDs, not term IDs.
Fixes #36182 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36896 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 16:16:29 +00:00
Jeremy Felt
fce77dc7c6
Docs: Update the return type for get_active_blog_for_user()
...
This is now a `WP_Site` object.
See #32450 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36895 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-09 07:49:50 +00:00