Commit Graph

34232 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
f903fb5160 Common CSS: Reset bottom padding for .nav-tab-wrapper.
Props ericdaams.
Fixes #35960.

git-svn-id: https://develop.svn.wordpress.org/trunk@37073 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 20:13:57 +00:00
Dominik Schilling (ocean90)
4727f60c15 External Libraries: Update jQuery Migrate to 1.4.0.
Changes: https://github.com/jquery/jquery-migrate/compare/1.3.0...1.4.0

Fixes #35380.

git-svn-id: https://develop.svn.wordpress.org/trunk@37072 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 19:43:17 +00:00
Boone Gorges
8e317daa37 Tests: Ensure that the default wp_die() handler can handle a WP_Error object.
Props dd32, utkarshpatel.
Fixes #36166.

git-svn-id: https://develop.svn.wordpress.org/trunk@37071 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 19:00:38 +00:00
Dominik Schilling (ocean90)
703bd5f97f External Libraries: Update jQuery to 1.12.2.
Release post: http://blog.jquery.com/2016/03/17/jquery-1-12-2-and-2-2-2-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.1...1.12.2

See #35380.

git-svn-id: https://develop.svn.wordpress.org/trunk@37070 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 18:46:19 +00:00
Drew Jaynes
979d8931d3 Docs: Properly mark $args parameters in two WP_oEmbed methods as optional.
Also clarify that the `$args` parameters can accept a string (the default) in addition to an array.

Props ramiy.
See #36296.


git-svn-id: https://develop.svn.wordpress.org/trunk@37069 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 17:07:58 +00:00
Drew Jaynes
79150b2561 Docs: Use third-person singular verbs for summary DocBlocks in WP_oEmbed.
Also fixes inline `@see` formatting in appropriate places (summaries should not contain tags or markdown).

Props ramiy.
See #36296.


git-svn-id: https://develop.svn.wordpress.org/trunk@37068 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 16:57:08 +00:00
Drew Jaynes
d793244e3c Docs: Improve and add missing DocBlocks for methods and properties in WP_oEmbed.
Props ramiy.
See #36296.


git-svn-id: https://develop.svn.wordpress.org/trunk@37067 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 16:51:48 +00:00
Weston Ruter
b5cd3f862c Customize: Replace site logo with custom logo terminology, fixing failure to preview logo changes.
Fixes regression introduced in [37040] which was from a patch that did not include the terminology change. 

See #36255.
Fixes #35855.


git-svn-id: https://develop.svn.wordpress.org/trunk@37066 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 06:26:00 +00:00
Drew Jaynes
1395ff6db4 Docs: Improve inline documentation syntax throughout WP_Widget.
Fixes #36298.


git-svn-id: https://develop.svn.wordpress.org/trunk@37065 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 05:31:31 +00:00
Drew Jaynes
43dfcc5fa8 Docs: Add missing information to the WP_Widget PHP4 constructor DocBlock.
Also add several missing at `@access` tags to other method DocBlocks and clarify parameter docs for `WP_Widget::form_callback()`.

Props raimy.
See #36298.


git-svn-id: https://develop.svn.wordpress.org/trunk@37064 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 05:09:48 +00:00
Drew Jaynes
cbf08027df Docs: Use third-person singular verbs for method summaries in WP_Widget_Factory.
Fixes #36299.


git-svn-id: https://develop.svn.wordpress.org/trunk@37063 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 04:50:26 +00:00
Drew Jaynes
4d077b3a90 Docs: Add missing information to constructors DocBlocks for WP_Widget_Factory.
See #36299.


git-svn-id: https://develop.svn.wordpress.org/trunk@37062 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 04:18:26 +00:00
Drew Jaynes
7ce686fef1 Docs: Add a missing DocBlock for the WP_Widget_Factory::$widgets property.
Props raimy.
See #36299.


git-svn-id: https://develop.svn.wordpress.org/trunk@37061 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 04:10:27 +00:00
Weston Ruter
43b9dedeea Customize: Prevent preview iframe from showing until fully loaded.
Fixes issue where the Customizer preview window can appear to momentarily bounce to the top when being refreshed. Regression from [36532].

See #31195.
Fixes #36276.


git-svn-id: https://develop.svn.wordpress.org/trunk@37060 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-23 00:52:20 +00:00
Dominik Schilling (ocean90)
6c0a66cf49 Users: In edit_user() check for a blank password when adding a user.
Props wesleye, gitlost, adamsilverstein.
Fixes #35715.

git-svn-id: https://develop.svn.wordpress.org/trunk@37059 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 23:06:29 +00:00
Dominik Schilling (ocean90)
2a8573c6ca Travis CI: Allow to cache the node_modules directory.
This should speed up the installation of npm dependencies.

Props netweb.
Fixes #36291.

git-svn-id: https://develop.svn.wordpress.org/trunk@37058 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 21:49:36 +00:00
Drew Jaynes
bcc058d02d Docs: Mark optional method parameters as such in Walker_Page.
Also normalizes parameter spacing following [37056].

Fixes #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37057 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 18:06:58 +00:00
Drew Jaynes
b44910599c Docs: The page object type in use in Walker_Page is WP_Post.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37056 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 18:04:06 +00:00
Drew Jaynes
c7d05cff99 Docs: Improve inline documentation for properties and methods in Walker_Page.
Props raimy.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37055 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 18:03:07 +00:00
Drew Jaynes
6f43565b51 Docs: The page object type in use in Walker_PageDropdown is WP_Post.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37054 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:52:53 +00:00
Drew Jaynes
eacd0d863d Docs: Improve inline documentation for properties and methods in Walker_PageDropdown.
Props raimy for the initial patch.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37053 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:50:35 +00:00
Drew Jaynes
39bdd5fc3d Docs: Normalize Walker_Comment method parameter docs spacing following [37051].
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37052 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:45:26 +00:00
Drew Jaynes
542f0a118e Docs: Comment display element object types for Walker_Comment are WP_Comment since 4.4.0.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37051 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:43:51 +00:00
Drew Jaynes
c4f61cf686 Docs: Improve inline documentation syntax for Walker_Comment.
* Marks optional parameters as such
* Improves existing parameter descriptions for clarity
* Syntax improvements

See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37050 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:40:27 +00:00
Drew Jaynes
436a966430 Docs: Standardize the class DocBlock summary for Walker_Comment.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37049 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:35:34 +00:00
Drew Jaynes
7479108b35 Docs: Improve inline documentation for properties and methods in Walker_Comment.
Props raimy for the initial patch.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37048 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:33:56 +00:00
Drew Jaynes
fc63cad200 Docs: Mark optional parameters in Walker_Category methods as such.
Also cleans up some syntax.

See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37047 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:29:40 +00:00
Drew Jaynes
a76c9c6cb2 Docs: Improve inline documentation for property and methods in Walker_Category.
Props raimy for the initial patch.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37046 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:24:49 +00:00
Drew Jaynes
07a91afd82 Docs: Improve inline documentation in property and method DocBlocks for Walker_CategoryDropdown.
Props ramiy for the initial patch.
See #36300.


git-svn-id: https://develop.svn.wordpress.org/trunk@37045 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 17:21:20 +00:00
Rachel Baker
dab5c5daa7 XMLRPC: Unit tests left off [r37043]
See #35874.

Props redsweater, rachelbaker

git-svn-id: https://develop.svn.wordpress.org/trunk@37044 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 15:11:06 +00:00
Rachel Baker
06254f9a08 XMLRPC: Fix bug where draft posts couldn’t be published in the future, and would publish immediately.
Resolves bug introduced in [r34572], in which editing a Post via the XMLRPC API with a draft post_status, where the post_status changes from draft->publish with a future post_date set for the publish action, will have the future post_date disregarded and the Post will be published immediately. The expected behavior is that the post_date is used to schedule the Post to be published in the future.

Fixes #35874.

Props redsweater, rachelbaker, DrewAPicture

git-svn-id: https://develop.svn.wordpress.org/trunk@37043 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 15:09:05 +00:00
Weston Ruter
48b70c3504 Customize: Add support for flex sizes in CustomizeImageCropper.
Ensures that `$flex_width` and `$flex_height` as specified on `WP_Customize_Cropped_Image_Control` will be honored when a crop is saved.

See #36255.
Fixes #34851.


git-svn-id: https://develop.svn.wordpress.org/trunk@37042 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 03:54:58 +00:00
Joe Hoyle
2399173712 REST API: Provide better method for generating CURIEs
In [36533] CURIEs were added to the API responses for the link relation URIs, this makes
it a lot easier for clients to look up links by relation. That patch was functional, but
broke on edge cases such as embedded responses and collection items with links in the items.

This patch instead takes a less obtrusive approach by creating a new `get_compact_response_links`
to compliment `get_response_links` making both old and new functionality available.

Also the regex for curie relations has been relaxed to `.+` as rel names can have any uri-valid charector in it.

Fixes #34729.



git-svn-id: https://develop.svn.wordpress.org/trunk@37041 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-22 00:15:49 +00:00
Weston Ruter
4569f93d3e Customize: Require opt-in for selective refresh of widgets.
* Introduces `customize-selective-refresh-widgets` theme support feature and adds to themes.
* Introduces `customize_selective_refresh` arg for `WP_Widget::$widget_options` and adds to all core widgets.
* Remove `selective_refresh` from being a component that can be removed via `customize_loaded_components` filter.
* Add `WP_Customize_Widgets::get_selective_refreshable_widgets()` and `WP_Customize_Widgets::is_widget_selective_refreshable()`.
* Fix default `selector` for `Partial` instances.
* Implement and improve Masronry sidebar refresh logic in Twenty Thirteen and Twenty Fourteen, including preservation of initial widget position after refresh.
* Re-initialize ME.js when refreshing `Twenty_Fourteen_Ephemera_Widget`.

See #27355.
Fixes #35855.


git-svn-id: https://develop.svn.wordpress.org/trunk@37040 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-21 21:58:02 +00:00
Drew Jaynes
033c7465d5 Docs: Change the 'HTTPS' column header to 'Supports HTTPS' in the markdown providers tables in the hook doc for the oembed_providers filter.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@37039 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-21 00:57:45 +00:00
Drew Jaynes
669cb94db9 Docs: Add Twitter timelines and moments to the table in the hook doc for the oembed_provders filter, introduced in [36954].
See #36197. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@37038 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-21 00:39:44 +00:00
Mel Choyce
f6281aa6d6 Dashicons: Fix incorrect ID in SVG version of font.
See #34221.


git-svn-id: https://develop.svn.wordpress.org/trunk@37037 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 20:42:40 +00:00
Mel Choyce
b4dfa41abb Dashicons: Update to the latest files.
Updates .dashicons-googleplus (f462) and adds three new icons, .dashicons-move (f545), .dashicons-laptop (f547), and .dashicons-paperclip (f546).

Props liljimmi, melchoyce, empireoflight, aargh-a-knot.
See #34221.


git-svn-id: https://develop.svn.wordpress.org/trunk@37036 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 20:25:42 +00:00
Andrew Ozz
058a2f558d Media: fix erroneously inserting a rel attribute in get_image_send_to_editor(). Reverts most of [34259] and [34260] and adds a unit test.
Props joemcgill, azaozz.
Fixes #36084.

git-svn-id: https://develop.svn.wordpress.org/trunk@37035 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 20:04:19 +00:00
Andrew Ozz
33947e4ba6 Responsive Images: the src of the image has to be first in the srcset, because of a bug in iOS8. Update the unit tests to reflect the changes.
Props jaspermdegroot, joemcgill, azaozz.
Fixes #35030.

git-svn-id: https://develop.svn.wordpress.org/trunk@37034 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 19:44:50 +00:00
Tammie
d85a319cd1 Twenty Thirteen, Twenty Fourteen, Twenty Fifteen: Update screenshots to 1200 x 900
Fixes #34806
Props: iamtakashi


git-svn-id: https://develop.svn.wordpress.org/trunk@37033 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 17:00:40 +00:00
Drew Jaynes
f720a4f216 Docs: Document default WP_Ajax_Response::add() arguments as a hash notation.
Adds example output to the DocBlock description based on default argument values.

Props ramiy for the initial patch.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@37032 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-18 11:58:08 +00:00
Rachel Baker
da45e59bbd REST API: Add home_url to API index to avoid confusion with site_url.
Confusion abound, the API index is the generic term `url` to display the `site_url`. New `home` key will display the `home_url` in the index as well.

Fixes #35647.

git-svn-id: https://develop.svn.wordpress.org/trunk@37031 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 19:15:57 +00:00
Drew Jaynes
121bbc3b96 Docs: Improve 4.5 changelog entries introduced in [36992] for wp_authenticate(), and the authenticate and wp_login_failed hooks.
See #9568. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@37030 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 08:05:51 +00:00
Gary Pendergast
00cae29479 Emoji: The everythingExceptFlag browser support flag, introduced in [36816], wasn't being initialised correctly.
See #35300.



git-svn-id: https://develop.svn.wordpress.org/trunk@37029 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 04:59:14 +00:00
Gary Pendergast
83080f8e43 Emoji: Fix the diversity emoji check in Safari.
When the browser test for diversity emoji was added in [36160], it included a workaround for Chrome not being able to compare `Uint8ClampedArray` objects directly, by converting them to a string. Unfortunately, Safari doesn't support the `Uint8ClampedArray.toString()` method correctly, so the test was incorrectly failing in Safari.

Fixes #36266 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@37028 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 04:53:49 +00:00
Mike Schroder
007f3b456c Post 4.5-beta4 version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@37027 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 04:33:49 +00:00
Mike Schroder
9963b4a132 4.5-beta4
git-svn-id: https://develop.svn.wordpress.org/trunk@37026 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 04:16:44 +00:00
Drew Jaynes
e4547b78e3 Docs: Clarify documentation for the xmlrpc_enabled filter to better explain that its scope only extends to methods requiring authentication.
When the `xmlrpc_enabled` filter was initially introduced in [21509], it was effectively intended to replace the `enable_xmlrpc' UI option, which only controlled whether authenticated XML-RPC methods were enabled, such as for publishing actions. This change clarifies the expected behavior and adds information about ways to more granularly control XML-RPC method and request behavior with related hooks.

Part props mensmaximus.
See #21509. Fixes #36055.


git-svn-id: https://develop.svn.wordpress.org/trunk@37025 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 03:52:40 +00:00
Sergey Biryukov
57646fb7ba TinyMCE: Adjust textpattern tests for the changes in [37023].
See #33300.

git-svn-id: https://develop.svn.wordpress.org/trunk@37024 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 00:46:26 +00:00