Drew Jaynes
75acd01f98
Docs: Notate format_for_editor()
as the replacement function in the DocBlock for the deprecated wp_richedit_pre()
.
...
Props rabmalin.
See #41121 . Fixes #40709 .
Built from https://develop.svn.wordpress.org/trunk@40949
git-svn-id: http://core.svn.wordpress.org/trunk@40799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 22:10:41 +00:00
Drew Jaynes
07f01a2e10
Docs: Replace a variety of http links referenced in inline docs with their https counterparts (where possible).
...
Props johnpgreen.
Fixes #40732 .
Built from https://develop.svn.wordpress.org/trunk@40948
git-svn-id: http://core.svn.wordpress.org/trunk@40798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 22:06:41 +00:00
Drew Jaynes
97ef1ca74b
Docs: Add missing deprecation, introduction, and summary information to the DocBlock for WP_Admin_Bar::recursive_render()
.
...
Props coffee2code.
Fixes #40840 .
Built from https://develop.svn.wordpress.org/trunk@40947
git-svn-id: http://core.svn.wordpress.org/trunk@40797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 21:58:41 +00:00
Drew Jaynes
3a3e133aaf
Docs: Clarify that the $post
parameters for the get_the_modified_date
and get_the_modified_time
filters can also be of type null
.
...
Props dlh.
Fixes #40845 .
Built from https://develop.svn.wordpress.org/trunk@40946
git-svn-id: http://core.svn.wordpress.org/trunk@40796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 21:50:40 +00:00
Drew Jaynes
30719312fb
Docs: Add a clarification to the description about what the $output
parameter in the embed_html
filter doc represents.
...
Props musus.
Fixes #37752 .
Built from https://develop.svn.wordpress.org/trunk@40945
git-svn-id: http://core.svn.wordpress.org/trunk@40795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 21:46:39 +00:00
Drew Jaynes
22f76adc8c
Docs: Add full documentation for members in the labels object returned by get_taxonomy_labels().
...
Props truongwp.
Fixes #41108 .
Built from https://develop.svn.wordpress.org/trunk@40944
git-svn-id: http://core.svn.wordpress.org/trunk@40794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 21:42:43 +00:00
Drew Jaynes
f6bf00d378
Docs: Add a note to the DocBlock for wp_signon()
mentioning that it doesn't handle setting the current user.
...
Also outlines the conditions that must be met for is_user_logged_in() to work with it.
Part props SergeyBiryukov.
Fixes #28116 .
Built from https://develop.svn.wordpress.org/trunk@40943
git-svn-id: http://core.svn.wordpress.org/trunk@40793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 20:08:40 +00:00
Drew Jaynes
de7499f88f
Docs: Add full documentation for arguments accepted by wp_get_nav_menu_items()
.
...
Also provide differentiation between arguments as passed to `get_posts()` vs used for ordering outputted menu items.
By and large, arguments in the `$args` array are intended to directly affect how nav_menu_item posts are retrieved. When the default ARRAY_A is used for 'output', the 'order' and 'orderby' arguments are essentially ignored, instead giving preference to a hard-coded order of 'ASC' and an orderby value derived from the non-get_posts() argument 'output_key'.
Fixes #15533 .
Built from https://develop.svn.wordpress.org/trunk@40942
git-svn-id: http://core.svn.wordpress.org/trunk@40792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 19:37:39 +00:00
Weston Ruter
b7ca48fff0
Widgets: Add accessibility mode support for TinyMCE-enhanced Text and Media widgets (Video, Audio, Images).
...
Amends [40640], [40631].
Props westonruter, afercia.
See #35243 , #32417 .
Fixes #40986 .
Built from https://develop.svn.wordpress.org/trunk@40941
git-svn-id: http://core.svn.wordpress.org/trunk@40791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 18:48:41 +00:00
John Blackbourn
a507248146
Users: Use more appropriate HTTP status codes for errors relating to user management.
...
Also re-uses one error message string.
Props tuanmh
Fixes #40230
Built from https://develop.svn.wordpress.org/trunk@40940
git-svn-id: http://core.svn.wordpress.org/trunk@40790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 18:46:44 +00:00
Weston Ruter
46551a898a
Widgets: Forcibly limit Video widget to only accept oEmbed URLs from YouTube and Vimeo (for now).
...
Amends [40640].
Props timmydcrawford.
See #34115 , #39994 .
Fixes #40935 .
Built from https://develop.svn.wordpress.org/trunk@40939
git-svn-id: http://core.svn.wordpress.org/trunk@40789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:24:41 +00:00
Drew Jaynes
ae690a3fdf
Scripts: Correctly reference WP_Scripts::print_extra_script()
as the replacement for the deprecated WP_Scripts::print_scripts_l10n()
method, rather than a nonexistent global print_extra_script() function.
...
Props fergbrain.
See #41121 .
Built from https://develop.svn.wordpress.org/trunk@40938
git-svn-id: http://core.svn.wordpress.org/trunk@40788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:20:41 +00:00
Drew Jaynes
4c60260c29
Docs: Fix alignment of the $output
parameter in the hook doc for the do_shortcode_tag
filter.
...
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40937
git-svn-id: http://core.svn.wordpress.org/trunk@40787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:06:22 +00:00
Peter Wilson
cc82d38f47
Emoji: Fix typo in browserSupportsEmoji()
comment.
...
Fairies not Faries, introduced in [40850].
Fixes #41157 .
Built from https://develop.svn.wordpress.org/trunk@40936
git-svn-id: http://core.svn.wordpress.org/trunk@40786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:05:42 +00:00
Weston Ruter
980f342ad6
Customize: Ensure header_image_data
setting exists before attempting to use it.
...
Amends [27497].
Props Collizo4sky.
Fixes #41007 .
Built from https://develop.svn.wordpress.org/trunk@40935
git-svn-id: http://core.svn.wordpress.org/trunk@40785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:04:42 +00:00
Sergey Biryukov
332884f8dc
Docs: Add a missing quote in user-agent
argument description in WP_Http::request()
.
...
Props ixkaito.
Fixes #41154 .
Built from https://develop.svn.wordpress.org/trunk@40934
git-svn-id: http://core.svn.wordpress.org/trunk@40784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 07:00:42 +00:00
Drew Jaynes
82ed0bdd11
Docs: Improve description wording for get_template_part()
in regard to overloading by child themes.
...
Also, update the summary to use a third-person singular verb.
Props ixmati.
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40933
git-svn-id: http://core.svn.wordpress.org/trunk@40783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 06:56:40 +00:00
Drew Jaynes
6146ba0b33
Docs: Clarify the description for esc_html__()
to note that the original text will be escaped on return if there is no translation, or the text domain isn't loaded.
...
Props brianlayman.
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40932
git-svn-id: http://core.svn.wordpress.org/trunk@40782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 06:41:41 +00:00
Drew Jaynes
c5da335097
Docs: Fix a typo in the description for the get_previous_post_link()
$link
parameter. The default value is '%title', not '%title%'.
...
Props kmgalanakis.
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40931
git-svn-id: http://core.svn.wordpress.org/trunk@40781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 06:20:43 +00:00
Drew Jaynes
fafa1dfa07
Docs: Add more complete documentation about expected values in the $meta
parameter for wpmu_create_blog()
.
...
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40930
git-svn-id: http://core.svn.wordpress.org/trunk@40780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 05:48:45 +00:00
Drew Jaynes
acea6cbad8
Improve the usefulness of several _deprecated_function()
calls by passing known replacement functions, methods, or hooks.
...
Props jrf.
See #41121 .
Built from https://develop.svn.wordpress.org/trunk@40929
git-svn-id: http://core.svn.wordpress.org/trunk@40779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-25 00:05:44 +00:00
Sergey Biryukov
c0cf33b8f5
Import: Increase color contrast for "This importer is not installed" message on Multisite.
...
Remove `.not-installed-main-site` class introduced in [38075], but never used.
Props nishitlangaliya, mbootsman.
Fixes #41117 .
Built from https://develop.svn.wordpress.org/trunk@40928
git-svn-id: http://core.svn.wordpress.org/trunk@40778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-24 18:07:43 +00:00
Andrew Ozz
7f6ae69843
TinyMCE: fix directionality settings for RTL languages.
...
Props westonruter, sa3idho.
Fixes #40972 for trunk.
Built from https://develop.svn.wordpress.org/trunk@40927
git-svn-id: http://core.svn.wordpress.org/trunk@40777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-24 09:19:43 +00:00
Weston Ruter
a46d94efeb
Widgets: Rename "HTML Code" widget to "Custom HTML" widget.
...
Correspondingly renames files, ID base from `html_code` to `custom_html`, and the filter from `widget_html_code_content` to `widget_custom_html_content`.
See #40907 .
Built from https://develop.svn.wordpress.org/trunk@40926
git-svn-id: http://core.svn.wordpress.org/trunk@40776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-24 00:00:45 +00:00
Sergey Biryukov
cf458a871d
Docs: Document tags_input
parameter in wp_insert_post()
.
...
Props barryceelen.
Fixes #41137 .
Built from https://develop.svn.wordpress.org/trunk@40925
git-svn-id: http://core.svn.wordpress.org/trunk@40775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-23 21:27:44 +00:00
Boone Gorges
779788d8d6
When querying for terms, do not assume that $taxonomies
is a 0-indexed array.
...
In [25108], the logic of term queries was modified to avoid assuming
that the `taxonomies` array was numerically indexed. See #23506 . This
fix was inadvertantly reverted during the refactor in [25162].
Props david.binda.
Fixes #41113 .
Built from https://develop.svn.wordpress.org/trunk@40924
git-svn-id: http://core.svn.wordpress.org/trunk@40774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-23 02:06:42 +00:00
Boone Gorges
8951af8ebb
Introduce loop_no_results
action.
...
This action fires when a `WP_Query` query returns no results.
Props mgibbs189.
Props #40850 .
Built from https://develop.svn.wordpress.org/trunk@40923
git-svn-id: http://core.svn.wordpress.org/trunk@40773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-23 01:55:44 +00:00
Drew Jaynes
3a6985de96
Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions:
...
* `post_form_autocomplete_off()`
* `_rotate_image_resource()`
* `_flip_image_resource()`
* `wp_get_sites()`
* `deactivate_sitewide_plugin()`
Props jrf.
See #41121 .
Built from https://develop.svn.wordpress.org/trunk@40922
git-svn-id: http://core.svn.wordpress.org/trunk@40772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-22 17:48:45 +00:00
Boone Gorges
2ebc1fb143
Cache results in get_objects_in_term()
.
...
This helps to reduce database queries when generating nav menus.
Props spacedmonkey.
Fixes #37094 .
Built from https://develop.svn.wordpress.org/trunk@40921
git-svn-id: http://core.svn.wordpress.org/trunk@40771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-22 03:19:44 +00:00
Boone Gorges
8ca91024e8
Improve cache invalidation when splitting shared terms.
...
This changeset addresses two related issues:
* When splitting shared terms from hierarchical taxonomies, the process of regenerating the taxonomy hierarchy (`_get_taxonomy_hierarchy()`) requires recursive calls to `get_terms()` in order to descend the tree. By waiting until all shared terms in a term group have been invalidated before regenerating their taxonomy hierarchies, we avoid certain race conditions.
* Previously, a coding error prevented single-term caches from being invalidated for children of split terms. This error dates from [31418].
See #37189 .
Built from https://develop.svn.wordpress.org/trunk@40920
git-svn-id: http://core.svn.wordpress.org/trunk@40770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-21 04:12:44 +00:00
Boone Gorges
989427d598
Introduce clean_taxonomy_cache()
function.
...
Previously, taxonomy-wide caches were cleaned only inside of
`clean_term_cache()`. This made it hard to clean taxonmy caches
in isolation from specific taxonomy terms.
Props spacedmonkey.
See #37189 .
Built from https://develop.svn.wordpress.org/trunk@40919
git-svn-id: http://core.svn.wordpress.org/trunk@40769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-21 04:04:41 +00:00
Boone Gorges
f730861b90
Use WP_Term_Query
when transforming tax queries.
...
This change allows tax query transformations to be cached.
Props spacedmonkey.
Fixes #37038 .
Built from https://develop.svn.wordpress.org/trunk@40918
git-svn-id: http://core.svn.wordpress.org/trunk@40768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-21 03:57:42 +00:00
Sergey Biryukov
3a190792ba
Docs: Add missing @param
and @return
descriptions for has_term_meta()
, wp_delete_category()
, and wp_term_is_shared()
.
...
Props keesiemeijer.
Fixes #41096 .
Built from https://develop.svn.wordpress.org/trunk@40917
git-svn-id: http://core.svn.wordpress.org/trunk@40767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-20 18:28:46 +00:00
Boone Gorges
92175dbd33
Add term meta support to XML-RPC addTerm
and editTerm
endpoints.
...
This changeset also includes the new function `has_term_meta()`, a
counterpart to `has_meta()` (for posts).
Props enrico.sorcinelli.
Fixes #35991 .
Built from https://develop.svn.wordpress.org/trunk@40916
git-svn-id: http://core.svn.wordpress.org/trunk@40766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-18 10:40:46 +00:00
Peter Wilson
395ff7aebe
Docs: Add wp-admin/js/media.js
documentation.
...
Props jipmoors, jjcomack, diedeexterkate.
Fixes #41072 .
Built from https://develop.svn.wordpress.org/trunk@40915
git-svn-id: http://core.svn.wordpress.org/trunk@40765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 15:37:53 +00:00
Peter Wilson
952975fd0d
Docs: Add wp-admin/js/custom-background.js
documentation.
...
Props jipmoors.
Fixes #41067 .
Built from https://develop.svn.wordpress.org/trunk@40914
git-svn-id: http://core.svn.wordpress.org/trunk@40764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 13:24:41 +00:00
Sergey Biryukov
c569080cd1
Docs: Add documentation for wp-admin/js/comment.js
.
...
Props ireneyoast, andizer, jipmoors.
Fixes #41065 .
Built from https://develop.svn.wordpress.org/trunk@40913
git-svn-id: http://core.svn.wordpress.org/trunk@40763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 13:02:40 +00:00
Sergey Biryukov
3abb3087df
Docs: Correct parameter description for posts_join
filter.
...
Props anhskohbo.
Fixes #40991 .
Built from https://develop.svn.wordpress.org/trunk@40912
git-svn-id: http://core.svn.wordpress.org/trunk@40762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:46:41 +00:00
Sergey Biryukov
e441ee48d2
I18N: Add @global
entry for $wp_locale
in wp_maybe_decline_date()
.
...
Props Dency.
Fixes #41046 .
Built from https://develop.svn.wordpress.org/trunk@40911
git-svn-id: http://core.svn.wordpress.org/trunk@40761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:24:41 +00:00
Sergey Biryukov
d14cc278ff
Editor: Correct $settings
parameter description in _WP_Editors::editor()
.
...
Props truongwp.
Fixes #40963 .
Built from https://develop.svn.wordpress.org/trunk@40910
git-svn-id: http://core.svn.wordpress.org/trunk@40760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:19:40 +00:00
Sergey Biryukov
f1740f3702
I18N: Correct translator comment for response error message in WP_Community_Events::get_events()
.
...
Props Soean, tfirdaus.
Fixes #40939 .
Built from https://develop.svn.wordpress.org/trunk@40909
git-svn-id: http://core.svn.wordpress.org/trunk@40759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:07:41 +00:00
Sergey Biryukov
0990313c25
Twenty Sixteen: Allow category display in post preview even when there is only one category.
...
Props lancewillett, davidakennedy.
Fixes #39531 .
Built from https://develop.svn.wordpress.org/trunk@40908
git-svn-id: http://core.svn.wordpress.org/trunk@40758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:06:41 +00:00
John Blackbourn
a72ec29c4d
General: Introduce a wp_is_mobile
filter for controlling whether a request should be treated as coming from a mobile device.
...
Props PressLabs
Fixes #41023
Built from https://develop.svn.wordpress.org/trunk@40907
git-svn-id: http://core.svn.wordpress.org/trunk@40757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:05:42 +00:00
John Blackbourn
523b08600f
Database: Add documentation for the allowed utf8mb4_520
value when detecting features with wpdb::has_cap()
.
...
Props rcutmore
Fixes #41044
Built from https://develop.svn.wordpress.org/trunk@40906
git-svn-id: http://core.svn.wordpress.org/trunk@40756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 12:00:43 +00:00
Sergey Biryukov
4398862f3d
I18N: Add context for News blog URL in 'WordPress Events and News' dashboard widget.
...
Props zodiac1978.
Fixes #40929 .
Built from https://develop.svn.wordpress.org/trunk@40905
git-svn-id: http://core.svn.wordpress.org/trunk@40755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 11:52:43 +00:00
Dominik Schilling
6a3be0ea29
Twenty Seventeen: Remove/merge unused variables in content-front-page.php.
...
#wceu2017
Props dingo_bastard, mariusvetrici.
Fixes #39771 .
Built from https://develop.svn.wordpress.org/trunk@40904
git-svn-id: http://core.svn.wordpress.org/trunk@40754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 10:20:42 +00:00
Boone Gorges
736e6a2977
Simplify documentation for wp_dropdown_categories()
.
...
Props ArnaudBan.
Fixes #41058 .
Built from https://develop.svn.wordpress.org/trunk@40903
git-svn-id: http://core.svn.wordpress.org/trunk@40753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 09:39:42 +00:00
Adam Silverstein
7846cdc632
Media: Disable the edit image->replace button when no item selected.
...
On the edit media screen, ensure that the 'replace' button is disabled until a media item is selected. Fix an issue where clicking the button with no item selected threw a JavaScript error and failed to work.
Props timmydcrawford, subrataemfluence, psiico.
Fixes #40589 .
Built from https://develop.svn.wordpress.org/trunk@40902
git-svn-id: http://core.svn.wordpress.org/trunk@40752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 09:38:46 +00:00
Pascal Birchler
b0fed2af63
Embeds: Update oEmbed endpoint URL for VideoPress.
...
Props NomNom99.
Fixes #41019 .
Built from https://develop.svn.wordpress.org/trunk@40901
git-svn-id: http://core.svn.wordpress.org/trunk@40751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-15 05:38:45 +00:00
Drew Jaynes
39d2d9f19e
Docs: Include 'parent' as an acceptable entry for the $orderby
argument in WP_Term_Query
.
...
h/t kalor.
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40900
git-svn-id: http://core.svn.wordpress.org/trunk@40750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-13 03:11:40 +00:00
Drew Jaynes
fe163ec82a
Docs: Clarify that get_the_author_meta()
can also return an empty string.
...
h/t aurovrata.
See #41017
Built from https://develop.svn.wordpress.org/trunk@40899
git-svn-id: http://core.svn.wordpress.org/trunk@40749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-13 02:33:42 +00:00
Drew Jaynes
a64aa2115d
Docs: Correct a typo in the sort_column
argument description for wp_page_menu()
.
...
h/t spacegrrl.
See #41017 .
Built from https://develop.svn.wordpress.org/trunk@40898
git-svn-id: http://core.svn.wordpress.org/trunk@40748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-13 01:11:43 +00:00
Andrea Fercia
f28f4fc637
Accessibility: Avoid a keyboard trap on the permalink custom structure setting.
...
Using the `focus` event on the permalink custom structure field made impossible
to navigate through all the form fields using only the keyboard without actually
selecting the custom structure setting. Instead, using click and input preserves
the original functionality when using any kind of pointing or input device.
Also changes `attr()` to `prop()`` as recommended for a `checked` property.
Fixes #40982 .
Built from https://develop.svn.wordpress.org/trunk@40897
git-svn-id: http://core.svn.wordpress.org/trunk@40747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-12 14:09:43 +00:00
Weston Ruter
2327afb5fe
Customize: Restore right border on footer actions.
...
Fixes regression introduced in [40511].
Props timmydcrawford.
See #32296 .
Fixes #40978 .
Built from https://develop.svn.wordpress.org/trunk@40896
git-svn-id: http://core.svn.wordpress.org/trunk@40746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-12 00:17:44 +00:00
Sergey Biryukov
5041510529
Docs: Remove duplicate @return
keyword in WP_Community_Events::get_request_args
.
...
Props ketuchetan.
Fixes #40973 .
Built from https://develop.svn.wordpress.org/trunk@40895
git-svn-id: http://core.svn.wordpress.org/trunk@40745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-11 11:10:43 +00:00
Sergey Biryukov
678b53cb45
Docs: Add missing opening quote for 'home' in {$type}_template_hierarchy
and {$type}_template
filters documentation.
...
Props tmatsuur, truongwp.
Fixes #40962 .
Built from https://develop.svn.wordpress.org/trunk@40894
git-svn-id: http://core.svn.wordpress.org/trunk@40744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-10 22:48:44 +00:00
Weston Ruter
38db73cff8
Widgets: Add widget dedicated for HTML Code, taking over this role of the Text widget.
...
Props westonruter, timmydcrawford.
See #40951 , #35243 .
Fixes #40907 .
Built from https://develop.svn.wordpress.org/trunk@40893
git-svn-id: http://core.svn.wordpress.org/trunk@40743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-09 23:54:42 +00:00
Weston Ruter
011d33e95b
Media: Restrict appending loop
parameter to Vimeo URLs specifically and not all external URLs in Video widget (via shortcode).
...
Fixes issue where Video widgets embedding external files fail to get recognized due to the presence of the `loop` param after the video filename, even though it has a recognized extension. Regardless, the `loop` param is only present to fix a Vimeo issue in ME.js 2.x.
Props timmydcrawford.
Amends [40640].
See #39686 , #39994 .
Fixes #40977 .
Built from https://develop.svn.wordpress.org/trunk@40892
git-svn-id: http://core.svn.wordpress.org/trunk@40742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-09 19:29:43 +00:00
Aaron Jorbin
9cff8ff056
About Page: update CSS with prefixes
...
Seconded by melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40885
git-svn-id: http://core.svn.wordpress.org/trunk@40735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-08 04:51:42 +00:00
Aaron Jorbin
efc146a3ca
Bundled Themes - Bump themes in preparation for 4.8
...
Change version numbers in stylesheets, fix typo in Twenty Fourteen readme and update copyright dates for themes. Twentysixteen wasn't updated this cycle.
See #40745 for changes that helped push this along.
Fixes #40905 .
Props davidakennedy, mrahmadawais, maedahbatool.
Built from https://develop.svn.wordpress.org/trunk@40883
git-svn-id: http://core.svn.wordpress.org/trunk@40733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-08 04:40:43 +00:00
Sergey Biryukov
04c688ad52
Docs: Add missing closing quote for 'Restore' in post_row_actions
and page_row_actions
filters documentation.
...
See #26397 .
Built from https://develop.svn.wordpress.org/trunk@40882
git-svn-id: http://core.svn.wordpress.org/trunk@40732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-07 23:11:43 +00:00
Mel Choyce
1f2231fccc
About: Swap out images and videos for CDN versions, and add responsive images.
...
Props: joemcgill, pento.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40881
git-svn-id: http://core.svn.wordpress.org/trunk@40731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-07 22:07:40 +00:00
Dominik Schilling
ec0918a6a7
Upgrade: Add wp-includes/js/tinymce/plugins/wpembed
to $_old_files
.
...
See #39513 .
Fixes #40942 .
Built from https://develop.svn.wordpress.org/trunk@40879
git-svn-id: http://core.svn.wordpress.org/trunk@40729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-07 21:32:44 +00:00
Andrea Fercia
1d34043e8c
Dashboard: Better titles for the Recent Drafts widget.
...
- changes "Drafts" to "Your Recent Drafts" to clarify displayed drafts are the ones from the current user
- clarifies and simplifies the "View all" link
Props soniakash, sudar, bhargavbhandari90, zachwtx, johnroper100, rcutmore.
Fixes #37595 .
Built from https://develop.svn.wordpress.org/trunk@40877
git-svn-id: http://core.svn.wordpress.org/trunk@40727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-05 12:00:43 +00:00
Adam Silverstein
c7f7e76515
Media: Fix an issue selecting media when clicking item edges.
...
Adjust targeting of the click handler for media item selection so clicking edges of media items properly selects them.
Props circlecube, psiico.
Fixes #40578 .
Built from https://develop.svn.wordpress.org/trunk@40874
git-svn-id: http://core.svn.wordpress.org/trunk@40724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-05 00:49:43 +00:00
John Blackbourn
2607373832
Build/Test Tools: I don't know how this happened.
...
See #39822
Built from https://develop.svn.wordpress.org/trunk@40873
git-svn-id: http://core.svn.wordpress.org/trunk@40723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-02 14:11:42 +00:00
John Blackbourn
f5230de682
Build/Test Tools: Fix PHP 5.2 compatibility for grandchild methods which expect exceptions to be raised.
...
This is due to `is_callable( 'parent::setExpectedException' )` not being supported on PHP 5.2 when the method being checked only exists on the grandparent class.
Props jdgrimes
See #39822
Built from https://develop.svn.wordpress.org/trunk@40872
git-svn-id: http://core.svn.wordpress.org/trunk@40722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-02 13:18:45 +00:00
Ella Iseulde Van Dorpe
ff8af70bf1
Trunk is really 4.9-alpha now
...
Built from https://develop.svn.wordpress.org/trunk@40871
git-svn-id: http://core.svn.wordpress.org/trunk@40721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 22:08:40 +00:00
Ella Iseulde Van Dorpe
9fed860b33
Trunk is now 4.9-alpha
...
Built from https://develop.svn.wordpress.org/trunk@40870
git-svn-id: http://core.svn.wordpress.org/trunk@40720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 21:48:40 +00:00
Ella Iseulde Van Dorpe
84d9597ce4
Bump version after RC2
...
Built from https://develop.svn.wordpress.org/trunk@40868
git-svn-id: http://core.svn.wordpress.org/trunk@40718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 21:22:40 +00:00
Ella Iseulde Van Dorpe
c44ba7cfa9
Bump version for WordPress 4.8 RC2
...
Built from https://develop.svn.wordpress.org/trunk@40867
git-svn-id: http://core.svn.wordpress.org/trunk@40717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 20:40:45 +00:00
Dominik Schilling
55497ccfd1
I18N: Improve translator comments for strings in the community events widget.
...
Props dimadin, iandunn.
Fixes #40865 .
Built from https://develop.svn.wordpress.org/trunk@40866
git-svn-id: http://core.svn.wordpress.org/trunk@40716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:49:42 +00:00
Dominik Schilling
7737e48a21
About: Sync tagline from about page with credits and freedoms.
...
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40865
git-svn-id: http://core.svn.wordpress.org/trunk@40715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:24:43 +00:00
Dominik Schilling
0e82284d87
Multisite: Revert indentation of the sample page content added in [40296].
...
Props swissspidy.
Fixes #40895 .
Built from https://develop.svn.wordpress.org/trunk@40864
git-svn-id: http://core.svn.wordpress.org/trunk@40714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 09:16:40 +00:00
Mel Choyce
d69e67581f
About: Finalize strings.
...
Props: bridgetwillard, jenblogs4u, michelleweber, flixos90, johnbillion, francina, voldemortensen, melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40863
git-svn-id: http://core.svn.wordpress.org/trunk@40713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-06-01 03:14:41 +00:00
Andrew Ozz
56101fc06a
TinyMCE: Force urlencoding of commas in URLs added by plugins to prevent warnings about missing stylesheets.
...
Fixes #40893 .
Built from https://develop.svn.wordpress.org/trunk@40862
git-svn-id: http://core.svn.wordpress.org/trunk@40712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-31 22:04:43 +00:00
Mel Choyce
69a7ab7d37
About: Add Link Boundary video and update poster image.
...
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40861
git-svn-id: http://core.svn.wordpress.org/trunk@40711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-31 18:02:44 +00:00
Andrew Ozz
9799bf93f5
TinyMCE: update to 4.6.3. Fixes few more edge cases with link boundaries. Changelog: https://www.tinymce.com/docs/changelog/#version463-may302017
...
Fixes #40890 .
Built from https://develop.svn.wordpress.org/trunk@40856
git-svn-id: http://core.svn.wordpress.org/trunk@40707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 23:35:41 +00:00
John Blackbourn
95cf5aa7c9
Build/Test Tools: Add a missing class to the PHPUnit 6 back compat.
...
See #39822
Built from https://develop.svn.wordpress.org/trunk@40853
git-svn-id: http://core.svn.wordpress.org/trunk@40704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 22:07:41 +00:00
Konstantin Obenland
fd77b45b57
Twenty Sixteen: Add missing binary files
...
They slipped through the cracks when applying/creating patches.
See [40851], #36497 .
Built from https://develop.svn.wordpress.org/trunk@40852
git-svn-id: http://core.svn.wordpress.org/trunk@40703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 21:53:40 +00:00
Konstantin Obenland
d22061139e
Importing Twenty Sixteen, default theme for 2016.
...
Fixes #36497 .
Built from https://develop.svn.wordpress.org/trunk@40851
git-svn-id: http://core.svn.wordpress.org/trunk@40702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 21:21:43 +00:00
Gary Pendergast
930d29f267
Emoji: Fix the flag and emoji5 tests not working correctly.
...
Fixes the UN flag not being correctly compared to itself, introduced in [40837].
Replaces the bearded person check with a male fairy. Emoji 5 does not have gendered bearded people, so we needed to switch it out to use the ZWJ check for a broken render.
Props peterwilsoncc for the code and commit message.
Fixes #40858 .
Built from https://develop.svn.wordpress.org/trunk@40850
git-svn-id: http://core.svn.wordpress.org/trunk@40701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-29 03:21:42 +00:00
Mel Choyce
530577a670
About: Introduce design and add link to Media Widgets API dev note.
...
Props: ryelle rclations melchoyce westonruter.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40849
git-svn-id: http://core.svn.wordpress.org/trunk@40700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-27 15:04:43 +00:00
Andrew Ozz
5136fe6ca6
TinyMCE: update to the TINY-1079 (latest) branch. Fixes several edge cases including the errors thrown when moving the caret with the arrow keys around nested <a><code>
elements.
...
Fixes #40874 #40868 .
Built from https://develop.svn.wordpress.org/trunk@40848
git-svn-id: http://core.svn.wordpress.org/trunk@40699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-27 02:09:45 +00:00
Weston Ruter
91f544da29
Widgets: Normalize YouTube and Vimeo URLs in video
shortcode (primarily for Video widget) to work around ME.js 2.22 bug.
...
Props timmydcrawford, jnylen0, westonruter.
See #32417 , #39994 .
Fixes #40866 .
Built from https://develop.svn.wordpress.org/trunk@40847
git-svn-id: http://core.svn.wordpress.org/trunk@40698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-26 23:10:44 +00:00
Andrew Ozz
91090572fe
Bump version after RC1.
...
Built from https://develop.svn.wordpress.org/trunk@40846
git-svn-id: http://core.svn.wordpress.org/trunk@40697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 20:34:41 +00:00
Matias Ventura
fe37d6f1de
WordPress 4.8 RC1.
...
Built from https://develop.svn.wordpress.org/trunk@40845
git-svn-id: http://core.svn.wordpress.org/trunk@40696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 18:45:42 +00:00
James Nylen
8bf130d64a
Revert [40842] due to failing tests.
...
See #19629 .
Built from https://develop.svn.wordpress.org/trunk@40844
git-svn-id: http://core.svn.wordpress.org/trunk@40695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 18:28:43 +00:00
John Blackbourn
f750a800d0
REST API: In the admin area, ensure the REST API endpoint URL is forced to https
when necessary.
...
In this situation, a site which uses `http` on the front end but `https` in the admin area is more likely to have a working REST API endpoint URL when used in the admin area.
Props mohanjith, westonruter, jnylen0
Fixes #36451
Built from https://develop.svn.wordpress.org/trunk@40843
git-svn-id: http://core.svn.wordpress.org/trunk@40694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 18:02:41 +00:00
Mike Schroder
2117fa8cee
Media: Introduce tests for media_sideload_image()
.
...
Adds basic tests for `media_sideload_image()`, including testing
the return arguments.
Props westonruter, mikeschroder.
Fixes #19629 .
Built from https://develop.svn.wordpress.org/trunk@40842
git-svn-id: http://core.svn.wordpress.org/trunk@40693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 18:01:46 +00:00
Andrew Ozz
b015889bb8
About: Further polish for Under The Hood.
...
Props: melchoyce apmarshall obenland. General props for the About page: hedgefield reportermike.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40841
git-svn-id: http://core.svn.wordpress.org/trunk@40692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 17:53:40 +00:00
Adam Silverstein
5f411ba353
Plugins: fix regression in search input field size.
...
Fix a formatting regression introduced in [40792] which attempted to resize the input for mobile, see #40130 .
Props leemon, juhise, voldemortensen.
Fixes #40857 .
Built from https://develop.svn.wordpress.org/trunk@40840
git-svn-id: http://core.svn.wordpress.org/trunk@40691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:22:42 +00:00
Konstantin Obenland
71cd7287ba
Default themes: Improve styles for 4.8 widgets
...
Mostly adds styles for lists and mediaelement.js instances within widgets.
Adds size classname to image widget so themes can customize their display.
Props Soean, obenland, celloexpressions, ocean90, karmatosed.
Fixes #40745 .
Built from https://develop.svn.wordpress.org/trunk@40839
git-svn-id: http://core.svn.wordpress.org/trunk@40690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:19:42 +00:00
Konstantin Obenland
25c2b2cab7
About: Further polish for feature descriptions.
...
Also adds Under The Hood content.
Props apmarshall, azaozz, iandunn, bridgetwillard, melchoyce.
See #40721 .
Built from https://develop.svn.wordpress.org/trunk@40838
git-svn-id: http://core.svn.wordpress.org/trunk@40689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 15:11:42 +00:00
Peter Wilson
03f483215d
Emoji: Add Emoji 5 support.
...
Updates Twemoji to 2.3.0 to include Emoji 5 support.
The pride flag test is replaced with a test for the English flag, a five character sub-devision locale. The UN flag test is retained as the most recent two character locale.
An Emoji 5 "bearded person" replaces both Emoji 4 tests.
Fixes #40858 .
Built from https://develop.svn.wordpress.org/trunk@40837
git-svn-id: http://core.svn.wordpress.org/trunk@40688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 07:18:45 +00:00
Weston Ruter
bb2e8b0d63
Widgets: Ensure that audio and video files appear in media library browser upon upload.
...
Props timmydcrawford.
Amends [40640].
See #32417 , #39994 , #39995 .
Fixes #40803 .
Built from https://develop.svn.wordpress.org/trunk@40836
git-svn-id: http://core.svn.wordpress.org/trunk@40687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 03:20:41 +00:00
Weston Ruter
8307924de6
Widgets: Supply missing descriptions for instance schema fields in media widgets.
...
Reuse translated strings from media templates.
Amends [40640].
See #32417 .
Built from https://develop.svn.wordpress.org/trunk@40835
git-svn-id: http://core.svn.wordpress.org/trunk@40686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 02:59:44 +00:00
Andrew Ozz
a8309f80c3
TinyMCE: update to 4.6.2. Changelog: https://www.tinymce.com/docs/changelog/#version462-may232017 .
...
Fixes #40859 #40756 .
Built from https://develop.svn.wordpress.org/trunk@40834
git-svn-id: http://core.svn.wordpress.org/trunk@40685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 01:14:43 +00:00
Weston Ruter
478d7730b6
Widgets: Prevent multiple items from being selectable when first populating a media widget.
...
Amends [40640].
Props obenland, timmydcrawford.
See #32417 .
Built from https://develop.svn.wordpress.org/trunk@40827
git-svn-id: http://core.svn.wordpress.org/trunk@40684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-24 05:31:42 +00:00
Konstantin Obenland
92d6abac47
Themes: Skip tests if ReflectionMethod::setAccessible is unavailable
...
See [40825].
Built from https://develop.svn.wordpress.org/trunk@40826
git-svn-id: http://core.svn.wordpress.org/trunk@40683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-23 22:16:42 +00:00