Scott Taylor
d83ac79c38
Unbreak Media Trash
after [28788].
...
Props SergeyBiryukov.
Fixes #29080 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29337 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-01 15:14:56 +00:00
Andrew Ozz
c94edd08bd
Editor scrolling:
...
- Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference.
- Fix delayed calls to resize() in the TinyMCE autoresize plugin.
See #28328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29336 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-01 02:42:30 +00:00
Andrew Ozz
a8a936ebc5
wpLink: add custom open and close events, props bradyvercher, fixes #28095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29335 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-01 02:03:13 +00:00
Andrew Ozz
c3f712ac63
PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29334 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-01 00:54:51 +00:00
Andrew Ozz
0ef495da6a
wpLink:
...
- Fix adding a link on pressing Enter.
- Don't auto-focus the URL field after selecting a local link.
- Don't auto-focus the URL field when opening on touch devices. Toggle focus/blur on it to close the onscreen keyboard so the modal is positioned properly.
See #28897 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29333 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-31 23:27:14 +00:00
Andrew Ozz
cba848581b
Use node.nodeName instead of tagName for better consistency/compatibility, see #28704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29332 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-30 17:48:21 +00:00
Helen Hou-Sandi
8790d81cb4
Prevent key event handlers from firing when in input areas in the media modal, as people understandably want to type inside said inputs. props kovshenin. fixes #28704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29331 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-30 17:38:18 +00:00
Sergey Biryukov
6be5fc19b3
Make sure phpinfo() is not disabled before calling it in apache_mod_loaded().
...
props rohan013, harmr.
fixes #26772 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29330 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-30 17:27:54 +00:00
Sergey Biryukov
09877657d4
Customizer: Don't hide controls the preview frame has no information about.
...
props kovshenin.
see #27993 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29329 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-30 16:23:47 +00:00
Andrew Nacin
94c53962b1
Don't pass around the password reset key.
...
props mdawaffe.
fixes #29060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29327 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 18:18:58 +00:00
Sergey Biryukov
502e9b675a
In add_submenu_page(), avoid inadvertently copying classes of a menu item to the first submenu item.
...
fixes #28936 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29326 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 16:07:59 +00:00
Helen Hou-Sandi
3c71a49abc
Labels for the installation form should get the pointer cursor. props Ankit K Gupta. fixes #28818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29325 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 16:04:44 +00:00
Sergey Biryukov
40d1133c6f
Fix duplicate Customize button in theme details modal.
...
props afercia.
fixes #28987 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29324 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 16:01:13 +00:00
Sergey Biryukov
e4c8f3a843
QuickPress: Disable autocomplete for content, enable "Save Draft" button on load.
...
props morganestes, michalzuber.
fixes #27760 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29323 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 15:33:07 +00:00
Sergey Biryukov
fd1652d6bb
Media Grid: Close the modal if the attachment is deleted.
...
props ericlewis.
fixes #28819 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29322 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 14:57:21 +00:00
Andrew Ozz
93aff47ac5
wpLink: add keyboard navigation, improve accessibility. Props afercia, fixes #28897 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29321 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 03:15:34 +00:00
Sergey Biryukov
e2d9939e57
Avoid PHP notices in Media Library if an attachment parent post type no longer exists.
...
Synchronize the 'edit_post' capability check between the list table and the media grid.
fixes #27446 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29320 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 01:40:24 +00:00
Sergey Biryukov
a475124608
Use 3-digit x.x.x style for two 4.0.0 @since versions.
...
see #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29319 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 00:58:22 +00:00
Sergey Biryukov
7ac0669493
Avoid PHP notices in _count_posts_cache_key(), _update_blog_date_on_post_publish(), and _update_blog_date_on_post_delete() if post type is not registered.
...
props jesin.
fixes #28135 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29318 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-29 00:50:53 +00:00
Andrew Ozz
fbfd88cecb
TinyMCE:
...
- Use `data-wp-*` for processing and styling of the `more` and `nextpage` placeholders, keep the class names for back-compat. Makes them "immune" to "Clear formatting".
- Translate the titles of the placeholders.
Fixes #28772 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29317 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-28 23:44:28 +00:00
Andrew Ozz
01051b4e2f
Formatting: make the removal of white space around <option> greedy, see #28217 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29316 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-28 19:54:50 +00:00
Andrew Ozz
5fa36977a0
Formatting: no <p> or <br> around <option> tags in both flavours of wpautop, make "selects" easier to read in the Text editor. Fixes #28217 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29315 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-28 19:43:06 +00:00
Dominik Schilling (ocean90)
70a6b6390c
IE8 doesn't support ::before
and ::after
pseudo-elements. Replace them with :before
and :after
.
...
props andrezrv, DrewAPicture, ocean90.
fixes #28082 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29314 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-28 15:51:02 +00:00
Dominik Schilling (ocean90)
41360a0086
Remove parent::footer()
in Language_Pack_Upgrader_Skin::bulk_footer()
as it prints a closing div which is not needed.
...
props michalzuber.
fixes #28947 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29313 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-28 09:05:33 +00:00
Dominik Schilling (ocean90)
9f105673fb
Media Grid: Improve lazy loading.
...
props kovshenin.
see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29312 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 17:57:25 +00:00
Dominik Schilling (ocean90)
ea34a0bdf7
Replace is_https_url()
with 'https' === parse_url( $url, PHP_URL_SCHEME )
.
...
see #28427 , #28487 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29311 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 17:45:34 +00:00
Dominik Schilling (ocean90)
080f52ceb9
Revert [28894] as it's currently unused in core.
...
see #28487 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29309 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 17:15:22 +00:00
Dominik Schilling (ocean90)
0e42ce2dc0
Add missing screen-reader-text
CSS class in [29294].
...
see #28867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29308 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 13:42:49 +00:00
Dominik Schilling (ocean90)
db77bc8bff
Media Grid: Align "Apply" button on small screens.
...
fixes #28903 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29307 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 12:14:58 +00:00
Dominik Schilling (ocean90)
3003895858
Fix jshint errors introduced in [29284] and [29299].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29306 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 11:48:26 +00:00
Dominik Schilling (ocean90)
812ecd9b8d
Media Grid: Ignore user setting for content
.
...
fixes #29034 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29305 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-27 11:43:08 +00:00
Dominik Schilling (ocean90)
cb5838a937
Media Grid: Improve dropzone margins when viewport height is <400px.
...
see #28851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29304 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-26 15:29:39 +00:00
Dominik Schilling (ocean90)
0480144f86
Media Grid: Add context for "or" in [29296].
...
see #28851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29303 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-26 14:36:56 +00:00
Andrew Ozz
42ac48d52a
TinyMCE:
...
- Fix complex character input in Japanese, Chinese, etc. Was broken in getCursorOffset() in editor-expand.js.
- Disable auto-scrolling in some edge cases when editor expanding is enabled.
See #28328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29302 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-26 00:07:55 +00:00
Helen Hou-Sandi
357d96c367
Don't interfere with browser-based autocomplete in the link modal. props SergeyBiryukov. fixes #28685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29301 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 15:56:57 +00:00
Helen Hou-Sandi
59cec2e2ff
When adding a post of a post type whose menu item is in a submenu, highlight the correct menu item. props mordauk, markjaquith. fixes #24137 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29300 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 15:25:20 +00:00
Scott Taylor
0b3802eb12
Media Grid: when closing the modal, automatically focus the proper attachment by reading the model's ID, which is unique.
...
Props adamsilverstein (for the red), wonderboymusic (for the green).
Fixes #28857 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29299 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:59:29 +00:00
Andrew Ozz
67032cf170
TinyMCE wpView:
...
- Fix opening the media modal on clicking Edit in Firefox.
- Fix range errors when restoring the selection bookmark in IE11 after editing a view.
See #28595 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29298 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:55:33 +00:00
Scott Taylor
e11d72f889
Media Grid: make check box-shadow
more subtle.
...
See #28842 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29297 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:46:14 +00:00
Scott Taylor
3fef7648f6
Media Grid: improve uploader styles.
...
Props michalzuber, ericlewis.
See #28851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29296 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:30:28 +00:00
Scott Taylor
276496aa29
Media Grid: change text to "Close Media Panel" to provide context for screen readers.
...
Props joedolson.
Fixes #28976 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29295 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:25:16 +00:00
Scott Taylor
ced3f94927
Adds <label>
s to current page selector and bulk actions <select>
field so that screen readers have an explicit label.
...
Props joedolson.
Fixes #28867 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29294 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-25 00:19:21 +00:00
Scott Taylor
f0318988c4
Correct a few @param
docs for $walker
.
...
Props dnaber-de.
Fixes #29011 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29293 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 22:24:07 +00:00
Scott Taylor
6e74d46d94
Whitelist input
types that are styled in the scope of .form-field
.
...
Props mauteri.
Fixes #28647 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29292 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 22:21:00 +00:00
Scott Taylor
66c8ad501f
Add exif orientation
to data extracted in wp_read_image_metadata()
.
...
Props shanebp.
Fixes 28916.
git-svn-id: https://develop.svn.wordpress.org/trunk@29291 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 22:13:19 +00:00
Scott Taylor
1cbe1cec12
In sanitize_file_name()
, replace %20
and +
with dashes. Remove unnecessary code from _wp_handle_upload()
.
...
Adds unit tests.
Props ericmann.
Fixes #16330 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29290 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 22:08:09 +00:00
Scott Taylor
cdf2c8132c
Media Grid: UI improvements to Attachment modal.
...
Props ryelle.
See #28844 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29289 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 21:54:22 +00:00
Scott Taylor
dd76aeea5b
Media Grid: remove pencil icon from attachment hover and a bunch of unused CSS.
...
Fixes #28945 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29288 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 21:17:32 +00:00
Scott Taylor
1b01b92dc6
Media Grid CSS: Media modal close icon should be consistent with other modals.
...
Props celloexpressions.
Fixes #29012 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29287 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 21:06:42 +00:00
Scott Taylor
052e5c5062
Remove white box-shadow divider from uploading status area for consistency.
...
Props paulwilde.
Fixes #28751 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29286 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 21:03:25 +00:00
Scott Taylor
b1053cca13
Don't render Attachment Display Settings when display
is set to false
. Currently, the value for display
in the media.view.AttachmentsBrowser
instance in the media.view.MediaFrame.Select
frame is set to the value for displaySettings
.
...
These values do different things, so check for the existence of `display` on the state before arbitrarily setting it to the `displaySettings` value.
Real world: this hides display settings when you select an image while editing a Gallery.
Fixes #28653 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29285 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 20:57:05 +00:00
Scott Taylor
c2491f31ae
When gallery settings are overridden, the JS-generated shortcodes need to check the new defaults before deleting attributes that it suspects are the same as the original default values.
...
`wp.media.collection` has a new method to do this: `setDefaults()`. Also flips the use of `_.extend` to allow this method to be overriden on instance creation.
See #28693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29284 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 19:59:18 +00:00
Scott Taylor
530328ef59
The Underscore templates for Gallery settings should respect defaults when marking an <option>
as selected
.
...
See #28693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29283 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 19:34:53 +00:00
Scott Taylor
abc6b8c1d7
Media Grid: Manage focus when toggling between the grid and an edit attachment modal
...
Props adamsilverstein for the initial patch.
Fixes #28857 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29282 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 19:04:48 +00:00
Helen Hou-Sandi
2fd45b514b
Set default values for attachment meta and ID3 data when preparing for JS to avoid errors in rendering templates. props ericmann for the initial patch. fixes #29013 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29281 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 18:03:58 +00:00
Helen Hou-Sandi
5698a9dc7e
Media Grid: Remove fields from showing in the grid itself.
...
All details are still available within the modal, and less-distinguishable non-image files still show the filename along with the file type icon.
Reverts [29079], [29078], [29077], and [28995]. see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29280 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 05:25:28 +00:00
Andrew Ozz
0a73faec46
Editor scrolling:
...
- Improve TinyMCE resizing when a floated block is at the end of the content.
- Improve setting the padding/margin under the toolbar on loading.
- Add custom event on TinyMCE resizing and use it to adjust the pinning (if needed).
Part props avryl, see #28328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29279 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-24 01:32:29 +00:00
Helen Hou-Sandi
3d3b141b30
Add support for attachment_fields_to_edit
in the attachment details modal. props ericlewis. fixes #28991 , see #24716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29278 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-23 22:08:17 +00:00
Scott Taylor
15aaf0691a
After [29179], remove the last instance of this.isCompatibleSrc()
.
...
Props kovshenin.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29277 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-23 17:53:07 +00:00
Drew Jaynes (DrewAPicture)
d9564736b8
Fix a typo in the PHPDoc for wp_register_sidebar_widget()
.
...
Props Jonnyauk.
Fixes #29007 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29276 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-23 17:20:10 +00:00
Drew Jaynes (DrewAPicture)
1e2fa2ddd3
Fix a typo in the PHPDoc for get_stylesheet()
.
...
Props lgedeon.
Fixes #28985 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29275 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-23 05:10:44 +00:00
azaozz
2d466f4c86
wpView: make sure the editor is focused before selecting/deselecting a view, or IE may throw an invalid range error, see #28595 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29273 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 21:52:02 +00:00
Andrew Ozz
c2bd765b32
wpView: consolidate pausePlayers() and unsetPlayers(), they are almost the same. Prevent errors when instead of a player ME.js shows only a "Download File" placeholder (in IE). See #28905 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29272 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 21:48:41 +00:00
Dominik Schilling (ocean90)
cce3bdf920
Media Grid: Add a date filter.
...
props ericlewis.
fixes #28895 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29271 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 20:46:22 +00:00
Dominik Schilling (ocean90)
f5c0cf95e0
Fix jshint errors introduced in [29259]. see #11325 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29269 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 20:02:34 +00:00
Dominik Schilling (ocean90)
5bba352ae0
Media CSS: Fix typo in box-shadow
property for WebKit and update indentation to match the other ones.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29268 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 19:57:21 +00:00
Scott Taylor
80c4d6a96c
Media Grid: general JS cleanup.
...
Props ericlewis.
See #28965 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29266 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 16:20:59 +00:00
Sergey Biryukov
d51539d8b3
Media Grid: Fix missing padding in RTL in Attachment Details modal.
...
see #28980 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29265 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 03:17:59 +00:00
Sergey Biryukov
708af1c467
Media Grid: Swap arrow direction in RTL in Attachment Details modal.
...
props adamsilverstein.
fixes #28980 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29264 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 03:07:21 +00:00
Helen Hou-Sandi
25b733cea2
Move the "view" link for attachment details to the sidebar and use more specific language. Removes an unnecessary JS handler. fixes #28977 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29263 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 02:19:21 +00:00
Sergey Biryukov
f171b362a9
Media Grid: Add a View button to Attachment Details modal.
...
props adamsilverstein.
fixes #28977 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29262 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-22 01:29:17 +00:00
Andrew Ozz
9106987a3f
TinyMCE: include 85e22b58e9
that and quote one more use of "float". This is "reserved as future keyword by older ECMAScript specifications" according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar and can throw a syntax error. See #28576 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29261 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-21 23:04:29 +00:00
John Blackbourn
dfa33f92ff
Add a lang
attribute to each language listed on the language selector screen during installation. See #28858 , #28577 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29260 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-21 21:50:12 +00:00
Sergey Biryukov
ac17007b10
Remove requirement for a minimum image size in the image editor.
...
props ericlewis, solarissmoke.
fixes #11325 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29259 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-21 19:09:44 +00:00
Sergey Biryukov
98e7bb798c
Don't always focus password field on interim login.
...
props johnbillion.
fixes #28961 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29258 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-21 16:20:05 +00:00
Sergey Biryukov
4ba18baec2
Remove a redundant condition for comment feeds from WP_Query::get_posts().
...
props engelen.
fixes #28401 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29257 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-21 15:37:14 +00:00
Peter Westwood
01277f8d32
XMLRPC: Switch the file deletion alias to be deleteFile to more closely make uploadFile.
...
Fixes #5310 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@29255 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-20 14:01:35 +00:00
Peter Westwood
6d0218365b
Post beta2 version bump to 4.0-beta2-29254
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29254 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-20 13:58:21 +00:00
Scott Taylor
b085282340
WP_Dependencies->recurse_deps()
: tuck the recursion into elseif
so the foreach
doesn't break on the first item.
...
See [29252].
git-svn-id: https://develop.svn.wordpress.org/trunk@29253 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-20 00:33:51 +00:00
Scott Taylor
77ee35c4eb
wp_script_is( ..., 'enqueued' )
needs to check dependencies recursively - a single item's dependencies may only be a subset of the full dependency tree. Adds a new method on WP_Dependencies
called ->recurse_deps()
.
...
Adds unit test.
Props wonderboymusic, SergeyBiryukov, mikejolley.
Fixes #28404 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29252 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-20 00:28:57 +00:00
Scott Taylor
ca5d586b8e
After [29200], switch back to using static
vars instead of adding 2 global
s, as per Sergey.
...
Fixes #28697 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29250 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 23:13:19 +00:00
Scott Taylor
a1aa518788
Call untrailingslashit()
when adding a theme directory in register_theme_directory()
. This prevents double-slashing in generated URLs. Don't add a directory if it is already present.
...
Adds unit tests.
Props obenland, wonderboymusic.
Fixes #28662 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29249 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 23:06:54 +00:00
Scott Taylor
150e1367b4
In get_adjacent_post()
, make $excluded_terms
work as expected.
...
Adds unit tests.
Props jessepollak, kovshenin.
Fixes #22112 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29248 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 22:26:43 +00:00
Andrew Ozz
9c366c8f61
Fix admin menu open/close issues on some mobile devices, props adamsilverstein, fixes #27980 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29247 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 18:54:50 +00:00
Andrew Ozz
b53705fa7b
TinyMCE wpView: better removal of views, replace a selected view when pasting. Props avryl, fixes #28913 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29246 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 07:29:34 +00:00
Andrew Ozz
8c67be305d
TinyMCE wpVIew: use CSS3 currentcolor
for the fake carets, see #28595 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29245 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 06:28:38 +00:00
Sergey Biryukov
50090763ba
Remove redundant title attributes from get_calendar().
...
props joedolson.
fixes #26561 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29244 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 04:40:32 +00:00
Sergey Biryukov
d83dbfca17
Customizer: Remove "Add a Widget" button from tab order when reordering widgets.
...
fixes #28890 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29243 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 03:31:49 +00:00
Sergey Biryukov
45ec949d58
Customizer: When widget reorder button is actioned, transfer focus to the first Move control within the section.
...
fixes #28891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29242 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 03:23:51 +00:00
Sergey Biryukov
c62cd97555
Add a class for get_comment_author_link() in Recent Comments widget.
...
props DrewAPicture, dannydehaan, 5um17.
fixes #27944 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29241 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 02:43:27 +00:00
Sergey Biryukov
0121e36154
Customizer: Add screen reader text to announce that panels and sections are expandable.
...
props joedolson, ocean90.
fixes #27591 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29240 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 02:36:07 +00:00
Sergey Biryukov
123702b484
Add screen reader text to announce that menu item accordion sections are expandable. Remove redundant title attribute.
...
props joedolson.
fixes #28866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29239 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 02:20:58 +00:00
Sergey Biryukov
a740868552
Customizer: Add widget title to Move/Up/Down controls to provide context for screen readers when reordering or moving widgets.
...
fixes #28889 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29238 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 01:57:05 +00:00
Sergey Biryukov
7a01c6af7b
Customizer: Avoid losing focus when adding widgets via keyboard.
...
props sathishn.
fixes #28835 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29237 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 01:18:39 +00:00
Andrew Ozz
bcff52c1b0
TinyMCE wpView:
...
- Typing something replaces a selected view.
- Pressing backspace deletes the selection.
- Pressing enter also deletes the selection.
- Pasting something replaces the selection.
- Also merge the different 'keydown' handlers.
Props avryl, fixes #28913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29236 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 00:33:46 +00:00
Sergey Biryukov
fad9723a42
Revert [28963].
...
see #28006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29235 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-19 00:25:46 +00:00
Sergey Biryukov
9b1dbf7417
Use an existing string.
...
see #19205 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29234 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 23:55:47 +00:00
Sergey Biryukov
54f0c851d5
Reverse the order of roles in help text on Add New User screen to match [25695].
...
fixes #28914 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29233 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 23:47:54 +00:00
Sergey Biryukov
218cbba634
Add screen reader text for star ratings on Install Plugins screen.
...
props joedolson.
fixes #28852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29232 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 23:40:43 +00:00
Andrew Ozz
72916a9751
TinyMCE: better "color preview" for the text color button, props avryl, fixes #28280 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29231 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 22:14:05 +00:00
Drew Jaynes (DrewAPicture)
b4e97b5d5a
Convert documentation for default arguments in WP_Http::request()
to a hash notation.
...
Also update corresponding docs for functions that leverage its arguments.
See #28298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29230 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 22:00:51 +00:00
Drew Jaynes (DrewAPicture)
9ea77904ba
Fix syntax for single- and multi-line comments in wp-includes/class-http.php.
...
See #28943 and #28931 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29229 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 21:46:24 +00:00
Andrew Nacin
b26c85ff29
4.0-beta2.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29228 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 21:04:27 +00:00
Andrew Nacin
3bd777fba5
Plugin Install screens: Pass locale and installed plugins to the API, for context.
...
props tellyworth.
see #17902 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29227 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 20:49:14 +00:00
Andrew Nacin
b00097b758
Add 'Details' links to installed plugins.
...
Installed plugins that are up to date are now returned in the update-check API response.
props tellyworth.
see #17902 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29226 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 20:48:28 +00:00
Helen Hou-Sandi
446f78396a
Plugin install: display cards in groups if the API returns them with the appropriate information. props tellyworth. fixes #28673 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29225 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 19:34:47 +00:00
Andrew Nacin
fdacabaa7e
WP_Session_Tokens: Can't abstract a static method.
...
Implementations can choose to implement the drop_sessions() method on their own.
see #20276 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29224 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 19:15:13 +00:00
John Blackbourn
bda49ba928
Update some inline docs for the WP_Http
class. Fixes #28943 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29223 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 18:14:09 +00:00
Sergey Biryukov
6fdf1c5d36
Fix parse error in PHP 5.2.
...
props georgestephanis.
see #20276 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29222 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 17:33:50 +00:00
Andrew Nacin
97fcbef707
Tie cookies and nonces to user sessions so they may be invalidated upon logout.
...
Sessions are stored in usermeta via WP_User_Meta_Session_Tokens, which extends the abstract WP_Session_Tokens class. Extending WP_Session_Tokens can allow for alternative storage, such as a separate table or Redis.
Introduces some simple APIs for session listing and destruction, such as wp_get_active_sessions() and wp_destroy_all_sessions().
This invalidates all existing authentication cookies, as a new segment (the session token) has been added to them.
props duck_, nacin, mdawaffe.
see #20276 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29221 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 09:12:05 +00:00
Helen Hou-Sandi
a14ea26577
Keyboard accessibility for the media modal:
...
* Arrow keys navigate between items in the grid.
* Transfer focus into the panel when selecting a tab along the side.
* Transfer focus into the details sidebar when selecting an item and vice versa.
* Set initial focus on the close button so that it is visible.
props celloexpressions, lessbloat, ericlewis. fixes #25100 , #25101 , #28704 . see #23560 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29220 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 07:56:25 +00:00
Helen Hou-Sandi
1803c4c1e8
Plugin install cards:
...
* Move author attribution to its own line.
* Use `esc_url()` where appropriate.
* Better i18n.
* min-height for cards for a more even appearance.
* Show more cards on wide screens.
* Tighten up spacing below the filter bar.
props ocean90, helen. see #28785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29219 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 06:07:21 +00:00
Helen Hou-Sandi
b0b9655b12
Install Plugins screen:
...
* Utilize the (currently-named) filter bar from the Add Themes screen.
* Move the upload link to the h2, also like the Add Themes screen.
see #28673 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29218 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 04:49:19 +00:00
Helen Hou-Sandi
021750b4f4
Use more generic, reusable CSS for the filter bar on Add Themes. This will allow us to reuse the UI in other places, such as the Media Library. props paulwilde. fixes #28794 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29217 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-18 03:39:04 +00:00
Sergey Biryukov
168ed4764e
Don't 404 for empty feeds.
...
fixes #18505 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29216 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 22:21:37 +00:00
Sergey Biryukov
332a618271
Declare the variable before using it.
...
props danielbachhuber.
fixes #28932 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29215 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 22:00:14 +00:00
Andrew Ozz
9730c679f1
TinyMCE: add the 'colorpicker' and 'lists' plugins, fixes #28939 , #27359 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29214 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 21:53:28 +00:00
Helen Hou-Sandi
cb2ea6501a
Fix jshint errors introduced in [29212]. see #28842 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29213 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 20:45:09 +00:00
Helen Hou-Sandi
e391aa228a
Media Grid:
...
Instead of a separate bulk selection mode, persistently show a checkbox for each item. Restores the more familiar bulk actions dropdown + action button.
props ericlewis. see #28842 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29212 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 20:41:40 +00:00
Andrew Ozz
e4762df523
TinyMCE: include 709266e308
that fixes the UI state updates for the "link" button. See #28576 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29211 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 19:30:41 +00:00
Sergey Biryukov
750c310565
Twenty Fourteen: Remove unused variable after [27120].
...
props michalzuber.
fixes #28928 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29210 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 19:08:05 +00:00
Scott Taylor
f59a307e10
Merge wp_handle_upload()
and wp_handle_sideload()
by making them each wrap a new function: _wp_handle_upload()
.
...
Props DrewAPicture for docs.
Fixes #23686 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29209 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 18:57:26 +00:00
Scott Taylor
5e1556a4ce
After [29106], check for data.meta
before attempting to render data.meta.bitrate
.
...
See #28839 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29208 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 17:41:06 +00:00
Scott Taylor
753a60c709
After [29197], use ! empty()
instead of isset()
. Don't call has_shortcode()
internally twice if it's true.
...
Props kovshenin.
Fixes #26343 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29207 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 17:37:51 +00:00
Drew Jaynes (DrewAPicture)
6ddc1e5f6d
Fix syntax for single- and multi-line comments in wp-admin-directory files.
...
See #28931 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29206 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 09:13:53 +00:00
Drew Jaynes (DrewAPicture)
161266c17d
Fix syntax for single- and multi-line comments in root-directory files.
...
See #28931 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29205 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 09:11:46 +00:00
Helen Hou-Sandi
fdabfafa0f
Media Grid Attachment Details modal UI improvements:
...
* Align better visually with the existing media modal and the post image edit modal.
* Add back a link to the full attachment edit screen (post.php).
* Add a title to the modal and move prev/next buttons next to the more-consistent close button.
* Remove mode tabs (metadata vs. image editing) in favor of the Edit Image button.
Still to come: responsive, IE8 testing and targeted CSS (calc() usage), general CSS cleanup.
props ericlewis, helen, melchoyce. see #28844 . fixes #28915 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29204 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 03:54:44 +00:00
Andrew Ozz
db9a148b34
TinyMCE:
...
- Update to 4.1.2, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt
- Update the tests to 4.1.2.
Fixes #28576 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29203 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 00:58:41 +00:00
Andrew Ozz
50f7313fdd
TinyMCE wpView: prevent fatal (security) errors when trying to access iframe.contentWindow in pausePlayers() and unsetPlayers(). See #28905 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29202 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-17 00:49:11 +00:00
Scott Taylor
283fa473e6
In Plugin Install List Table, remove title attribute for plugin action links; add screen-reader-text.
...
Props joedolson.
Fixes #28853 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29201 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 22:49:53 +00:00
Scott Taylor
bda6f0cffe
Properly set $subdomain_error
to false
when applicable in ms_subdomain_constants()
. This was previously untestable because it used static vars: use globals instead.
...
Adds unit test.
Fixes #28697 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29200 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 22:34:18 +00:00
Drew Jaynes (DrewAPicture)
8a5d825fac
Fix a typo in the @access
tag for WP_List_Table::__get()
.
...
Props joehoyle.
Fixes #28925 . See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29199 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 22:12:11 +00:00
Scott Taylor
e7e0aa5a42
Make sure that the ready
event only fires once for relevant MCE views that are sandbox'd in iframes. Move some editor callbacks to initialize
.
...
Props avryl.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29198 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 22:09:13 +00:00
Scott Taylor
17d67d93e7
Make has_shortcode()
recursive/work for nested shortcodes.
...
Adds unit test.
Props katzwebdesign.
Fixes #26343 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29197 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 22:04:08 +00:00
Scott Taylor
722930611c
Avoid a race condition when multiple windows are open so that orphaned terms cannot be created by accident.
...
Adds a unit test.
Props dlh.
Fixes #19205 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29196 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 21:51:40 +00:00
Andrew Ozz
0e3aac5016
TinyMCE: fix aligncenter
for html5-captions, props obenland, fixes #28681 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29195 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 21:27:54 +00:00
Scott Taylor
977b4a7c26
Cleanup after [29179]:
...
* Remove `wp.media.mixin.pauseAllPlayers()` - was only ever intended to be used in MCE views, reaches too far into global scope. Rendered irrelevant since [28364].
* Remove `wp.media.mixin.pausePlayers()` - added in [28364]. MCE views no longer keep track of player instances and call mixin methods, they refer to their child iframes and call MEjs methods on the iframe's `window.mejs.players`.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29194 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 19:35:55 +00:00
Scott Taylor
aa10b9f67b
Cleanup after [29179]:
...
Don't attach nodes to the view instance and check if the iframe still exists before resizing.
Props avryl.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29193 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 19:31:30 +00:00
Andrew Ozz
67c5474701
Autosave: always expose the wp.autosave.local
methods, fixes #28924 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29192 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 18:33:03 +00:00
Scott Taylor
72c8cf3233
Cleanup after [29179]:
...
* Pause players when media is edited via modal
* Remove players on unind
* Account for failure when an empty node is passed to an `mce.view.View`
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29191 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 18:18:18 +00:00
Andrew Ozz
fa4ed6e062
TinyMCE wpView: add noop() when returning early, fixes #28921
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29190 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 17:55:00 +00:00
Scott Taylor
f071e710c2
Cleanup after [29179]:
...
* Cleanup players when the editor is hidden - window scope is unique to each frame
* Add the editor body class to each iframe sandbox
* Remove unneeded code from `wp-mediaelement.js`
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29189 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 16:13:47 +00:00
Andrew Nacin
9452f31220
DB schema change: Add comment_author_email(10) index.
...
props tellyworth, pento.
fixes #21435 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29188 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 15:53:14 +00:00
Scott Taylor
7e05c69ce2
Cleanup after [29179]:
...
* `_WP_Editors::editor_settings()` no longer needs to load MEjs styles
* Make sure each identical shortcode with multiple instances also has an iframe sandbox for each instance
* For the time being, make audio and video shortcodes bypass the loading placeholder to avoid whiplash visually
Props avryl, wonderboymusic.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29187 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 15:39:05 +00:00
Andrew Ozz
09f5183276
Editor scrolling: better "scroll into view" in the visual editor. Don't override MCE path focus style. Props avryl, see #28328 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29186 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 04:05:13 +00:00
Andrew Ozz
850d8eb69e
Editor scrolling: on setcontent, resize the editor after some delay to allow the browser to render the content. Props avryl, see #28328 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29185 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 02:29:53 +00:00
Andrew Ozz
a90e8c6ff2
TinyMCE wpView: handle execCommand when the "fake caret" P is selected, props avryl, see #28595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29184 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 02:18:18 +00:00
Andrew Ozz
76c3055aec
TinyMCE wpView:
...
- Cast off commands targeted to a view except undo, redo, RemoveFormat and mceToggleFormat (bold, italic, etc.).
- Disable the link and unlink buttons when a view is selected.
Props avryl, see #28595
git-svn-id: https://develop.svn.wordpress.org/trunk@29183 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-16 00:09:58 +00:00
Andrew Ozz
e7b7e3fa44
TinyMCE wpView: remove unused code, props avryl, see #28595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29182 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 23:38:33 +00:00
Lance Willett
aa163fdee3
Twenty Thirteen: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button
element rather than h3
for the toggle element. Fixes #28293 , props rclations and obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29181 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 23:09:41 +00:00
azaozz
12ebd89657
Editor scrolling: also disable in IE < 9. See #28328 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29180 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 22:36:02 +00:00
Scott Taylor
cba1ae06af
Simplify creation of audio, video, and playlist MCE views by placing them in iframe sandboxes.
...
Wins:
* Eliminates duplication of code between PHP and JS
* Views can load JS without messing with TinyMCE and scope
* MEjs doesn't break when it loads a file plugin-mode. This allows any file type the MEjs supports to play in MCE views.
* YouTube now works as the source for video.
* Users can still style the views, editor stylesheets are included in these sandboxes.
* Audio and Video URLs and `[embed]`s are no longer broken.
* Remove the crazy compat code necessary to determine what file types play in what browser.
* Remove unneeded Underscore templates.
* Remove the compat code for playlists.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29179 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 22:17:58 +00:00
Scott Taylor
9e573243cf
Add a new AJAX action: parse-media-shortcode
. This async call will replace JS rendering of audio/video/playlist shortcodes.
...
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29178 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 22:07:16 +00:00
Scott Taylor
de49a2e6da
_WP_Editors::editor_settings()
should make use of get_editor_stylesheets()
.
...
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29177 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 22:00:34 +00:00
Scott Taylor
bbfdf38a5b
Make audio and video URLs/embed handlers work in <iframe>
-sandbox'd MCE views.
...
Introduce:
`get_editor_stylesheets()`
`wp_media_mce_styles()`.
See #28905 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29176 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 21:50:41 +00:00
Helen Hou-Sandi
0db107498a
No-JS fallback for the Media Library grid view. props michalzuber. fixes #28830 , see #24716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29175 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 20:44:38 +00:00
Lance Willett
a9f6a727eb
Twenty Fourteen: optimize featured content lookup to reduce the number of queries for featured posts. Props Chouby and obenland, closes #26744 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29174 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-15 06:43:31 +00:00
Dominik Schilling (ocean90)
4d6759dcf5
Remove unused variable in WP_Theme_Install_List_Table::install_theme_info()
. Unused since [26380].
...
props Corphi.
fixes #28749 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29173 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 20:27:37 +00:00
Dominik Schilling (ocean90)
cf673a6985
Fix wrong indentation in [29136].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29172 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 20:08:38 +00:00
Dominik Schilling (ocean90)
1b2386e787
Remove plugin_install_details_link
filter, which was added in [29047].
...
see #28785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29171 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 19:49:15 +00:00
Dominik Schilling (ocean90)
60b1befd8e
Customizer: Add meta capability customize
which is mapped to edit_theme_options
.
...
You can now allow users to access the Customizer, say for any user who can `edit_posts`, via `map_meta_cap` or `user_has_cap` filter. See ticket for examples.
props westonruter, nacin.
fixes #28605 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29170 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 19:00:24 +00:00
Lance Willett
305e72859a
Twenty Fourteen: pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29169 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 17:48:48 +00:00
Lance Willett
6b86010ec2
Twenty Fourteen: improve styles for media "play" button. Props iamtakashi, closes #26469 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29168 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 17:47:36 +00:00
Lance Willett
4024ffdabc
Twenty Fourteen: RTL display adjustment for Custom Header, props yoavf. Fixes #28670 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29167 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 17:40:07 +00:00
Scott Taylor
e5a663297c
Missed one: WP_MS_Sites_List_Table::display_rows()
must be public
.
...
Props extendwings.
Fixes #28894 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29166 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 15:41:53 +00:00
Drew Jaynes (DrewAPicture)
7ad77d58ee
Add periods to short descriptions for magic methods added in [28501], [28521], and [28524].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29165 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 01:11:55 +00:00
Drew Jaynes (DrewAPicture)
a752c42b05
Inline documentation cleanup for 4.0 audit.
...
Added in [28652]:
* Various phpDoc improvements for `wp_embed_handler_youtube()`
* Adds `@see` reference to `wp_embed_handler_youtube()` in 'wp_embed_handler_youtube' filter docs
Added in [29029]:
* s/post_id/post ID in `@return` description for `attachment_url_to_postid()`
See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29164 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 01:06:58 +00:00
Drew Jaynes (DrewAPicture)
551f829c55
Inline documentation cleanup for 4.0 audit.
...
Various improvements:
* Adds `@see` reference for `wp_list_comments()` in 'wp_list_comments_args' filter docs, added in [28285]
* Various phpDoc tweaks for the 'run_wptexturize' filter docs, added in [28715]
* Sentence and wrapping changes for `is_https_url()`, added in [28894]
* Documents the `$args` parameter for `wp_dropdown_languages()`, added in [29007]
* Adds a period to the parameter description for `_update_posts_count_on_delete()`, added in [28835]
* Documents a global in `is_customize_preview()`, added in [28999]
* phpDoc tweaks, adds an access modifier for `wpdb::esc_like()`, added in [28711]
See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29163 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 01:01:22 +00:00
Drew Jaynes (DrewAPicture)
94d5e7b388
Fill out inline documentation for the __call()
magic method added to the WP_Comment_Query
class in [28519].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29162 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:47:36 +00:00
Drew Jaynes (DrewAPicture)
2d27b684fb
Fill out inline documentation for the __call()
magic method added to the wp_xmlrpc_server
class in [28515].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29161 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:45:54 +00:00
Drew Jaynes (DrewAPicture)
1a2da86366
Inline documentation cleanup for 4.0 audit.
...
Document the first parameter, `$time`, in the 'oembed_ttl' filter, added in [28972].
See #14759 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29160 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:43:51 +00:00
Drew Jaynes (DrewAPicture)
17ba9ab973
Inline documentation cleanup for 4.0 audit.
...
phpDoc tweaks for methods, properties, and filters added in [29051]:
* `WP_Customize_Widgets::is_widget_rendered()` method
* `WP_Customize_Widgets::is_sidebar_rendered()` method
See #27993 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29159 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:41:20 +00:00
Drew Jaynes (DrewAPicture)
37a39b6b74
Inline documentation cleanup for 4.0 audit.
...
phpDoc tweaks for methods added in [28861]:
* `WP_Customize_Panel` constructor method
* `WP_Customize_Panel::render()` method
See #27406 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29158 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:39:10 +00:00
Drew Jaynes (DrewAPicture)
f6c14d758e
Inline documentation cleanup for 4.0 audit.
...
phpDoc tweaks for methods added in [28861]:
* `WP_Customize_Manager::panels()` method
* `WP_Customize_Manager::add_panel()` method
* `WP_Customize_Manager::get_panel()` method
* `WP_Customize_Manager::remove_panel()` method
Added in [28970]:
* `WP_Customize_Manager::customize_preview_override_404_status()` method
See #27406 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29157 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:35:43 +00:00
Drew Jaynes (DrewAPicture)
e52c954fad
Inline documentation cleanup for 4.0 audit.
...
phpDoc tweaks for methods, properties, and filters added in [29051]:
* `WP_Customize_Control->$active_callback` property
* `WP_Customize_Control::active()` method
* `WP_Customize_Control::active_callback()` method
* `WP_Widget_Area_Customize_Control::active_callback()` method
* `WP_Widget_Form_Customize_Control::active_callback()` method
* 'customize_control_active' filter
Added in [28930]:
* `WP_Customize_Control::input_attrs()` method
See #27993 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29156 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:31:22 +00:00
Drew Jaynes (DrewAPicture)
e68fd93be4
Inline documentation cleanup for 4.0 audit.
...
* Fill out inline documentation for the `__call()` magic method added in [28507]
* Inline documentation tweaks for `get_provider()`, added in [28728]
* Inline documentation tweaks for `_add_provider_early()`, added in [28846]
* `@access` tag added for `_remove_provider_early()`, added in [28846]
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29155 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:22:18 +00:00
Drew Jaynes (DrewAPicture)
e58a2aae1d
Inline documentation cleanup for 4.0 audit.
...
* phpDoc tweaks for `wp_get_available_translations_from_api()`, `wp_install_download_language_pack()`, and `wp_install_load_language()`, added in [29018]
See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29154 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:16:36 +00:00
Drew Jaynes (DrewAPicture)
34edad1645
Fill out inline documentation for the __call()
magic method added to the WP_Roles
class in [28503].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29153 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:11:39 +00:00
Drew Jaynes (DrewAPicture)
f77584ea2c
Inline documentation for the 'plugin_install_details_link' hook added in [29047] should use a 3-digit, x.x.x-style @since
version.
...
See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29152 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:09:58 +00:00
Drew Jaynes (DrewAPicture)
08fd193850
Inline documentation cleanup for 4.0 audit.
...
* Alignment for the 'term_search_min_chars' hook docs, added in [28892]
* Globals added for `wp_ajax_parse_embed()`, added [28580]
See #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29151 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-14 00:05:37 +00:00
Drew Jaynes (DrewAPicture)
49fdc296ba
Fill out inline documentation for magic methods added to the Custom_Image_Header
class in [28481], [28521], and [28524].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29150 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:58:27 +00:00
Drew Jaynes (DrewAPicture)
1db583af25
Fill out inline documentation for magic methods added to the Custom_Background
class in [28481], [28521], and [28524].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29149 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:57:03 +00:00
Drew Jaynes (DrewAPicture)
1bf87b2c9e
Fill out inline documentation for magic methods added to the WP_List_Table
class in [28493], [28521], and [28524].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29148 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:54:15 +00:00
Drew Jaynes (DrewAPicture)
343c544f6b
Fill out inline documentation for magic methods added to the WP_Filesystem_Base
class in [28521].
...
See #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29147 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:51:39 +00:00
Drew Jaynes (DrewAPicture)
d7ff96d00f
Fill out inline documentation for magic methods added to the WP_Object_Cache
class in [28502], [28521], [28524].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29146 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:45:11 +00:00
Drew Jaynes (DrewAPicture)
e9e796d230
Fill out inline documentation for magic methods added to the WP_Ajax_Response
class in [28524].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29145 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:43:18 +00:00
Drew Jaynes (DrewAPicture)
144542362f
Fill out inline documentation for magic methods added to the WP_Error
class in [28511].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29144 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:41:50 +00:00
Drew Jaynes (DrewAPicture)
930db4b518
Fill out inline documentation for magic methods added to the Walker
class in [28514].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29143 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:40:14 +00:00
Drew Jaynes (DrewAPicture)
77467c3095
Fill out inline documentation for magic methods added to the WP_MatchesMapRegex
class in [28516].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29142 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:38:55 +00:00
Drew Jaynes (DrewAPicture)
1850b9a60a
Fill out inline documentation for magic methods added to the WP_Query
class in [28523].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29141 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:35:52 +00:00
Drew Jaynes (DrewAPicture)
844efdf398
Fill out inline documentation for magic methods added to the WP_User_Query
class in [28528].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29140 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:34:01 +00:00
Drew Jaynes (DrewAPicture)
88ca644228
Fill out inline documentation for magic methods added to the WP_Text_Diff_Renderer_Table
class in [28525].
...
See #27881 , #22234 and #28885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29139 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 23:31:55 +00:00
Andrew Nacin
8934fa3dad
4.0-beta1-29138.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29138 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 22:10:54 +00:00
Scott Taylor
510ad2e1e9
Fix mismatches in access modifiers for WP_List_Table
+ subclasses.
...
Fixes #28843 , #28879 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29137 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 22:08:22 +00:00
Dominik Schilling (ocean90)
1264558022
Media Grid improvements:
...
* Remove fixed elements.
* Adjusts toolbar and search, fixes #28833 .
* Add link to Add New button, fixes #28825 .
* Add "Edit Metadata" tab to all items, "Edit Image" only for images
* Make strings translatable.
* First pass for help tab.
see #28850 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29136 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 16:15:36 +00:00
Dominik Schilling (ocean90)
cf0e666184
Customizer: Make panel title translatable too.
...
props michalzuber.
see #27406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29135 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 15:12:00 +00:00
Dominik Schilling (ocean90)
33db0d4ff2
Lists View Switcher: Replace blank image with screen reader text.
...
props davidakennedy.
fixes #28871 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29133 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 11:04:21 +00:00
Dominik Schilling (ocean90)
d5eca1c19f
Customizer: Make screen reader text translatable.
...
see #27406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29132 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:53:45 +00:00
Dominik Schilling (ocean90)
39fe2b445c
Media Grid: Remove CSS transition from inline uploader.
...
props ericlewis.
fixes #28840 .
see #28851 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29131 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:43:32 +00:00
Dominik Schilling (ocean90)
d198c0bdd5
Remove unused variable in wp_dashboard_plugins_output()
. Unused since [26144].
...
props michalzuber.
see #28872 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29130 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 10:30:53 +00:00
Drew Jaynes (DrewAPicture)
6fb887a1e6
Add indentation for the hash notation missed in [29128].
...
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29129 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 04:17:10 +00:00
Drew Jaynes (DrewAPicture)
810aeb40d4
Convert default arguments documentation for get_terms()
into a hash notation.
...
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29128 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 04:14:39 +00:00
Andrew Ozz
9cc9f95cd2
TinyMCE wpView: better handling of the Enter key, props avryl, see #28595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29127 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 00:33:58 +00:00
Andrew Ozz
c46233940f
TinyMCE wpView: fix selecting views on click, part props avryl, see #28595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29126 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 22:50:19 +00:00
Dominik Schilling (ocean90)
1285d1450b
Improvements to the plugin information modal:
...
* Whitespace/braces cleanup for [29040].
* Reduce width of modal to 792px, which is the default banner size.
* Reduce banner height when screen height is smaller than 500px.
* Remove inline CSS.
* Re-use tab var in JS.
* Encode ampersands in links.
props avryl, michalzuber, ocean90.
see #27440 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29125 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 22:07:16 +00:00
Dominik Schilling (ocean90)
c7f2a54dc8
Themes: Don't set background color for the filter icon.
...
fixes #28860 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29124 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 19:48:24 +00:00
Sergey Biryukov
c52f02cc3f
Use correct ID for plugin search input label.
...
Make the search button name and ID consistent with the ones in WP_List_Table::search_box().
props joedolson.
fixes #28856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29123 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 17:44:51 +00:00
Dominik Schilling (ocean90)
7580577e82
Don't use box shadow focus styling for widget arrows, see #28267 .
...
fixes #28834 .
props nvwd.
git-svn-id: https://develop.svn.wordpress.org/trunk@29122 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 15:46:27 +00:00
Dominik Schilling (ocean90)
911da56fe8
Improve styling of progress bar on wp-admin/media-new.php.
...
props Ipstenu for initial patch.
fixes #28838 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29121 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 14:51:30 +00:00
Scott Taylor
04b0ec782b
The 2nd argument to array_unique()
was added to PHP in 5.2.9, so don't use it. We have to use our own code to return unique terms when fields => all
in wp_get_object_terms()
.
...
See #28843 and [28583].
git-svn-id: https://develop.svn.wordpress.org/trunk@29119 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 03:53:34 +00:00
Scott Taylor
63cb20cc5a
Repent for our original OOP sins and doc blocks as pertains to access modifiers in List Table + subclasses.
...
Props SergeyBiryukov.
See #28843 and [28583].
git-svn-id: https://develop.svn.wordpress.org/trunk@29118 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 03:26:40 +00:00
Andrew Ozz
dbb367bee8
Editor scrolling: disable on mobile devices and hide the resize handle. See #28328 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29117 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:53:08 +00:00
Drew Jaynes (DrewAPicture)
d42f6c10af
Convert default arguments documentation for wp_insert_user()
into a hash notation.
...
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29116 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:20:14 +00:00
Drew Jaynes (DrewAPicture)
0cef622342
Convert default arguments documentation for wp_dropdown_users()
into a hash notation.
...
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29115 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-12 00:07:18 +00:00
John Blackbourn
a3d84ae66f
Update the oEmbed provider inline docs
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29114 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:38:01 +00:00
Drew Jaynes (DrewAPicture)
e347ef267d
Convert default arguments documentation for get_posts()
into a hash notation.
...
Props coffee2code for the initial patch.
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29113 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:33:33 +00:00
Drew Jaynes (DrewAPicture)
01350ad5a7
Convert default arguments documentation for wp_page_menu()
into a hash notation.
...
Props coffee2code for the initial patch/
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29112 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:12:42 +00:00
Drew Jaynes (DrewAPicture)
45464b4369
Convert default arguments documentation for get_bookmarks()
into a hash notation.
...
Props coffee2code for the initial patch.
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29111 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:02:51 +00:00
John Blackbourn
08f7b699f5
Add support for secure wordpress.tv embeds (thanks stephdau). See #28507 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29110 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 23:00:36 +00:00
Drew Jaynes (DrewAPicture)
3509d375f1
Add indentation for the hash notation missed in [29108].
...
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29109 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:58:08 +00:00
Drew Jaynes (DrewAPicture)
5ce6c92c26
Convert default arguments documentation for _walk_bookmarks()
and wp_list_bookmarks()
into hash notations.
...
Props coffee2code for the initial patch.
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29108 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:53:09 +00:00
Drew Jaynes (DrewAPicture)
9406ccb8c6
Convert default arguments documentation for WP_Http_Cookie::__construct() into a hash notation.
...
Props coffee2code for the initial patch.
See #28841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29107 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 22:49:50 +00:00
Scott Taylor
8dddb7334f
Media Grid, for audio files: show Bitrate in the Edit Attachments modal a la the Edit Post screen.
...
See #28839 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29106 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 21:55:24 +00:00
Scott Taylor
16a70197ed
In the Post/Select frames, for audio files:
...
* Show `artist` and `album` fields in the Attachment Details sidebar
* Sync their values on `change`
See #28839 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29105 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 21:01:08 +00:00
Scott Taylor
d1f4b3a800
Media Grid, for audio files:
...
* Show `artist` and `album` fields in the Edit Attachment modal
* Sync their values on `change`
See #28839 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29104 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 20:54:13 +00:00
Dominik Schilling (ocean90)
0e2dafc159
Customizer: Use theme support defaults for background images.
...
props philipjohn.
fixes #28586 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29103 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 20:26:55 +00:00
Dominik Schilling (ocean90)
c12d10d0b9
Add missing filter doc, see [29043].
...
see #27627 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29102 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:23:25 +00:00
Lance Willett
26faa2ab08
Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above.
...
Props kraftbj and obenland, fixes #28649 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29101 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:23:22 +00:00
Lance Willett
0248087936
Twenty Fourteen: fix header display on multisite signup and activate views. Fixes #28573 , props slobodanmanic.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29100 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 19:03:28 +00:00
Sergey Biryukov
8a45aefe56
Escape taxonomy name when used in attributes in post_categories_meta_box().
...
props pbearne.
fixes #28836 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29099 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:55:48 +00:00
Scott Taylor
effde9e96b
Media Grid: after [29085], also handle MEDIA_TRASH
.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29098 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:49:12 +00:00
Drew Jaynes (DrewAPicture)
f498128aa9
Fix syntax for inline comment line endings and a few line wraps in wp-includes/post.php inline documentation.
...
Fixes #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29097 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:34:36 +00:00
Lance Willett
ebbb1684bf
Twenty Fourteen: more graceful handling of super-long site titles in small screens: add an ellipsis and adjust max-width
more carefully.
...
Props celloexpressions, schoenwaldnils, and obenland -- fixes #28237 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29096 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 18:00:28 +00:00
Lance Willett
b8340bc9bc
Twenty Twelve: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than h3
for the toggle element. Fixes #28224 , props rclations.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29095 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 17:46:11 +00:00
Drew Jaynes (DrewAPicture)
93130f6a29
General inline documentation improvements in wp-includes/post.php.
...
Final-run. Fixes #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29094 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 11:15:49 +00:00
Drew Jaynes (DrewAPicture)
51e97631f8
General inline documentation improvements in wp-includes/post.php.
...
Third-run. See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29093 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 10:27:02 +00:00
Drew Jaynes (DrewAPicture)
479b541dd1
General inline documentation improvements in wp-includes/post.php.
...
Second-run. See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29092 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 08:15:52 +00:00
Drew Jaynes (DrewAPicture)
628141afbf
Convert phpDoc for register_post_type()
to use a hash notation for the $args
array.
...
See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29091 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 07:55:38 +00:00
Drew Jaynes (DrewAPicture)
c7171e832d
General inline documentation improvements in wp-includes/post.php.
...
First-run. See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29090 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 07:00:38 +00:00
Scott Taylor
d75a332871
Media Grid:
...
* Don't store multiple references to the Edit Attachments frame.
* Fix keyboard navigation event delegation and proxy.
* Remove redundant function calls.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29089 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 06:38:51 +00:00
Scott Taylor
0f50df6cbd
Media Grid, in the Edit Attachment modal:
...
* Label the fields under the attachment a la the Edit Media page
* Move the audio and video previews above the info
* Remove the audio / video icon display. Unnecessary.
* Ensure that `width` and `max-width` are set for `.mejs-container`
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29088 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 06:14:31 +00:00
Scott Taylor
aba2e372e0
Media Grid: "Add New" should open and close, not just open.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29087 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 05:43:26 +00:00
Scott Taylor
ce01c5c760
Media Grid:
...
* Move the grid down via CSS transition when the Screen Options slide open.
* Remove some unused CSS for grid options.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29086 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 05:33:29 +00:00
Scott Taylor
e52c72c366
Media Grid:
...
* The "Edit Image" link in the attachment modal details is redundant.
* After an attachment is deleted in the modal, automatically move to the next attachment in the library. If there are no attachments left, close the modal.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29085 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 05:21:04 +00:00
Scott Taylor
aab0ba36fc
Media Grid: fix z-index of attachment "check"
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29084 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 04:24:00 +00:00
Sergey Biryukov
d2a246e82c
Avoid inadvertently adding admin page titles as classes for admin menu submenu items.
...
fixes #28817 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29083 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-11 01:09:32 +00:00
Scott Taylor
ba7b26d37e
Media Grid: make the Uploader closable.
...
Props ericlewis.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29082 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 23:05:05 +00:00
Scott Taylor
640422c206
Media Grid: while in Bulk Edit mode, any selected attachment should have the blue border, rather than just the last clicked one.
...
Props ericlewis.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29081 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 23:02:51 +00:00
Scott Taylor
b31d654816
Media Grid: JSHint.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29080 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 21:58:10 +00:00
Scott Taylor
ee0e7ccbca
Media Grid: make registering Screen Options for non-list tables more generic.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29079 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 21:43:49 +00:00
Scott Taylor
d5cbf00457
Media Grid: Screen Options for grid have to play nice with Screen Options for list. This was fun.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29078 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 21:25:49 +00:00
Scott Taylor
3ebde0c4d6
Media Grid: Move toggling of visible fields to Screen Options. This moves us in a better direction... but this will probably need to be massaged again.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29077 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 20:59:12 +00:00
Scott Taylor
55acbf6e40
Media Grid: decouple the Grid and Edit modal frames. Next steps: we shouldn't have to reload the frame while paginating.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29076 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 19:38:56 +00:00
Helen Hou-Sandi
e4f0744b8e
Editor scrolling:
...
* Make sure the background color for tools is only applied to the main editor.
* Fix toolbar width for smaller screens.
* Ensure toolbar doesn't end up in a weird place when scrolling down too fast.
* Avoid JS errors for post types that don't support the editor.
props avryl. see #28328 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29075 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 19:35:32 +00:00
Scott Taylor
12204b379a
Media Grid: add disambiguation between generic frames and routers and the router specifically interacting with the grid's frame.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29074 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 18:42:15 +00:00
Scott Taylor
d45ed6a478
Media Grid: make the router work when ?item=
is in the URL on page load. This is still a hack, needs to be event-driven.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29073 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 18:24:23 +00:00
Scott Taylor
3c9fa4d68e
Media Grid: hasNext
and hasPrevious
are functions that must be called. Otherwise they are always truthy properties.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29072 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 18:09:46 +00:00
Scott Taylor
e8ce4559ed
Avoid JS errors after [29057]. This is not how _.debounce()
works.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29071 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 18:02:53 +00:00
Scott Taylor
5b6340a221
Avoid JS errors after [29057]. When the modal closes, reset the URL.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29070 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 17:55:43 +00:00
Scott Taylor
f2e2f4c19c
Avoid JS errors after [29057].
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29069 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 17:50:49 +00:00
Scott Taylor
6d64d05018
Avoid JS errors after [29057].
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29068 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 17:48:09 +00:00
Scott Taylor
e91f5a7601
Media Grid, add padding to "No Media Found" message.
...
Props michalzuber.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29067 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 17:30:35 +00:00
Scott Taylor
b11d095c7d
Media Grid, remove unnecessary abstraction: wp.media.controller._State
...
Props ericlewis.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29066 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 16:01:49 +00:00
Scott Taylor
868d88800c
Media Grid: make the edit attachment icon clickable.
...
Props ericlewis.
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29065 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 15:55:21 +00:00
Sergey Biryukov
126b248fa0
is_active_widget() should skip orphaned widgets.
...
props Ninos Ego.
fixes #28810 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29064 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 15:48:54 +00:00
Peter Westwood
52aa1804e4
XMLRPC: Restore support in wp.newPost for dates to be supplied in the structured dateTime.iso8601 format as well as still supporting dates specified as strings.
...
Fixes #28601 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29063 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 14:16:20 +00:00
Helen Hou-Sandi
f9b9039b79
4.0-beta1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29060 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 09:59:31 +00:00
Andrew Nacin
0838b61b1d
Unload the current default textdomain in wp_install_load_language().
...
see #28577 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29059 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 09:54:06 +00:00
Andrew Nacin
253e09f192
Install: Don't ask for the user's language a second time if they chose English originally.
...
see #28577 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29058 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 09:24:55 +00:00
Helen Hou-Sandi
466659cee6
Media grid attachment modal:
...
* Keyboard navigation.
* History and routes for single items and search results.
props adamsilverstein. see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29057 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 06:36:34 +00:00
Helen Hou-Sandi
2e0c881d54
Media grid:
...
* Introduce the concept of bulk editing via a separate mode. Like the list view, only bulk deleting is available. The UI is a little funky, especially with the field display toggles there, but refinements will come.
* Up the max thumbnail size from 120px to 150px.
* Slide-down panel for the add new uploader. Known issue: it doesn't close again.
* Remove the toolbar region in the EditAttachment frame.
* Defer a function call so the grid fills available space.
* Give feedback when no results are found. Also needs styling.
props ericlewis. see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29056 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 03:49:28 +00:00
Helen Hou-Sandi
72730d86dd
Better styling for the larger image preview in the attachment details modal. Portrait images still have problems in Firefox due to percentage height. props mikeyarce for the initial patch. see #28800 , #24716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29055 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 01:44:20 +00:00
Sergey Biryukov
c35bd6c927
Revisions: Properly position the spinner on Compare Revisions screen.
...
props vinod dalvi for initial patch.
fixes #28590 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29054 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 01:43:59 +00:00
Helen Hou-Sandi
6afe00e338
Use a more generic selector for image editor in media modal styling so that the Media Grid modal also gets it. see #24716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29053 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 01:23:41 +00:00
Sergey Biryukov
ca97e64c50
Revisions: Explicitly set the 'from' handle position when switching from two-handled mode back to single-handled mode.
...
props adamsilverstein.
fixes #26793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29052 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-10 00:59:13 +00:00
Sergey Biryukov
1477277b53
Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed).
...
Control can indicate its active state by a subclass overriding the 'active_callback' method, by supplying a callable 'active_callback' argument into the control's constructor, or by filtering 'customize_control_active'.
props westonruter.
see #27993 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29051 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 23:57:29 +00:00
Andrew Ozz
ccef0ae5f0
Fix whitespace, quotes and double patch content in wpautoresize plugin, see #28328
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29050 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 22:42:28 +00:00
Andrew Ozz
14d1e57e99
Enhance the editor on the Add/Edit Post screens, first run. Props avril, see #28328 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29049 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 22:05:06 +00:00
Sergey Biryukov
f92dc5aa41
Customizer: Export Previewer instance to wp.customize.previewer, and utilize for Widget Customizer.
...
props westonruter.
fixes #27666 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29048 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 20:57:58 +00:00
Helen Hou-Sandi
2a5fa0e4c5
Display plugin install results as "cards" rather than in a list table, first run.
...
props stephdau, ryelle, tellyworth, melchoyce. see #28785 , #28646 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29047 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 20:01:35 +00:00
John Blackbourn
a8fa7036aa
Revert [29033] pending further discussion. See #28319 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29046 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 19:18:44 +00:00
Andrew Nacin
adbe839132
WP_Comment_Query: Add fields => 'ids' query var.
...
props mordauk.
fixes #28434 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29045 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 18:15:42 +00:00
Scott Taylor
3cda5caafd
Revert [28563]. See #18298 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29044 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 18:06:54 +00:00
John Blackbourn
bdeb3348ed
Persist the "Remember Me" state of the auth cookie when changing your own password. Props jesin. Fixes #27627 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29043 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 18:05:00 +00:00
Helen Hou-Sandi
194122cb84
Remove an unused JS variable after [29036]. see #27406 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29042 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 17:45:36 +00:00
Helen Hou-Sandi
70639f7b90
Autoprefixer for [29040]. see #27440 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29041 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 17:41:00 +00:00
Helen Hou-Sandi
56706c324d
Improvements to the plugin information modal:
...
* Show the banner image when available.
* Show contributors and ratings breakdown in the FYI box.
* Show reviews in a tab.
props stephdau, tellyworth, paulwilde, michalzuber. see #27440 . fixes #19784 , #22599 , #26202 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29040 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 17:27:22 +00:00
John Blackbourn
b3e3684d21
Add support for a full path parameter to is_page()
and is_single()
. Props Jesper800, engelen, johnbillion. Fixes #16802 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29039 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-09 16:03:17 +00:00
Andrew Ozz
21cd1dffd9
TinyMCE wpView: remove leftover/unused bits, see #28567 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29038 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 22:55:51 +00:00
Drew Jaynes (DrewAPicture)
854fa2b5d6
Add @see
reference for set_post_thumbnail()
in the phpDoc for wp_ajax_set_attachment_thumbnail()
.
...
See #27891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29037 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 20:35:53 +00:00
Helen Hou-Sandi
4e8a1a1ab1
accordion.js:
...
* Remove remnants from when some corners were rounded.
* Docs.
props celloexpressions. see #27406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29036 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 20:21:47 +00:00
Helen Hou-Sandi
054e4b5e65
Customizer panels:
...
* Close all accordion sections when going in and out of panels.
* Fix panel positioning when top-level Customizer controls are scrolled down.
* Keyboard accessibility: only focus on visible elements and transfer between them as needed when navigating around panels.
props celloexpressions. see #27406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29035 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 20:18:30 +00:00
Helen Hou-Sandi
d1c4c6fd6e
Customizer info section:
...
* Only show the theme info when doing a live preview of another theme.
* Replace with helper text about what you are customizing and what the Customizer is for.
* Fix focus styling.
props celloexpressions, westonruter. fixes #28550 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29034 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 19:52:17 +00:00
John Blackbourn
53fef65d65
Add a create_wp_error
action which is called when a WP_Error
instance is created. Fixes #28319 . Props ebinnion
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29033 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 18:46:56 +00:00
John Blackbourn
d9ba81155e
Remove autocomplete from the database password screen on setup-config.php. Props hebbet. Fixes #28585 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29032 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 18:31:21 +00:00
Helen Hou-Sandi
bfdd641013
More consistent icons in place of some buttons for the Customizer and theme install preview.
...
* Use a single close icon instead of a context-changing cancel/close button in the Customizer. In user testing, this small distinction in language was overlooked, and we use an AYS now instead. This also makes it consistent with the back arrow in Customizer panels.
* Use the same close icon as well as the previous/next arrows from the theme details browser in the theme install preview.
props celloexpressions. fixes #28655 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29031 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 18:18:23 +00:00
John Blackbourn
0a4e8b2b7e
Implement email and url input types where appropriate. Props Kau-Boy. Fixes #22183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29030 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:51:58 +00:00
Scott Taylor
c6428ff1ba
When setting the poster image for a video shortcode, set that image as the featured image for that attachment (if found) in the background. This AJAX functionality could be used for audio as well.
...
Introduces `attachment_url_to_postid()` to attempt to turn URLs into post IDs.
Fixes #27891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29029 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:47:53 +00:00
Sergey Biryukov
f0bde0c945
Use wp_hash() instead of AUTH_KEY in WP_Customize_Widgets::get_instance_hash_key().
...
props juliobox.
fixes #28783 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29028 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:16:26 +00:00
Scott Taylor
8ce7c39e44
Allow an array()
to be passed as the value for orderby
to WP_Query
. Allows for an independent order
value for each key.
...
Example: `'orderby' => array( 'title' => 'DESC', 'menu_order' => 'ASC' )`.
Adds docs and unit tests.
Props wonderboymusic, johnbillion, DrewAPicture, dd32, andy.
See #17065 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29027 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:15:53 +00:00