Andrew Ozz
666fec5144
TinyMCE: fix alignment buttons when used on image with caption. Remove old/unneeded code. Fixes #28705 .
...
Built from https://develop.svn.wordpress.org/trunk@29370
git-svn-id: http://core.svn.wordpress.org/trunk@29148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 00:52:17 +00:00
Andrew Ozz
9662dc9f7b
Fix CSS for form elements for Firefox 30+, fixes #28500 .
...
Built from https://develop.svn.wordpress.org/trunk@29366
git-svn-id: http://core.svn.wordpress.org/trunk@29142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-03 00:34:15 +00:00
Dominik Schilling
8ea68677f3
Media Upload: Improve styling of error messages.
...
props afercia, michalzuber.
fixes #29047 .
Built from https://develop.svn.wordpress.org/trunk@29355
git-svn-id: http://core.svn.wordpress.org/trunk@29131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-02 14:14:19 +00:00
Andrew Ozz
8253a54416
PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081 .
...
Built from https://develop.svn.wordpress.org/trunk@29334
git-svn-id: http://core.svn.wordpress.org/trunk@29114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 00:55:15 +00:00
Andrew Ozz
d15f9617f9
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 .
Built from https://develop.svn.wordpress.org/trunk@29333
git-svn-id: http://core.svn.wordpress.org/trunk@29113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-31 23:28:19 +00:00
Sergey Biryukov
187e23b3d6
Customizer: Don't hide controls the preview frame has no information about.
...
props kovshenin.
see #27993 .
Built from https://develop.svn.wordpress.org/trunk@29329
git-svn-id: http://core.svn.wordpress.org/trunk@29109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-30 16:24:18 +00:00
Sergey Biryukov
9c1d22a454
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 .
Built from https://develop.svn.wordpress.org/trunk@29318
git-svn-id: http://core.svn.wordpress.org/trunk@29099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 00:51:17 +00:00
Dominik Schilling
cc58ea9c49
Remove parent::footer()
in Language_Pack_Upgrader_Skin::bulk_footer()
as it prints a closing div which is not needed.
...
props michalzuber.
fixes #28947 .
Built from https://develop.svn.wordpress.org/trunk@29313
git-svn-id: http://core.svn.wordpress.org/trunk@29094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 09:06:17 +00:00
Dominik Schilling
ab151eca85
Media Grid: Ignore user setting for content
.
...
fixes #29034 .
Built from https://develop.svn.wordpress.org/trunk@29305
git-svn-id: http://core.svn.wordpress.org/trunk@29087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-27 11:44:18 +00:00
Andrew Ozz
b9f97e8352
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 .
Built from https://develop.svn.wordpress.org/trunk@29302
git-svn-id: http://core.svn.wordpress.org/trunk@29084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-26 00:08:19 +00:00
Scott Taylor
97fff7e952
Adds <label>
s to current page selector and bulk actions <select>
field so that screen readers have an explicit label.
...
Props joedolson.
Fixes #28867 .
Built from https://develop.svn.wordpress.org/trunk@29294
git-svn-id: http://core.svn.wordpress.org/trunk@29076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-25 00:20:16 +00:00
Andrew Ozz
da0b98a8f0
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 .
Built from https://develop.svn.wordpress.org/trunk@29279
git-svn-id: http://core.svn.wordpress.org/trunk@29061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 01:33:15 +00:00
Helen Hou-Sandí
3cee43e6ce
Revert [29267], as it causes unit test breakage and appears unnecessary. see #28986 .
...
Built from https://develop.svn.wordpress.org/trunk@29274
git-svn-id: http://core.svn.wordpress.org/trunk@29056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-23 02:23:15 +00:00
Sergey Biryukov
8923bb0c0e
Media Grid: Add a View button to Attachment Details modal.
...
props adamsilverstein.
fixes #28977 .
Built from https://develop.svn.wordpress.org/trunk@29262
git-svn-id: http://core.svn.wordpress.org/trunk@29045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 01:30:16 +00:00
Andrew Ozz
b9222c9e1e
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 .
...
Built from https://develop.svn.wordpress.org/trunk@29261
git-svn-id: http://core.svn.wordpress.org/trunk@29044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 23:05:15 +00:00
Sergey Biryukov
a9c9827de4
Gruntfile: Change import rules to include RTL stylesheets when running CSSJanus.
...
see #28966 .
Built from https://develop.svn.wordpress.org/trunk@29256
git-svn-id: http://core.svn.wordpress.org/trunk@29039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 02:51:16 +00:00
Peter Westwood
673916b39f
Post beta2 version bump to 4.0-beta2-29254
...
Built from https://develop.svn.wordpress.org/trunk@29254
git-svn-id: http://core.svn.wordpress.org/trunk@29037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-20 13:59:15 +00:00
Andrew Nacin
c11836174c
4.0-beta2.
...
Built from https://develop.svn.wordpress.org/trunk@29228
git-svn-id: http://core.svn.wordpress.org/trunk@29012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 21:05:15 +00:00
Helen Hou-Sandí
c4b561bb6c
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 .
...
Built from https://develop.svn.wordpress.org/trunk@29217
git-svn-id: http://core.svn.wordpress.org/trunk@29001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 03:40:16 +00:00
Andrew Ozz
4361a40427
TinyMCE: include 709266e308
that fixes the UI state updates for the "link" button. See #28576 .
...
Built from https://develop.svn.wordpress.org/trunk@29211
git-svn-id: http://core.svn.wordpress.org/trunk@28995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 19:31:14 +00:00
Andrew Ozz
95735cf298
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 .
Built from https://develop.svn.wordpress.org/trunk@29203
git-svn-id: http://core.svn.wordpress.org/trunk@28987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:59:16 +00:00
Andrew Ozz
d74a2a9f07
TinyMCE wpView: prevent fatal (security) errors when trying to access iframe.contentWindow in pausePlayers() and unsetPlayers(). See #28905 .
...
Built from https://develop.svn.wordpress.org/trunk@29202
git-svn-id: http://core.svn.wordpress.org/trunk@28986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:50:15 +00:00
Andrew Nacin
4bf7cdd49b
DB schema change: Add comment_author_email(10) index.
...
props tellyworth, pento.
fixes #21435 .
Built from https://develop.svn.wordpress.org/trunk@29188
git-svn-id: http://core.svn.wordpress.org/trunk@28972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 15:54:16 +00:00
Andrew Ozz
c6afe2dd3e
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
Built from https://develop.svn.wordpress.org/trunk@29183
git-svn-id: http://core.svn.wordpress.org/trunk@28967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 00:10:17 +00:00
Lance Willett
f5fcb58404
Twenty Fourteen: optimize featured content lookup to reduce the number of queries for featured posts. Props Chouby and obenland, closes #26744 .
...
Built from https://develop.svn.wordpress.org/trunk@29174
git-svn-id: http://core.svn.wordpress.org/trunk@28958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-15 06:44:15 +00:00
Drew Jaynes
b8d47f48c5
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 .
Built from https://develop.svn.wordpress.org/trunk@29151
git-svn-id: http://core.svn.wordpress.org/trunk@28935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 00:06:15 +00:00
Andrew Nacin
6d3572cbc8
4.0-beta1-29138.
...
Built from https://develop.svn.wordpress.org/trunk@29138
git-svn-id: http://core.svn.wordpress.org/trunk@28922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-13 22:11:15 +00:00
Helen Hou-Sandí
bf36cbeb18
4.0-beta1.
...
Built from https://develop.svn.wordpress.org/trunk@29060
git-svn-id: http://core.svn.wordpress.org/trunk@28848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 10:00:15 +00:00
Sergey Biryukov
15f3b73984
Revisions: Explicitly set the 'from' handle position when switching from two-handled mode back to single-handled mode.
...
props adamsilverstein.
fixes #26793 .
Built from https://develop.svn.wordpress.org/trunk@29052
git-svn-id: http://core.svn.wordpress.org/trunk@28840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 01:00:14 +00:00
John Blackbourn
5a43586db1
Add support for a full path parameter to is_page()
and is_single()
. Props Jesper800, engelen, johnbillion. Fixes #16802 .
...
Built from https://develop.svn.wordpress.org/trunk@29039
git-svn-id: http://core.svn.wordpress.org/trunk@28827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 16:04:16 +00:00
John Blackbourn
64f686b4c8
Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577
...
Built from https://develop.svn.wordpress.org/trunk@29020
git-svn-id: http://core.svn.wordpress.org/trunk@28808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 00:30:14 +00:00
Andrew Ozz
bf9908b37f
TinyMCE wpView:
...
- When a view is selected, pressing the up or down arrow key should move the caret to the block above or below the view.
- Selecting some text that touches the view and deleting it should not remove part of the view.
- Show/hide the "fake" carets on editor focus/blur.
- Don't create new paragraphs before or after a view on pressing the arrow keys or delete key. Paragraphs are created on pressing Enter.
Props avryl, see #28595 .
Built from https://develop.svn.wordpress.org/trunk@29010
git-svn-id: http://core.svn.wordpress.org/trunk@28798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-07 01:21:15 +00:00
Sergey Biryukov
4a11203b06
Clarify a string on Add New User screen.
...
props vancoder, collinsinternet.
fixes #27398 .
Built from https://develop.svn.wordpress.org/trunk@29009
git-svn-id: http://core.svn.wordpress.org/trunk@28797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-07 00:54:14 +00:00
Sergey Biryukov
8d358a16c3
Exclude a newline between delimeters from further checks in wptexturize() for better performance.
...
props miqrogroove.
fixes #28724 .
Built from https://develop.svn.wordpress.org/trunk@29008
git-svn-id: http://core.svn.wordpress.org/trunk@28796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-06 08:50:18 +00:00
Sergey Biryukov
2550fb200a
Add 'status-sticky' class in get_post_class() for sticky posts in the admin.
...
props mordauk, netweb.
fixes #22590 .
Built from https://develop.svn.wordpress.org/trunk@29003
git-svn-id: http://core.svn.wordpress.org/trunk@28791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-05 00:13:14 +00:00
Scott Taylor
9181f36b7e
Add IE11 to the browser whitelist for MediaElement-based MCE views.
...
Props azaozz.
Fixes #28742 .
Built from https://develop.svn.wordpress.org/trunk@28985
git-svn-id: http://core.svn.wordpress.org/trunk@28774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-04 01:10:15 +00:00
Scott Taylor
ece86c380b
Make sure hundreds of canonical tests don't fail in multisite every other time they are run.
...
See #28706 .
Built from https://develop.svn.wordpress.org/trunk@28964
git-svn-id: http://core.svn.wordpress.org/trunk@28757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-03 00:50:14 +00:00
Sergey Biryukov
fc24029d65
Simplify logic in get_sample_permalink_html(), remove duplicated code.
...
see #28350 .
Built from https://develop.svn.wordpress.org/trunk@28947
git-svn-id: http://core.svn.wordpress.org/trunk@28744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-02 00:04:15 +00:00
Sergey Biryukov
7e226aaa70
WP_Date_Query: The inclusive logic should include all times within the date range.
...
props mboynes, oso96_2000, DrewAPicture.
fixes #26653 .
Built from https://develop.svn.wordpress.org/trunk@28935
git-svn-id: http://core.svn.wordpress.org/trunk@28733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 01:18:15 +00:00
Andrew Ozz
99c9ef1a59
TinyMCE:
...
- Update the 'paste' plugin including cb36a78e54
- Better filtering of WebKit inserted  .
- Remove empty paragraphs and all inline styles on pasting but preserve styles added in the editor. This brings back the WP 3.8 behavior and makes pasting in all browsers work the same.
See #28016
Built from https://develop.svn.wordpress.org/trunk@28932
git-svn-id: http://core.svn.wordpress.org/trunk@28730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 21:55:18 +00:00
Sergey Biryukov
c8adae8ec7
Normalize 'user_id' and 'user_ID' values in wp_new_comment() before passing the comment data to 'preprocess_comment' filter.
...
props dkotter.
fixes #23231 .
Built from https://develop.svn.wordpress.org/trunk@28915
git-svn-id: http://core.svn.wordpress.org/trunk@28714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 00:41:16 +00:00
Sergey Biryukov
7bb7693dd1
More tweaks to @param docs in wp-includes/plugin.php.
...
see #28516 .
Built from https://develop.svn.wordpress.org/trunk@28888
git-svn-id: http://core.svn.wordpress.org/trunk@28687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 08:42:16 +00:00
Scott Taylor
f09663f784
Remove remaining Heartbeat API experimental notices
...
Props DH-Shredder.
Fixes #28626 .
Built from https://develop.svn.wordpress.org/trunk@28872
git-svn-id: http://core.svn.wordpress.org/trunk@28672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-28 02:06:14 +00:00
Sergey Biryukov
aebf8f0fea
Make sure the first number in LIMIT clause in WP_Query::get_posts() is always an integer.
...
fixes #23383 .
Built from https://develop.svn.wordpress.org/trunk@28864
git-svn-id: http://core.svn.wordpress.org/trunk@28664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-27 00:04:16 +00:00
Scott Taylor
0233933f22
get_blog_details()->post_count
should update on more actions than just publish_post
.
...
Adds unit test.
Props 5um17, midxcat, strangerstudios.
Fixes #27952 .
Built from https://develop.svn.wordpress.org/trunk@28835
git-svn-id: http://core.svn.wordpress.org/trunk@28639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 00:53:15 +00:00
Andrew Ozz
c8ce9e2815
wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992
...
Built from https://develop.svn.wordpress.org/trunk@28828
git-svn-id: http://core.svn.wordpress.org/trunk@28632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-25 00:37:15 +00:00
Scott Taylor
317e5c9616
Adjust CSS for "Moved to the trash" message for a pingback in the dashboard.
...
Props zoerooney, codenameEli.
Fixes #28286 .
Built from https://develop.svn.wordpress.org/trunk@28811
git-svn-id: http://core.svn.wordpress.org/trunk@28619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-24 00:03:16 +00:00
Sergey Biryukov
d2fc1773ae
Prevent multiple hierarchical posts with the same slug from being displayed in single post template.
...
fixes #28611 .
Built from https://develop.svn.wordpress.org/trunk@28803
git-svn-id: http://core.svn.wordpress.org/trunk@28612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-23 13:15:16 +00:00
Sergey Biryukov
4690d6a592
Add @ticket references.
...
see #16854 , #19198 .
Built from https://develop.svn.wordpress.org/trunk@28800
git-svn-id: http://core.svn.wordpress.org/trunk@28609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-22 01:41:16 +00:00
Andrew Ozz
c936468da1
TinyMCE: revert 158b742410
and 576fa77aa2
as they may cause selection restore problems in old IE. See #28391 .
...
Built from https://develop.svn.wordpress.org/trunk@28795
git-svn-id: http://core.svn.wordpress.org/trunk@28608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-21 01:15:15 +00:00