Konstantin Obenland
149ab85049
4.3-beta3-33288
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33288 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:50:34 +00:00
Konstantin Obenland
ef95b71523
4.3-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33287 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:42:47 +00:00
Andrew Ozz
dc3565a6a1
TinyMCE, keyboard shortcuts help: make the popup wider to easily accommodate translations.
...
Part props ocean90. See #31441 ;
git-svn-id: https://develop.svn.wordpress.org/trunk@33286 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:33:45 +00:00
Ella Iseulde Van Dorpe
c0e3449295
TinyMCE: fix visual regressions
...
See #32801 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33285 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 21:30:09 +00:00
Weston Ruter
d9fcddae25
Customizer: Hide the transport list when it's empty, especially for screen readers.
...
Also prevent invalid markup for `.customize-section-description`.
Props valendesigns.
Fixes #32843 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33282 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 19:58:42 +00:00
Konstantin Obenland
8c36e7b3c4
Feeds: Revert [32765] because of objections raised in #4575 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33281 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 19:57:47 +00:00
Konstantin Obenland
9352eb41fb
Customize: Provide a default way to save cropped images.
...
Allows plugins and themes to use `WP_Customize_Cropped_Image_Control` without
having to define their own way of saving the cropped image.
Props celloexpressions for initial patch.
Fixes #29211 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33280 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 19:53:23 +00:00
Konstantin Obenland
140ff5cb9b
Properly clean up header image data when the attachment is deleted.
...
Props CreativeInfusion.
Fixes #33005 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33278 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 16:27:17 +00:00
Gary Pendergast
c160106af1
WPDB: When checking that text isn't too long to insert into a column, LONGTEXT columns could fail, as their length is longer than PHP_INT_MAX. Treating their length as a float instead of an int fixes this.
...
See #32165 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33276 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 04:32:55 +00:00
Drew Jaynes
c928758054
Docs: Update the DocBlock descriptions for a variety of template functions to better reflect that the dynamic $type_template hook can be used to filter the template path.
...
It's important to reference the actual dynamic hook name instead of an alias for purposes of auto-linking in the Code Reference.
Affects the docs for:
* `get_index_template()`
* `get_404_template()`
* `get_archive_template()`
* `get_post_type_archive_template()`
* `get_author_template()`
* `get_category_template()`
* `get_tag_template()`
* `get_taxonomy_template()`
* `get_date_template()`
* `get_home_template()`
* `get_page_template()`
* `get_paged_template()`
* `get_search_template()`
* `get_single_template()`
* `get_singular_template()`
* `get_attachment_template()`
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33274 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 22:26:32 +00:00
Drew Jaynes
b55154c579
Docs: Clarify the hook docs for the {$type}_template hook to mention that non-alphanumeric characters delimiting words will also be removed from the passed $type parameter.
...
Also remove a now-unnecessary inline `@see` tag from the return description.
See #32246 . See #32989 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33273 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 22:11:52 +00:00
Drew Jaynes
7b91a81c4a
Update the descriptions for get_front_page_template() and get_comments_popup_template() to reference the correct dynamic hook names.
...
Part props @birgire.
Fixes #32989 . See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33272 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 21:58:16 +00:00
Scott Taylor
3d1f8f292a
After [33148]:
...
Don't nest `esc_attr()` and `htmlspecialchars()` when escaping the post title on the edit post screen.
Unrevert parts of [32851] and [32850].
Adds/alters unit tests.
Props miqrogroove.
Fixes #17780 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33271 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 17:55:07 +00:00
Scott Taylor
b762b7da92
Monkey patch MediaElement to include a PR that restores responsive videos in Firefox:
...
https://github.com/johndyer/mediaelement/pull/1531
Props joemcgill.
Fixes #32722 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33267 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 16:29:37 +00:00
Boone Gorges
ce4b40d794
In wp_unique_post_slug(), only prevent date archive conflicts when the slug is being changed.
...
This prevents existing posts with numeric slugs from having their permalinks
changed on update.
Fixes #5305 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33262 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 12:27:11 +00:00
Boone Gorges
c718849baa
When creating a new post with an empty post_name and post_title, don't generate a post_name that conflicts with a date archive permalink.
...
See #5305 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33261 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 12:27:03 +00:00
Gary Pendergast
7711b72639
WPDB: When extracting the table name from a query, we had a 1000 character limit on the SQL string that would be searched. This was a hangover from when the code was imported from HyperDB, and isn't appropriate for Core, where a wider range of queries are likely to be run.
...
Fixes #32763
git-svn-id: https://develop.svn.wordpress.org/trunk@33259 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 10:18:57 +00:00
Weston Ruter
65f5a16611
Customizer: Improve performance of menus by caching results of wp_setup_nav_menu_item() calls.
...
Also fixes property list in phpdoc for `wp_setup_nav_menu_item()`.
Fixes #32769 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33256 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 07:08:40 +00:00
Konstantin Obenland
a48af6ef86
Passwords: Make show/hide toggle translatable.
...
See #32589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33249 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:34:18 +00:00
Drew Jaynes
e7e337c4e6
Fix the same typo again in the hook doc summary for the send_pass_change_email filter.
...
I speak English, I do.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33248 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:26:34 +00:00
Drew Jaynes
02e3c99234
Fix a typo in the hook docs summary for the send_pass_change_email filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33247 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:24:24 +00:00
Konstantin Obenland
05c4803450
Passwords: New UI for install screen.
...
Also synchronises the use of `pw_weak` as an input name and removes trailing
periods from checkbox labels.
Props MikeHansenMe, adamsilverstein, obenland.
See #32589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33246 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:21:39 +00:00
Drew Jaynes
ce8944600a
Fix the inline documentation syntax in the hook docs for the email_change_email filter, introduced in 4.3.
...
Also update the filter summary to reflect that the file is for an "email" change, not a "password" change.
See [32820]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33245 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:14:45 +00:00
Drew Jaynes
a15b51fc6f
Fix the inline documentation syntax in the hook docs for the password_change_email filter, introduced in 4.3.
...
See [32820]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33244 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:10:49 +00:00
Drew Jaynes
9a0034bb78
Fix the inline documentation syntax in the hook docs for the send_email_change_email filter, added in 4.3.
...
See [32820]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33243 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:07:19 +00:00
Drew Jaynes
8f5107f7dc
Fix the inline documentation syntax in the hook docs for the send_pass_change_email filter, added in 4.3.
...
See [32820]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33242 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:04:42 +00:00
Drew Jaynes
1094410e1a
Wrap a long changelog entry description in the DocBlock for count_user_posts().
...
Also clarify the description for the new `$public_only` parameter, added in [32523].
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33241 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:02:20 +00:00
Drew Jaynes
8227017042
Add an extra line before the hook doc for the editor_stylesheets filter begins.
...
The parser really likes it when there's breathing room.
See [32928]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33240 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 22:00:13 +00:00
Drew Jaynes
0b9afe692d
Fix inline documentation syntax in the DocBlock for get_singular_template(), added in 4.3.
...
See [32846]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33239 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:58:23 +00:00
Drew Jaynes
78548dd49d
Fix formatting in the DocBlock for _split_shared_term().
...
See #32246 . See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33238 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:56:53 +00:00
Drew Jaynes
b3544157ab
Properly mark the $query_var parameter as optional in the DocBlock for WP_Rewrite->add_endpoint().
...
See #32246 . See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33237 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:54:40 +00:00
DrewAPicture
f6ca434cd5
Add better line wrapping and syntax improvements to the description for wp_resolve_numeric_slug_conflicts(), added in 4.3.
...
Also properly mark `$query_vars` as optional in the parameter description.
See [32648]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33236 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:53:02 +00:00
Drew Jaynes
2ebc03741b
Remove a now-unnecessary inline @see tag from the description for add_rewrite_endpoint().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33235 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:50:18 +00:00
Drew Jaynes
4274e7fe7e
Wrap a long changelog entry description in the DocBlock for get_post_type_labels().
...
See [32673]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33234 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:48:44 +00:00
Drew Jaynes
12a932b177
Fix the parameter description syntax in the hook docs for the wp_safe_redirect_fallback filter, added in 4.3.
...
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33233 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:45:26 +00:00
Drew Jaynes
8dee1379bd
Fix the parameter description syntax in the hook docs for the wp_get_nav_menu_object filter, added in 4.3.
...
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33232 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:44:07 +00:00
Drew Jaynes
67698ae788
Fix inline documentation syntax in the DocBlock for WP_Meta_Query->has_or_relation(), added in 4.3.
...
See [32713]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33231 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:43:05 +00:00
Drew Jaynes
ad38bd2e6c
Remove now-unnecessary inline @see tag from the DocBlock for wp_dropdown_languages().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33230 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:41:18 +00:00
Drew Jaynes
0c685e2f23
Fix inline documentation syntax for the language_attributes() DocBlock.
...
See #32246 . See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33229 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:39:38 +00:00
Drew Jaynes
ed0c6da112
Fix inline documentation syntax in the DocBlock for get_language_attributes(), introduced in 4.3.
...
See [32868]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33228 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:38:21 +00:00
Drew Jaynes
cf5821a1ed
Fix the summary hook vernacular for the site_icon_meta_tags filter docs.
...
See [32994]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33227 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:36:58 +00:00
Drew Jaynes
9bfee68719
Fix inline documentation syntax for a few general-purpose functions and hooks added in 4.3.
...
* `_deprecated_constructor()` See [32989]
* `deprecated_constructor_trigger_error` See [32989]
* `get_main_network_id()` See [32775]
* `wp_post_preview_js()` See [32809]
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33226 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:34:35 +00:00
Drew Jaynes
a38797967a
Fix inline documentation syntax for two formatting functions added in 4.3.
...
* `wptexturize_primes()` See [32863]
* `format_for_editor()` See [32899]
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33225 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:29:35 +00:00
Drew Jaynes
8287ff9dbc
Fix summaries for new feed functions added in 4.3.
...
* `get_last_build_date_feed()` [32765]
* `atom_site_icon()` [32994]
* `rss2_site_icon()` [32994]
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33224 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:26:29 +00:00
Drew Jaynes
e47cc9e088
Fix inline documentation syntax for get_default_comment_status(), introduced in 4.3.
...
See [33122]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33223 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:22:06 +00:00
Drew Jaynes
8ec980b5e5
Add a missing $html parameter variable in the hook docs for the style_loader_tag filter.
...
See #32246 . See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33222 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:02:06 +00:00
Drew Jaynes
d762023715
Fix syntax and add missing @access tags to a variety of methods and properties in WP_Customize_Nav_Menu_Item_Setting added in 4.3.
...
See [32806]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33221 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 21:00:29 +00:00
Drew Jaynes
7dc6a749b6
Fix syntax and add missing @access tags to a variety of methods added to WP_Customize_Section, WP_Customize_Nav_Menu_Section, and WP_Customize_New_Menu_Section in 4.3.
...
See [32658] and [32806]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33220 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:48:47 +00:00
Drew Jaynes
42b2d22710
Fix syntax and add missing @access tags to a variety of methods added to WP_Customize_Nav_Menus_Panel in 4.3.
...
See [32855]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33219 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:43:51 +00:00
Drew Jaynes
b42a56b8c7
Fix syntax and add missing @access tags to various methods in WP_Customize_Nav_Menus, added in 4.3.
...
See [32806]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33218 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:38:13 +00:00