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
Helen Hou-Sandi
c722aca8e5
When accessing the Customizer from the admin menu, make sure the user is returned to the originating page upon close. We should still investigate the general usage of customize-loader.js
moving forward, but this approach fixes the immediate issue. props westonruter. fixes #25457 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29026 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:14:20 +00:00
Helen Hou-Sandi
0298f71032
Prompt the user before leaving the Customizer if they have unsaved changes. props westonruter. fixes #25439 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29025 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 17:03:48 +00:00
John Blackbourn
22147bfbfb
Pass the post object rather than the post ID between the post permalink functions. Fixes #28425 . Props arnee
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29024 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 15:47:20 +00:00
Andrew Ozz
aec52638b1
Pre-commit autoprefixer fixes for media-views.css
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29023 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 04:29:47 +00:00
Andrew Ozz
49352dbc89
TinyMCE wpView:
...
- Improve the fake caret hide/show.
- Improve getView() speed.
- Add callback for showing the proper path when a view is selected. This currently doesn't work, will start working after we update TinyMCE.
props avryl, see #28567 , #28595 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29022 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 04:15:00 +00:00
John Blackbourn
b72068ba06
Narrower layout and loading spinner for the install screen language selector. See #28577
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29021 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 00:32:29 +00:00
John Blackbourn
02a22f7dd4
Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29020 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-08 00:29:47 +00:00
Andrew Ozz
40be2934d4
TinyMCE wpView:
...
- Add loadingPlaceholder() that returns some html to use as placeholder while the view is loading. Includes a subtle CSS based loading animation.
- Fix setContent(), it should empty the element before appending the new node.
- Change getHtml() to always return a string.
Fixes #28761 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29019 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 22:40:33 +00:00
Andrew Nacin
8f15bef515
Language on install: Docs and naming cleanups. see #28577 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29018 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 21:48:50 +00:00
Helen Hou-Sandi
e42b41d8f5
Remove some unnecessary empty space in the media library grid view. props adamsilverstein. see #24716 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29017 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 20:29:32 +00:00
John Blackbourn
1f51b720f0
Correct the usage of the variable passed to wp_install_download_language_pack()
and kill an unused local variable. Props michalzuber. Also avoid using the $_REQUEST
superglobal in this function. See #28577 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29016 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 18:05:13 +00:00
Drew Jaynes (DrewAPicture)
e862e3cf6d
Inline docs syntax fixes following [28978].
...
See #28740 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29015 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 16:41:43 +00:00
Sergey Biryukov
81487ec09a
Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed.
...
props solarissmoke, wonderboymusic, DrewAPicture.
fixes #19017 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29014 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 10:17:44 +00:00
Drew Jaynes (DrewAPicture)
0be40edabc
Fix inconsistent language in two function descriptions in wp-includes/functions.php.
...
Also adds correct coding standards to a code sample in `_deprecated_argument()`.
Props TobiasBg.
Fixes #26185 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29013 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 07:07:17 +00:00
Drew Jaynes (DrewAPicture)
1f5a5579a0
Add phpDoc blocks for two WP_oEmbed
methods added in [28846].
...
Fixes #28284 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29012 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 06:33:23 +00:00
Drew Jaynes (DrewAPicture)
2a07fc794e
General inline documentation improvements in wp-includes/functions.php.
...
Final run. Fixes #26185 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29011 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 06:18:05 +00:00
Andrew Ozz
f30a20c9a4
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29010 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 01:20:53 +00:00
Sergey Biryukov
c9f0cb6295
Clarify a string on Add New User screen.
...
props vancoder, collinsinternet.
fixes #27398 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29009 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-07 00:53:54 +00:00
Sergey Biryukov
b3695a587f
Exclude a newline between delimeters from further checks in wptexturize() for better performance.
...
props miqrogroove.
fixes #28724 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29008 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-06 08:49:25 +00:00
Andrew Nacin
a6ff9013be
Introduce wp_dropdown_languages() and use it on general settings.
...
Early rough cut. Obviously not fully implemented.
see #15677 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29007 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-05 06:18:50 +00:00
Andrew Nacin
277ada83d8
Bring the language chooser to setup-config.php.
...
see #28577 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29006 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-05 05:13:05 +00:00
Andrew Nacin
f25c1e989b
Don't include plugin.php twice in setup-config.php.
...
fixes #28744 . see #28740 , [28978].
git-svn-id: https://develop.svn.wordpress.org/trunk@29005 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-05 02:12:47 +00:00
Andrew Ozz
d12c520c5e
Remove debug remnants, see #28595
...
git-svn-id: https://develop.svn.wordpress.org/trunk@29004 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-05 00:24:05 +00:00
Sergey Biryukov
4b9c7b3e1d
Add 'status-sticky' class in get_post_class() for sticky posts in the admin.
...
props mordauk, netweb.
fixes #22590 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29003 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-05 00:12:46 +00:00
Sergey Biryukov
c1c0693cee
Reinstate 'install_themes_tabs' filter.
...
props ghost1227.
fixes #28578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29002 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 23:57:39 +00:00
Sergey Biryukov
359fe16c9c
Fix alignment of Advanced Options close toggle arrow in Edit Media dialog.
...
props paulwilde.
fixes #28752 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29001 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 23:37:48 +00:00
Sergey Biryukov
c10391dcbe
Fix a regression of positioning in Attachment Display Settings.
...
props paulwilde.
see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@29000 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 23:28:40 +00:00
Sergey Biryukov
fbda6f7c0a
Add is_customize_preview(), a conditional function to check if the site is being previewed in the Customizer.
...
props sammybeats, mattwiebe.
fixes #23509 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28999 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 16:16:46 +00:00
Scott Taylor
d075028201
Media Grid: JSHint fixes.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28998 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 05:13:46 +00:00
Scott Taylor
7438b91f6f
Media Grid: Use the proper attachment value for uploadedToTitle
.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28997 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 05:03:06 +00:00
wonderboymusic
9ba94b5c58
Media Grid: for audio and video files with covers, show that instead of the icon. The filename is still present with the extension to identify the type.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28996 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 04:59:01 +00:00
Scott Taylor
ee29246036
Make media grid text fields (data) toggle-able. Checking/unchecking is saved in user settings cookie.
...
See #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28995 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 04:47:40 +00:00
Andrew Ozz
fdb58455f6
TinyMCE: improve the way wpViews work. Add two paragraphs and capture the caret in them on clicking before/after/left/right of a view or moving the caret with the arrow keys, then show a "fake" caret.
...
This makes it much more "natural" to move the caret with the arrow keys and to add paragraphs before a view when it is the first element or after a view when it's last.
Props avryl, see #28595 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28994 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 03:58:20 +00:00
Helen Hou-Sandi
e14d866665
Media grid, round 2. Expect much more to come.
...
* Instead of a sidebar for details, utilize a modal. The modal experience allows for a larger preview, editing images, audio/video previews, and previous/next navigation, like the theme browser. Think of it as an attachment browser.
* Show some details in the grid view to more easily distinguish items.
props ericlewis, wonderboymusic, JerrySarcastic. see #24716 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28993 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-04 03:38:33 +00:00