Commit Graph

26869 Commits

Author SHA1 Message Date
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
Sergey Biryukov
092e51042c Use assertEqualSets() instead of direct array comparison.
see #28434.

git-svn-id: https://develop.svn.wordpress.org/trunk@29134 602fd350-edb4-49c9-b593-d223f7449a82
2014-07-13 11:27:07 +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