Mark Jaquith
9ca3978a3e
Introduce a Cancel button and onUnload warning for password changes.
...
fixes #33079
props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@33364 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 18:35:51 +00:00
Mark Jaquith
fece657158
Fix up and normalize pw_weak/pw-weak IDs and labels.
...
props johnjamesjacoby
fixes #33077
git-svn-id: https://develop.svn.wordpress.org/trunk@33363 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 17:23:27 +00:00
Mark Jaquith
d1a1e77e40
Make password field toggling work in IE8, and clean up a bunch of password CSS issues.
...
fixes #32886
props peterwilsoncc, adamsilverstein
git-svn-id: https://develop.svn.wordpress.org/trunk@33362 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 16:55:17 +00:00
Gary Pendergast
7b41adf712
Shortcodes: Improve the reliablity of shortcodes inside HTML tags.
...
Props miqrogroove.
See #15694 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33359 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 05:14:50 +00:00
Gary Pendergast
7439dd7354
Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33357 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 04:01:53 +00:00
Konstantin Obenland
2533d76203
Site Icon: Create custom sizes for images that don't need cropping.
...
This will duplicate an image that doesn't need cropping once and will skip
creating new images and custom sizes if the selected image has the `site-icon`
context.
Fixes #33011 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33356 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 02:29:57 +00:00
Jeremy Felt
7845150324
Nav Menus: Add a Menus title with Manage in Customizer button to nav-menus.php
...
This aligns the `<h1>` on `wp-admin/nav-menus.php` with that of other admin screens and aligns the "Manage in Customizer" button with that on `wp-admin/widgets.php`.
Fixes #32808 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33355 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 01:25:13 +00:00
Andrew Ozz
4e7b5dca5b
Widgets screen: while dragging a widget over a closed sidebar refresh only the widgets in the current sidebar instead of all widgets in all sidebars.
...
Props chriscct7. Fixes #33015 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33354 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 01:24:47 +00:00
Konstantin Obenland
2ab769b1b9
Passwords: Add password strength meter feedback for screen readers.
...
Also gives context to the show/hide button.
Props rianrietveld, afercia.
Fixes #33032 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33353 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 00:14:37 +00:00
Ella Iseulde Van Dorpe
7527a5c65e
Publish box: move focus when the animation is done
...
Also move the focus back to 'edit' when saving changes.
Props afercia.
Fixes #33060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33352 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:45:48 +00:00
Andrew Ozz
fd0c1665f8
TinyMCE: add min-width to the placeholder images for the more and nextpage tags to fix them in themes that force width = auto.
...
Fixes #33022 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33351 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:35:04 +00:00
Andrew Ozz
002406ec2c
TinyMCE, inline link toolbar: tweak styling on small screens to fix wrapping in iOS.
...
Fixes #32604 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33350 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:24:48 +00:00
Ella Iseulde Van Dorpe
6009504095
Publish box: focus first date field on edit
...
The order of the fields may change depending on the translation.
Props afercia.
Fixes #33059 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33349 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:22:31 +00:00
Ella Iseulde Van Dorpe
228465854e
Publish box: apply changes post.js to comment.js
...
See [22250], [27035], [24046], [33340] and [33341].
Fixes #33063 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33348 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:08:38 +00:00
Scott Taylor
ca207b8c08
Customizer: Nav Menus JS cleanup, second round
...
* Follow the same pattern of namespace instantiation that `WidgetCustomizerPreview` uses
* Remove use of `self` for global delegation
* Use `api` for `wp.customize` and import only top-level globals
* Bind `this` where appropriate and disambiguate scope
See #32911 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33347 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 17:39:24 +00:00
Konstantin Obenland
5afdbfdb01
Customizer: Add label for menu names when editing a menu.
...
Props celloexpressions.
Fixes #32726 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33346 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 17:01:25 +00:00
Scott Taylor
940b06cff2
Customizer: Nav Menus JS cleanup, first round
...
* In `init`, settings should be fresh and set to default values before extending
* When looping via `_.each`, pass `this` as 3rd arg to bind context
* Settings should be encapsulated in the module, instead of being exposed as static class props
* `currentRefreshMenuInstanceDebouncedCalls` should be encapsulated and renamed, instead of being the longest symbol in the entire codebase
See #32911 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33345 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 16:13:36 +00:00
Ella Iseulde Van Dorpe
e2fab60c51
Editor: word count: exclude HTML comments and entities
...
Also make sure `type` is one of the three allowed types and remove unnecessary regex flags.
See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33344 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 15:23:45 +00:00
Scott Taylor
180d8b3eb0
After [33325], add a doc summary.
...
Fixes #20662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33343 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 15:17:30 +00:00
Scott Taylor
47036da32b
Revert [32466], I will pick this up in 4.4.
...
See #32466 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33342 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 15:09:28 +00:00
Ella Iseulde Van Dorpe
311d43e2a1
Publish box: fix leading zeros in date format
...
See #30716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33341 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 14:54:15 +00:00
Ella Iseulde Van Dorpe
bcb2d6d0db
Publish box: fix strange date format after change
...
Part props tyxla.
Fixes #30716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33340 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 11:39:20 +00:00
Dominik Schilling (ocean90)
810ace4a5e
Customizer: Avoid duplicate IDs and remove role presentation from menu items reorder button. Follow-up to [33074].
...
props afercia.
fixes #32725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33339 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 11:36:15 +00:00
Ella Iseulde Van Dorpe
6da15e0528
TinyMCE: views: make sure gallery captions update
...
Part props dmsnell.
Fixes #32779 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33338 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 23:55:46 +00:00
Ella Iseulde Van Dorpe
8768541ce5
JSHint: don't redeclare globals listed in .jshintrc
...
See #33021 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33337 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 23:38:17 +00:00
Konstantin Obenland
06f92d93cc
Customize: Align screen options toggle with info icon.
...
Fixes #32733 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33336 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 21:20:15 +00:00
Konstantin Obenland
8ea9ecdeb1
Toolbar: Restore scroll-to-top functionality.
...
H/t Ipstenu.
Introduced in [33056].
See #29906 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33334 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 20:01:34 +00:00
Konstantin Obenland
b480968d9b
Site Icon: Center initial crop position.
...
Starting out at the center of the image makes for a better user experience.
Props iseulde.
Fixes #33050 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33333 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 19:01:19 +00:00
Konstantin Obenland
b619b0c194
Site Icon: Improve vertical spacing in preview.
...
Props eliorivero.
Fixes #33038 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33332 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 19:00:58 +00:00
Konstantin Obenland
dc90d4217c
Passwords: Use small screen styles for all small screens.
...
H/t johnjamesjacoby.
Introduced in [33206].
See #32589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33331 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 19:00:29 +00:00
Konstantin Obenland
66f22b5c2c
Use WP's version number after monkey-patch in [33329].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33330 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 17:26:05 +00:00
Konstantin Obenland
9fe59ced57
Site Icon: Add crop preview to the media modal.
...
* Monkey patches imgAreaSelect library to support touch events.
* Removes Settings version of Site Icon since it would have been the same flow.
* Removes default value for Customizer setting - there is no default favicon.
Fixes #16434 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33329 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 15:56:19 +00:00
Weston Ruter
4ff443dd11
Customizer: Fix previewing certain changes to nav menus.
...
Addresses regression introduced in [33138], where deleted menu items would not be removed from the preview, and changes to a location's assigned menu would likewise not preview. Also makes the binding of the setting change events more robust.
Fixes #33010 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33328 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 07:44:00 +00:00
Dion Hulse
534386fcaf
Allow HTML/entities in the Active Theme Name in the themes.php & Customizer templates.
...
Props iCaleb
Fixes #33036
git-svn-id: https://develop.svn.wordpress.org/trunk@33327 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-20 01:45:08 +00:00
Scott Taylor
e690aa50ad
Ensure that private posts cannot be made sticky via Quick Edit.
...
DRY the logic for stickies in `wp_xmlrpc_server` by introducing `->_toggle_sticky()`.
Props wonderboymusic, obenland, chriscct7.
Fixes #20662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33325 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-19 18:08:55 +00:00
Andrew Nacin
a22368a225
JSHint: Use 'global' rather than 'globals' for inline configuration.
...
Don't declare a global already listed in .jshintrc.
props johnjamesjacoby.
fixes #33021 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33324 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-19 17:08:47 +00:00
Weston Ruter
9ba638910c
Customizer: Indicate when there are no nav menu items available for a given type.
...
Props celloexpressions, valendesigns, rittesh.patel.
Fixes #32810 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33323 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-19 00:05:26 +00:00
Weston Ruter
5c76979fb8
Customizer: Finish unit tests for nav menus.
...
Removes object_type restriction to allow for future extensibility. Refactors some methods to improve testability. Includes new tests for Ajax requests.
Fixes #32687 .
Props valendesigns, welcher, westonruter.
git-svn-id: https://develop.svn.wordpress.org/trunk@33322 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-18 23:19:33 +00:00
Weston Ruter
cd327a2807
Customizer: Prevent wp-a11y
from being needlessly enqueued in the customizer preview.
...
Reduces the number of live regions that screen readers have to deal with.
Fixes #33001 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33321 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-18 17:09:40 +00:00
Ella Iseulde Van Dorpe
16e22cd0aa
Editor: word count: count astrals as one character
...
This makes sure an emoji, for example, is counted as one character.
See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33320 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-18 11:41:25 +00:00
Drew Jaynes
c1e158cf87
Update the description for get_the_category()
with helpful information for the proper function to use for custom taxonomies.
...
Also adds a missing return description.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33318 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-17 22:57:20 +00:00
Weston Ruter
d755a8d7f5
Customizer: Move "Menu options" heading outside of a nav menu auto-add control's label.
...
Standardizes capitalization. Amends [33189].
Props valendesigns.
Fixes #32820 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33317 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-17 22:41:56 +00:00
Gary Pendergast
7217a4f6e5
WPDB: ::strip_text_from_query()
doesn't pass a length to ::strip_invalid_text()
, which was causing queries to fail when they contained characters that needed to be sanity checked by MySQL.
...
Props dd32, mdawaffe, pento.
Fixes #32279 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33310 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-17 07:06:33 +00:00
Gary Pendergast
bea2bf1502
WPDB: Remove some of the complexities in ::strip_invalid_text()
associated with switching character sets between queries. Instead of trying to dynamically change connection character sets, we now rely on the value of ::charset
. This also fixes the case where queries were being blocked when DB_CHARSET
was utf8
, but the column character set was non-utf8
.
...
Fixes #32165 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33308 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-17 06:33:36 +00:00
Andrew Ozz
ce14a75784
wpLink: fix vertical alignment of the fields labels.
...
Part props daniluk4000. Fixes #32829 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33300 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 23:57:27 +00:00
Ella Iseulde Van Dorpe
c2c5c5ac27
Editor: word count: exclude shortcodes
...
Props desaiuditd, adamsilverstein, azaozz and iseulde.
Fixes #27386 . See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33299 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 21:08:05 +00:00
Ella Iseulde Van Dorpe
03653fa600
Editor: Add Media should be a button
...
Props afercia.
Fixes #32969 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33298 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 19:37:07 +00:00
Helen Hou-Sandi
c40301f1a0
Customizer: Ensure consistent margins in sections.
...
Since the customizer dynamically changes, `nth-child` selectors are not always a great idea.
props afercia.
fixes #32902 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33297 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 19:14:31 +00:00
Boone Gorges
cddbfd2727
Improve function description for wp_transition_post_status()
.
...
The documentation should make it clear that the function does not modify the
post object in the database, but only fires hooks related to the transition.
Props AramZS.
Fixes #33014 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33296 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 14:34:42 +00:00
Ella Iseulde Van Dorpe
51e2bc173d
Editor: word count: remove redundant script enqueuing
...
It is now a dependency of `post`.
Part props johnjamesjacoby.
Fixes #31766 . See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33295 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 12:40:51 +00:00
Ella Iseulde Van Dorpe
795b2211fb
TinyMCE: inline toolbar: fix memory leaks
...
Part props ungestaltbar.
Fixes #32873 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33294 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 11:10:28 +00:00
Ella Iseulde Van Dorpe
524225187f
Editor: DFW: hide udate message
...
Props miqrogroove.
Fixes #32674 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33293 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 10:37:44 +00:00
Ella Iseulde Van Dorpe
129a3affe5
Editor: word count: exclude more characters
...
Also only exclude these characters for the `words` type. They should be counted for other types.
Add the ASCIIOnly option to the uglify config to preserve escaped unicode characters.
See #30966 . Fixes #27391 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33292 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-16 09:44:43 +00:00
Ella Iseulde Van Dorpe
4b975d8278
Editor: word count: update translator message
...
See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33291 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 23:51:41 +00:00
iseulde
e1242b6979
Editor: word count: add all
type
...
This type will count all characters including spaces.
See #30966 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33290 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 23:47:02 +00:00
Ella Iseulde Van Dorpe
302a039de1
TinyMCE: fix visual regressions (2)
...
See #32801 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33289 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 23:34:40 +00:00
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
Helen Hou-Sandi
9c9b61e7da
Toolbar: Ensure icons are colored correctly in alternate schemes.
...
props ryelle.
fixes #32931 . see #29906 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33284 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 20:13:47 +00:00
Weston Ruter
bfe9cce7f2
Customizer: Defer updating nav menu item tabIndex
attributes until pane is reflowed.
...
Introduces `pane-contents-reflowed` Customizer event.
Props valendesigns, westonruter.
Fixes #32943 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33283 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 20:04:41 +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
Weston Ruter
87b556a77a
Customizer: Fix element focus after menu item is deleted for keyboard accessibility.
...
Also restores box shadow on focus.
Props valendesigns.
Fixes #32740 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33279 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 18:43:50 +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
Konstantin Obenland
bd6c09724e
Update password meter to match new color guidelines.
...
See: https://make.wordpress.org/design/handbook/foundations/colors/
Props melchoyce.
Fixes #32986 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33275 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-15 00:11:50 +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
aee18d2d38
List Tables:
...
* In `->handle_row_actions()`, bail immediately if `$primary` and `$column_name` do not match. Saves us a nesting level and avoids declaring code that is unusable.
* In `WP_List_Table::single_row_columns()`, allow `_column_{$name}` to be called dynamically by core to avoid having to override the entirety of `->single_row_columns()` in `WP_MS_Users_List_Table` and `WP_Posts_List_Table`
* In `WP_MS_Sites_List_Table`, `id` is not a column.
Props wonderboymusic, paulwilde.
Fixes #29881 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33270 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 17:46:13 +00:00
Konstantin Obenland
32bcd95e37
Media: Don't indent action links if there is no media icon.
...
See #32254 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33269 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 17:45:55 +00:00
Konstantin Obenland
8ff5bc6f53
Media: Reduce link noise between icons and titles in list view.
...
Props afercia.
Fixes #32254 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33268 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 17:23:42 +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
Helen Hou-Sandi
d651f599bf
List tables: Even more robust fallback for the primary column.
...
Since `WP_List_Table::get_default_primary_column()` can be overridden in a subclass and columns can be further filtered, it is possible to end up with a primary column that no longer exists. This is particularly evident in list tables for custom post types that have been altered via filter.
props ocean90.
fixes #32996 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33266 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 16:17:06 +00:00
Konstantin Obenland
f645e3767a
Login: Reflect new password flow in registration form.
...
Props Ipstenu.
Fixes #32428 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33265 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 16:07:46 +00:00
Konstantin Obenland
0db2e4e6f1
Use default parameter when getting the default avatar type.
...
Props johnjamesjacoby.
Fixes #32997 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33264 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 15:38:02 +00:00
Konstantin Obenland
3a696d7d91
Media: Remove post_type
variable, unused since [32676].
...
Fixes #32948 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33263 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 15:05:29 +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
Dion Hulse
56c51da216
Updates: When performing an ajax plugin update, rely upon wp_update_plugins()
to check the contents of the transient and return early if no request needs to be made.
...
This works around a bug where custom update handlers are injecting an update into an empty transient, malforming the transient and causing update failures.
Fixes #32198 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@33257 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 08:00:31 +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
3bafaf7983
Editor: Center-align Publish/Update spinner on small-screen devices.
...
Props tywayne for initial patch.
Fixes #32947 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33252 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 04:01:10 +00:00
Konstantin Obenland
8560ac41f1
Password: Improve display of password meter on login screen.
...
Fixes #32925 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33251 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-14 03:31:35 +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
Drew Jaynes
06608b167b
Fix parameter descriptions for two methods added to WP_Customize_Manager
in 4.3.
...
See [32658]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33217 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:31:50 +00:00
Drew Jaynes
19629bda41
Fix missing or inconsistent parameter descriptions for constructors in WP_Customize_Control
, WP_Customize_Color_Control
, WP_Customize_Media_Control
, WP_Customize_Image_Control
, WP_Customize_Background_Image_Control
, WP_Customize_Site_Icon_Control
, WP_Customizer_Header_Image_Control
, and WP_Customize_Nav_Menu_Item_Control
.
...
See #32891 . See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33216 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:24:29 +00:00
DrewAPicture
a4086a6432
Fix inline documentation syntax, and/or add missing @access
tags for a variety of Customizer subclasses and methods added in 4.3.
...
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33215 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:16:02 +00:00
Drew Jaynes
af2e4e158b
Fix summaries for for WP_User->__call()
and wp_roles()
, both added in 4.3.
...
See [32731], [32548]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33214 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 20:00:46 +00:00
Drew Jaynes
7b677473f7
Fix the summary and parameter description for wp_admin_bar_customize_menu()
added in 4.3.
...
See [33130]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33213 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:57:14 +00:00
Drew Jaynes
b7bc240602
Fix summaries and add missing @global
descriptions to the upgrade_430_fix_comments()
and split_all_shared_terms()
functions added in 4.3.
...
See [33020], [32643]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33212 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:55:37 +00:00
Drew Jaynes
e7fe7ee764
Add a description for the dynamic portion of the nav_menu_items_{$post_type_name}_recent
filter added in 4.3.
...
See [32833]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33211 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:50:41 +00:00
Drew Jaynes
760563a3c5
Fix the summary for the WP_Users_List_Table->get_default_primary_column_name()
method added in 4.3.
...
See [32644]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33210 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:48:01 +00:00
Drew Jaynes
0aecc0ce8b
Fix inline documentation syntax in the WP_Upgrader->clear_destination()
method added in 4.3.
...
See [32854]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33209 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 19:45:45 +00:00
Konstantin Obenland
62da20af9e
Passwords: Add trailing periods in new strings.
...
Props akibjorklund.
See #32589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33208 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:29:58 +00:00
Drew Jaynes
794b64438d
Fix summaries for two methods added to WP_Terms_List_Table
in 4.3.
...
See [32644]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33207 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:21:24 +00:00
Konstantin Obenland
71ffa6195e
Passwords: Improve display of show/hide toggle for touch and small-screen devices.
...
See #32589 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33206 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:20:21 +00:00
Drew Jaynes
5df16d63ac
Re-add parameter names to the add()
DocBlock in wptextpattern
accidentally replaced only with descriptions in [33200].
...
Props iseulde.
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33205 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:08:48 +00:00
Drew Jaynes
c68c1ade16
Add missing summaries, @access
tags, and some parameter descriptions for methods added to WP_Links_List_Table
in 4.3.
...
See [32753]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33204 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:02:38 +00:00
Drew Jaynes
9f10dd65fb
Add a true return description to the test()
method added to wpEmoji in 4.3.
...
See [32335]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33203 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:58:36 +00:00
Konstantin Obenland
804a008eb1
Site Icon: Add Android-specific app icon.
...
Falling back to Apple app icons is deprecated behavior and will not work
forever. 192px is the recommended size for that icon.
Props kraftbj.
Fixes #32964 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33202 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:57:19 +00:00
Drew Jaynes
b1a3776a86
Minor documentation fixes for the wp.a11y.speak()
and addContainer()
DocBlocks.
...
See [33000]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33201 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:57:01 +00:00
Drew Jaynes
5b766e2082
Add true descriptions to parameters for the add()
method for wptextpattern
, added in 4.3.
...
See [32703]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33200 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:54:42 +00:00
Drew Jaynes
5251b3406a
Add missing summaries, @access
tags, and some parameter descriptions for methods added to WP_MS_Sites_List_Table
in 4.3.
...
See [32755]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33199 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:52:43 +00:00
Drew Jaynes
60d32793d4
Improving formatting for various pieces of inline documentation in the new WP_Site_Icon
class added in 4.3.
...
See [32994]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33198 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:50:41 +00:00
Drew Jaynes
f43e6e1d38
Add missing summaries, @access
tags, and some parameter descriptions to methods added to WP_Posts_List_Table
in 4.3.
...
See [32740]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33197 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:48:07 +00:00
Drew Jaynes
32c3c59944
Fix the DocBlock summary for WP_Plugins_List_Table->get_primary_column_name()
, added in 4.3.
...
See [32644]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33196 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:45:16 +00:00
Drew Jaynes
79422e9136
Add missing summaries and parameter descriptions to new methods added to WP_MS_Users_List_Table
in 4.3.
...
See [32757]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33195 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:42:41 +00:00
Jeremy Felt
867f582b16
Handle MS Sites bulk action verification separately from individual actions.
...
After [33173], bulk actions would not process due to broken verification of the `bulk-sites` action. This reintroduces the proper action and treats bulk actions differently than individual site actions.
See #32963 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33194 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:23:55 +00:00
Drew Jaynes
4d1e0e26bb
Add missing summaries to new methods added to WP_MS_Themes_List_Table
in 4.3.
...
See [32756]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33193 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 16:12:58 +00:00
John Blackbourn
28ef7b69e5
Place the locale inside the md5 hash in the dashboard RSS feed widget transient key to prevent the transient timeout option name becoming longer than the allowed field size.
...
Props andg
Fixes #32804
git-svn-id: https://develop.svn.wordpress.org/trunk@33192 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 15:31:54 +00:00
Dominik Schilling (ocean90)
89770100d3
Customizer: Fix broken cap check in WP_Customize_Nav_Menus::ajax_search_available_items
.
...
see #33163 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33191 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 14:30:21 +00:00
John Blackbourn
82787b5842
Correct a parameter name in the docs for wp_insert_category()
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33190 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 12:58:07 +00:00
Weston Ruter
4a849e7c24
Customizer: Disambiguate a menu's auto-add pages option from preceding menu location checkboxes.
...
Creates a separate `nav_menu_auto_add` control type following the pattern of the `nav_menu_name` control type.
Props valendesigns.
Fixes #32820 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33189 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 08:39:17 +00:00
Andrew Ozz
698faf3b17
TinyMCE:
...
- Go back to encoding the editor content only when TinyMCE is used.
- Add check and encode `</textarea>` if present.
See #32425 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33187 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 03:18:47 +00:00