John Blackbourn
0216b01a69
Ensure the theme and plugin update checks are always in sync with the current theme and plugin versions before fetching cached update data. This change only triggers a request to the update API when necessary.
...
Fixes #13071
Props bswatson
git-svn-id: https://develop.svn.wordpress.org/trunk@30696 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 01:51:10 +00:00
Drew Jaynes (DrewAPicture)
205a43ed05
Correctly capitalize JavaScript throughout core docs.
...
Fixes #30569 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30695 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 00:30:59 +00:00
Andrew Ozz
4eb3c5960f
TinyMCE: update the wpView toolbar to look the same as the new image toolbar.
...
Fixes #30561 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30694 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-02 00:25:15 +00:00
Drew Jaynes (DrewAPicture)
2f64100369
Improve inline documentation for four methods in WP_Widget: get_field_id(), display_callback(), update_callback(), and form_callback().
...
Props jazzs3quence for the initial patch.
See #30315 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30691 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 19:34:25 +00:00
John Blackbourn
fe4b0c7f14
Remove the sortable functionality from the selection editing toolbar at the bottom of the media manager.
...
Fixes #29934
See #24352
Props jessepollak
git-svn-id: https://develop.svn.wordpress.org/trunk@30686 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 04:17:53 +00:00
John Blackbourn
d8dd2e4a77
Clarify the text for the 'Edit Selection' link when multiple media items are selected in the media manager.
...
Props adamsilverstein
See #24325
git-svn-id: https://develop.svn.wordpress.org/trunk@30685 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 04:14:06 +00:00
John Blackbourn
cedecf8033
Allow brackets in a URL when it's sanitised for a redirect. Brackets are valid in query parameters.
...
Fixes #30308
Props voldemortensen
git-svn-id: https://develop.svn.wordpress.org/trunk@30684 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 03:20:13 +00:00
John Blackbourn
b57c4ae165
Allow square brackets in a URL when it's sanitised for a redirect. Square brackets are valid in query parameters and IPv6 addresses.
...
Fixes #17052
Props voldemortensen
git-svn-id: https://develop.svn.wordpress.org/trunk@30683 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 03:15:24 +00:00
Scott Taylor
095bfabfa9
Improve various @param docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30682 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 02:16:36 +00:00
Scott Taylor
4d46475b3d
Improve various @param docs for src/wp-includes/*.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30681 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 01:33:34 +00:00
Gary Pendergast
6eebbc5750
WPDB: Before fetching results, make sure we have a valid result resource to fetch them from.
...
Fixes #27982 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30677 602fd350-edb4-49c9-b593-d223f7449a82
2014-12-01 00:02:55 +00:00
Scott Taylor
5817aa262d
Improve various @param docs for src/wp-includes/class-wp-customize*.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30676 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:32:31 +00:00
Andrew Ozz
45f4403dd0
TinyMCE: update to 4.1.7, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt . Fixes #30560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30675 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:27:23 +00:00
Scott Taylor
0632a3de68
Improve various @param docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30674 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 23:23:37 +00:00
Scott Taylor
ee388b9852
Improve various @param docs.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30673 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:55:08 +00:00
Scott Taylor
6bb2a4ce36
Improve the @param docs for src/includes/theme.php and src/includes/update.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30672 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:43:27 +00:00
Scott Taylor
4de850c8ff
Improve the @param docs for src/wp-includes/post*.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30671 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:37:00 +00:00
Andrew Ozz
3c558b7436
TinyMCE: update translatable strings, see #30560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30670 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:26:56 +00:00
Scott Taylor
43885a303e
Improve the @param docs for src/includes/rewrite.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30669 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:24:49 +00:00
Scott Taylor
4bf6ad11fb
Improve the @param docs for src/wp-includes/pluggable*.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30667 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:18:33 +00:00
Scott Taylor
c7ce0a4d55
Improve the @param docs for src/wp-includes/user.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30666 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:10:12 +00:00
Scott Taylor
9e6096c89a
Improve the @param docs for src/wp-includes/widgets.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30665 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 22:04:23 +00:00
Scott Taylor
35358b0e26
Improve the @param docs for src/wp-includes/wp-db.php.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30664 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 21:54:08 +00:00
Scott Taylor
2bf092065a
Add missing @params to src/wp-includes/pomo files.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30663 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 21:40:53 +00:00
Scott Taylor
35708f61f8
Use round() instead of floor() when resizing image dimensions.
...
Updates unit tests.
Props SergeyBiryukov, kitchin.
Fixes #18532 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30660 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 19:53:18 +00:00
Drew Jaynes (DrewAPicture)
e587324180
Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*.
...
Affects DocBlocks for the following hooks:
* `auth_post_meta_{$meta_key}`
* `term_links-$taxonomy`
* `customize_render_control_ . $this->id`
* `customize_render_panel_{$this->id}`
* `customize_render_section_{$this->id}`
* `customize_preview_{$this->id}`
* `customize_save_ . $this->id_data[ 'base' ]`
* `customize_update_ . $this->type`
* `customize_value_ . $this->id_data[ 'base' ]`
* `customize_sanitize_js_{$this->id}`
* `comment_form_field_{$name}`
* `comment_{$old_status}_to_{$new_status}`
* `comment_{$new_status}_{$comment->comment_type}`
* `extra_{$context}_headers`
* `get_template_part_{$slug}`
* `get_the_generator_{$type}`
* `get_{$adjacent}_post_join`
* `get_{$adjacent}_post_where`
* `get_{$adjacent}_post_sort`
* `{$adjacent}_post_rel_link`
* `{$adjacent}_post_link`
* `{$adjacent}_image_link`
* `blog_option_{$option}`
* `$permastructname . _rewrite_rules`
* `{$type}_template`
* `theme_mod_{$name}`
* `pre_set_theme_mod_$name`
* `current_theme_supports-{$feature}`
* `get_user_option_{$option}`
* `edit_user_{$field}`
* `pre_user_{$field}`
* `user_{$field}`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30656 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 12:09:56 +00:00
Drew Jaynes (DrewAPicture)
e8bc58459e
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/meta.php.
...
Affects DocBlocks for the following hooks:
* `add_{$meta_type}_metadata`
* `add_{$meta_type}_meta`
* `added_{$meta_type}_meta`
* `update_{$meta_type}_metadata`
* `update_{$meta_type}_meta`
* `updated_{$meta_type}_meta`
* `delete_{$meta_type}_metadata`
* `delete_{$meta_type}_meta`
* `deleted_{$meta_type}_meta`
* `get_{$meta_type}_metadata`
* `delete_{$meta_type}meta`
* `deleted_{$meta_type}meta`
* `sanitize_{$meta_type}_meta_{$meta_key}`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30655 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 12:02:44 +00:00
Drew Jaynes (DrewAPicture)
2546b46f62
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/taxonomy.php.
...
Affects DocBlocks for the following hooks:
* `get_$taxonomy`
* `edit_term_{$field}`
* `edit_{$taxonomy}_{$field}`
* `pre_term_{$field}`
* `pre_{$taxonomy}_{$field}`
* `term_{$field}_rss`
* `{$taxonomy}_{$field}_rss`
* `term_{$field}`
* `{$taxonomy}_{$field}`
* `delete_$taxonomy`
* `create_$taxonomy`
* `edit_$taxonomy`
* `edited_$taxonomy`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30654 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 11:59:26 +00:00
Drew Jaynes (DrewAPicture)
973af104ff
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/post.php.
...
Affects DocBlocks for the following hooks:
* `post_type_labels_{$post_type}`
* `edit_{$field}`
* `{$field_no_prefix}_edit_pre`
* `pre_{$field}`
* `{$field_no_prefix}_save_pre`
* `{$field}_pre`
* `$field`
* `save_post_{$post->post_type}`
* `{$old_status}_to_{$new_status}`
* `{$new_status}_{$post->post_type}`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30653 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 11:55:58 +00:00
Drew Jaynes (DrewAPicture)
27a0f38b9e
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/option.php.
...
Affects DocBlocks for the following hooks:
* `pre_option_ . $option`
* `default_option_ . $option`
* `option_ . $option`
* `pre_update_option_ . $option`
* `update_option_{$option}`
* `add_option_{$option}`
* `delete_option_$option`
* `delete_transient_ . $transient`
* `pre_transient_ . $transient`
* `transient_ . $transient`
* `pre_set_transient_ . $transient`
* `set_transient_ . $transient`
* `pre_site_option_ . $option`
* `default_site_option_ . $option`
* `site_option_ . $option`
* `pre_add_site_option_ . $option`
* `add_site_option_{$option}`
* `pre_delete_site_option_ . $option`
* `delete_site_option_{$option}`
* `pre_update_site_option_ . $option`
* `update_site_option_{$option}`
* `delete_site_transient_ . $transient`
* `pre_site_transient_ . $transient`
* `site_transient_ . $transient`
* `pre_set_site_transient_ . $transient`
* `set_site_transient_ . $transient`
See #30552 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30652 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 11:52:33 +00:00
Dominik Schilling (ocean90)
cccd0c63c1
Update the Iris color picker to version 1.0.7.
...
Includes a fix for multiple pickers on the same page.
Changes: https://github.com/Automattic/Iris/compare/1.0.6...1.0.7
props mattwiebe.
fixes #30537 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30650 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 11:44:00 +00:00
Drew Jaynes (DrewAPicture)
1f66186c4a
Improve inline documentation for image_constrain_size_for_editor().
...
Includes:
* Proper formatting, plus adding a type for the `$context` parameter
* Inline `@see` tags in the description and backtick-escaping inline code
* Parameter, type, and description alignment
Props tillkruess for the initial patch.
Fixes #30508 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30646 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 10:05:26 +00:00
Scott Taylor
7d95a91c5b
When creating audio and video MCE views, listen to the players within each iframe to capture the "play" event. When a player plays, pause the players in every other iframe sandbox.
...
Fixes #29384 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30642 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 08:44:21 +00:00
Scott Taylor
a411918199
Adjust the RegEx in wp_check_filetype() to be aware that query strings are thing that exist sometimes in URLs.
...
Adds unit tests.
Props voldemortensen.
Fixes #30377 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30640 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 06:32:16 +00:00
Scott Taylor
b59b9f466a
Fix edge-case in media cropping where selection and destination are the same size.
...
Adds unit tests.
Props mboynes.
Fixes #19793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30639 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 06:26:26 +00:00
Scott Taylor
ac2c986831
When deleting media grid attachments, wait until the server responds before removing the model from its collection.
...
Props 5um17.
Fixes #30457 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30638 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 06:18:07 +00:00
Scott Taylor
8813419225
IETF language changes in MediaElement:
...
https://github.com/johndyer/mediaelement/pull/1270/
Reverts [28801].
Fixes #29182 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30637 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 06:11:19 +00:00
Scott Taylor
cb648b68e1
Ensure uniqueness when returning page lists in get_page_children(). Fixes failing unit tests.
...
Props boonebgorges.
Reverts [30246].
Fixes #14477 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30636 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 06:04:31 +00:00
Drew Jaynes (DrewAPicture)
2afe26faa5
Remove an invalid parameter from the DocBlock for the gallery_style hook.
...
Props keesiemeijer.
Fixes #30507 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30635 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:57:43 +00:00
Scott Taylor
6d7bbcbc04
Upgrade to MediaElement 2.16.2
...
https://github.com/johndyer/mediaelement/compare/2.15.1...2.16.2
Fixes #30281 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30634 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:57:25 +00:00
Drew Jaynes (DrewAPicture)
7c421791c2
Remove return descriptions from the DocBlocks for add_image_size() and set_post_thumbnail_size() as they don't return anything.
...
Also document the `$_wp_additional_image_sizes` global, leveraged in `add_image_size()`.
Props stevegrunwell.
Fixes #30511 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30633 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:48:03 +00:00
John Blackbourn
76a9abd7a7
Check attachments as well as the current post type when checking for duplicate post slugs. This avoids creating a page with a slug which conflicts with an existing attachment (the inverse is already handled).
...
Updates the existing test for pages which should take priority over attachments in cases where an existing clash exists.
Fixes #18962
Props boonebgorges
git-svn-id: https://develop.svn.wordpress.org/trunk@30629 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 04:48:54 +00:00
Drew Jaynes (DrewAPicture)
c1d0555b32
Add missing return descriptions for a variety of functions in wp-includes/link-template.php.
...
Props colorful-tones, dustyf.
See #30406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30628 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 04:43:44 +00:00
Drew Jaynes (DrewAPicture)
57f295484d
4.1 Docs Audit: Improve inline documentation for various wpdb methods.
...
#30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30624 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:33:16 +00:00
Drew Jaynes (DrewAPicture)
a1af1437c3
4.1 Docs Audit: Fix formatting for changelog entries in count_user_posts() and the get_usernumposts hook.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30623 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:28:23 +00:00
Drew Jaynes (DrewAPicture)
f8d3ac117f
4.1 Docs Audit: Improve inline documentation in DocBlocks for various WP_Tax_Query methods, the pre_delete_term hook, and get_ancestors().
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30622 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:26:00 +00:00
Drew Jaynes (DrewAPicture)
67322ab8f7
4.1 Docs Audit: Remove a duplicate word from a parameter description in the DocBlock for the wp_save_post_revision_post_has_changed hook.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30621 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:18:49 +00:00
Drew Jaynes (DrewAPicture)
0960ef7484
4.1 Docs Audit: Improve inline documentation for the new WP_Query::setup_postdata() method.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30620 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:17:27 +00:00
Drew Jaynes (DrewAPicture)
72d761f0b1
4.1 Docs Audit: Formatting, line-wrap, and other fixes for the wp_get_nav_menus() DocBlock.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30619 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:14:30 +00:00
Drew Jaynes (DrewAPicture)
15bc7024c4
4.1 Docs Audit: Spell out HTML element names in DocBlock summaries for the nav_menu_css_class, nav_menu_item_id, and nav_menu_link_attributes filters.
...
Due to a recent clarification in the core inline documentation standards, HTML tags are no longer allowed in DocBlock summaries as they wreak havoc on displaying pages in the official Code Reference. See #30473 .
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30618 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:11:15 +00:00