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
Drew Jaynes (DrewAPicture)
f864c2f871
Document the `$user_id` parameter added to the 'admin_color_scheme_picker' hook in 3.8.1.
...
Props Ipstenu.
Fixes #30551 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30632 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:41:31 +00:00
Gary Pendergast
ea89b1c942
WPDB Unit Tests: Fix a fatal error that occurs in the `test_strip_invalid_text()` test if the `mbstring` extension isn't activated in PHP.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30631 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:35:00 +00:00
Drew Jaynes (DrewAPicture)
9d74e43a4b
Add missing DocBlocks for several functions in wp-admin/includes/ms.php.
...
Props dustyf.
See #30483 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30630 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 05:05:36 +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)
4c44e257b5
Use the correct type (integer) for the `$menu_id` parameter in the `wp_get_nav_menu_to_edit()` DocBlock.
...
Also properly mark the parameter as optional and specify the default value.
Props jaimieolmstead for the initial patch.
Fixes #30540 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30627 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-30 04:24:25 +00:00
Boone Gorges
11ef3c3ee6
In `get_default_post_to_edit()`, let 'post_name' be passed to filter.
...
Previously, it was being overridden after the default post had been inserted
into the database, making it cumbersome to override with the 'wp_insert_post_data'
filter.
Props danielbachhuber.
Fixes #29847 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30626 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-29 19:25:36 +00:00
Andrew Ozz
a989ce280b
Editor: fix fading out on Escape in DFW v2. props adamsilverstein, fixes #30528 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30625 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-29 02:44:37 +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
Drew Jaynes (DrewAPicture)
c664bd6a58
4.1 Docs Audit: Improve inline documentation for various `WP_Meta_Query` methods introduced or modified in 4.1.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30617 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 12:01:21 +00:00
Drew Jaynes (DrewAPicture)
8c059c65a4
4.1 Docs Audit: Ensure optional arguments in `get_the_post_navigation()`, `the_post_navigation()`, `get_the_posts_navigation()`, `the_posts_navigation()`, `get_the_pagination()`, and `the_pagination()` are properly documented with defaults.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30616 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:56:20 +00:00
Drew Jaynes (DrewAPicture)
426d221772
Ensure the private function `_wp_render_title_tag()` is marked for internal usage only.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30615 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:49:58 +00:00
Drew Jaynes (DrewAPicture)
f7e01d5331
Improve line-wrapping and formatting in the DocBlock for `wp_send_json_error()`.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30614 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:38:59 +00:00
Drew Jaynes (DrewAPicture)
7bf6ff37e2
4.1 Docs Audit: Ensure optional arguments in `wp_json_encode()` are properly documented as such.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30613 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:35:39 +00:00
Drew Jaynes (DrewAPicture)
0e0dca103b
Ensure only spaces are used instead of a mixture of tabs and spaces for alignment within the DocBlock for the `date_query_valid_columns` hook. See [30611].
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30612 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:28:39 +00:00
Drew Jaynes (DrewAPicture)
541ba06411
4.1 Docs Audit: Improve inline documentation in various `WP_Date_Query` methods modified in 4.1.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30611 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:26:00 +00:00
Drew Jaynes (DrewAPicture)
f240af96da
4.1 Docs Audit: Various formatting fixes for inline documentation in class-wp-list-table.php and comment-template.php.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30610 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:21:40 +00:00
Drew Jaynes (DrewAPicture)
1af1cc4792
4.1 Docs Audit: Fix DocBlock formatting for the `customize_preview_{$this->type}` hook.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30609 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:12:46 +00:00
Drew Jaynes (DrewAPicture)
177c3e0c61
4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Section`, `WP_Customize_Section`, and `WP_Customize_Sidebar_Section` classes.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30608 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:09:32 +00:00
Drew Jaynes (DrewAPicture)
28072f473a
4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Panel` class.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30607 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 11:02:49 +00:00
Drew Jaynes (DrewAPicture)
91a0357fe0
4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Manager` class.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30606 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 10:51:41 +00:00
Drew Jaynes (DrewAPicture)
5b30d9e1ac
4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Control` and `WP_Customize_Upload_Control` classes.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30605 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 09:19:06 +00:00
Drew Jaynes (DrewAPicture)
9832941b66
4.1 Docs Audit: Fix some line-wrapping in the DocBlock for `WP_Http::parse_url()`.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30604 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 09:13:31 +00:00
Drew Jaynes (DrewAPicture)
403f4feb27
4.1 Docs Audit: Clarify the DocBlock summary for `network_settings_add_js()` to specify that it's specific to the Network Settings screen.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30603 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 09:08:08 +00:00
Drew Jaynes (DrewAPicture)
ea329981d1
4.1 Docs Audit: Document the `$post` global in the DocBlock for `wp_print_revision_templates()`.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30602 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 09:04:35 +00:00
Drew Jaynes (DrewAPicture)
ea4da9e13c
4.1 Docs Audit: Fix a variety of issues with the DocBlock for the `default_page_template_title` filter.
...
Includes hyphenating 'drop-down', ensuring the DocBlock itself is correctly indented, and wraps lines at an appropriate length.
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30601 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 08:59:45 +00:00
Drew Jaynes (DrewAPicture)
ba21c68c23
4.1 Docs Audit: Convert a hook reference to an inline `@see` tag in the hook docs for the `image_add_caption_text` filter.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30600 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 08:55:46 +00:00
Drew Jaynes (DrewAPicture)
e7fee524b6
4.1 Docs Audit: Clarify the DocBlock summary for the `edit_form_before_permalink` hook.
...
See #30469 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30599 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 08:51:59 +00:00
Sergey Biryukov
95ffc6e562
Consistently handle an empty site title in Site and My Sites toolbar menus.
...
see #28682 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30598 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 08:12:13 +00:00
Sergey Biryukov
03cb69d8e2
When live-updating site title in toolbar, fall back to the site url if the title is empty.
...
props avryl.
see #28682 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30597 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 08:11:52 +00:00
Sergey Biryukov
980ca1471b
Add missing periods to strings introduced in [30333].
...
props DrewAPicture.
see #30264 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30596 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 06:25:14 +00:00
Drew Jaynes (DrewAPicture)
bcb88058f9
Improve inline documentation in `wp_ajax_destroy_sessions()`.
...
If the token is set (`$keep` is a string), this means the user is viewing their own profile-editing screen and destroying their own sessions (except the current one). If it isn't set (`$keep` is null), the user is editing another user's profile and destroying all of their sessions with no exceptions.
See #30264 , #30469
git-svn-id: https://develop.svn.wordpress.org/trunk@30595 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 03:47:43 +00:00
Andrew Ozz
8206bceff6
Editor: move the DFW v2 transitions CSS from editor.css to wp-admin.css. They are needed only on the Edit Post screen.
...
See #30453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30594 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 02:35:09 +00:00
Andrew Ozz
f078fc3e99
Editor: use the Alt+Shift+W keyboard shortcut for new DFW from both the Visual and Text editors. Props afercia, fixes #30450 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30593 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 01:43:56 +00:00
John Blackbourn
93eb8d6d45
Revert [30032] so appropriate PHP warnings aren't masked.
...
Fixes #28743
git-svn-id: https://develop.svn.wordpress.org/trunk@30592 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-28 01:28:28 +00:00
Andrew Ozz
8d578a1d1f
Better error message when the admin is ssl and non-ssl oEmbed previews are not available in the editor. Props Japh, fixes #30533 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@30591 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-27 22:36:48 +00:00
Ian Stewart
e2a69b73b5
Twenty Fifteen: better highlights for tapped links in iOS Safari.
...
Props iamtakashi, fixes #30524 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30590 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-27 20:40:13 +00:00
Ian Stewart
d6d93cbcf5
Twenty Fifteen: overflow hidden can hide focus outlines here so out it goes.
...
Props iamtakashi, fixes #30523 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30589 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-27 20:35:20 +00:00
Ian Stewart
cde500a7ad
Twenty Fifteen: minor corrections to borders and post title colors in custom color schemes.
...
Props iamtakashi, fixes #30521 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30588 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-27 20:33:13 +00:00
Gary Pendergast
c00ba04e9c
WPDB: Remove the addition of `STRICT_ALL_TABLES`, added in [30400]. This proved to be incompatible with too many plugins, as well as being incompatible with MySQL 5.7.
...
See #21212 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30587 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-27 10:59:10 +00:00