Commit Graph

34116 Commits

Author SHA1 Message Date
Tammie 4b898888a6 Twenty Elevent: Captioned image fix for editor
Fixes #33153
Props: @iseulde


git-svn-id: https://develop.svn.wordpress.org/trunk@36957 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 21:12:25 +00:00
Tammie e62721d160 Twenty Thirteen: Removes title attribute from footer
Fixes #35843
Props: @davidakennedy


git-svn-id: https://develop.svn.wordpress.org/trunk@36956 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 21:06:07 +00:00
ocean90 72f82072d4 Build Tools: Rename the `precommit:core` task to `precommit:base` for clarification.
`precommit:base` runs only the `imagemin:core` task.

Fixes #35557.

git-svn-id: https://develop.svn.wordpress.org/trunk@36955 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 20:13:29 +00:00
Dominik Schilling (ocean90) 3046ac771c oEmbed: Extend the provider list to support moments and timelines from Twitter.
Fixes #36197.

git-svn-id: https://develop.svn.wordpress.org/trunk@36954 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 20:03:09 +00:00
John Blackbourn d9a7db711e Rewrite Rules: Allow rewrite rules to work in nested WordPress installations on IIS.
Props WiZZarD_
Fixes #35558


git-svn-id: https://develop.svn.wordpress.org/trunk@36953 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 20:00:05 +00:00
John Blackbourn 93942d330e Correct a unit test for custom icon functionality.
See #36086


git-svn-id: https://develop.svn.wordpress.org/trunk@36952 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 19:58:49 +00:00
John Blackbourn 4db068e862 Embeds: Add support for `dai.ly` embeds over HTTPS.
Fixes #36189


git-svn-id: https://develop.svn.wordpress.org/trunk@36951 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 19:48:15 +00:00
Konstantin Obenland cda0901425 Template: Explicitly set `full` as the default custom logo size.
See #33755.


git-svn-id: https://develop.svn.wordpress.org/trunk@36950 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 19:02:25 +00:00
Konstantin Obenland 6f69ca857e Tests: Introduce multisite unit tests.
Makes sure custom logo functions work for other sites within a network.
Fixes a bug in `get_custom_logo()` where the correct logo was returned, but
linked to the wrong site.

H/t ocean90.
See #33755, #36086.


git-svn-id: https://develop.svn.wordpress.org/trunk@36949 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:56:56 +00:00
Konstantin Obenland 827bcc32a8 Customize: Use full URL to image to prevent breakage if moved.
See https://core.trac.wordpress.org/ticket/33755#comment:103
See #33755.



git-svn-id: https://develop.svn.wordpress.org/trunk@36948 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:52:10 +00:00
Drew Jaynes 8ff9728013 Docs: Improve syntax in the DocBlock for `rest_get_server()`, introduced in [36529].
See #35329. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@36947 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:48:34 +00:00
Aaron Jorbin 6c3d9fe803 Update Twitter oEmbed URL.
Twitter moved its preferred oEmbed URL for single Tweets from api.twitter.com to publish.twitter.com. They also are deprecating XML responses. 

Props niallkennedy.
Fixes #36197.



git-svn-id: https://develop.svn.wordpress.org/trunk@36946 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:39:12 +00:00
Drew Jaynes 95a37a1e35 Docs: Improve the DocBlock summary for `wp_queue_posts_for_term_meta_lazyload()`, introduced in [36566].
See #35816. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@36945 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-10 18:28:33 +00:00
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