Commit Graph

  • 8a0953d88b JSHint after [29437]. Scott Taylor 2014-08-07 21:20:08 +00:00
  • dc74104c21 Media Grid: Scott Taylor 2014-08-07 21:00:45 +00:00
  • 7b95dc861b Media Grid: use a media.view.Label instance in the toolbar for the screen reader text for Search. Scott Taylor 2014-08-07 20:53:03 +00:00
  • 3d4ebded2f Revert styling changes to the Attachment Details modal from [29289]. fixes #28844. Helen Hou-Sandi 2014-08-07 20:31:21 +00:00
  • 42c1f07705 Media Grid: add screen reader text in a subview on the toolbar, a media.view.Label instance before media.view.DateFilter. Scott Taylor 2014-08-07 20:24:25 +00:00
  • b0d1b8b433 Create a new Backbone view, media.view.Label, which can be used as a subview in things like toolbars, which need screen reader text. Scott Taylor 2014-08-07 20:08:18 +00:00
  • e0083f398b Add screen reader text to list table date dropdown. Scott Taylor 2014-08-07 19:43:17 +00:00
  • 0653e60a5d Revert [29428] to avoid errors with Add Media for now. Scott Taylor 2014-08-07 19:39:10 +00:00
  • 3aa94852b3 wptexturize: After [28727], leverage RegeEx possessives (++) to improve performance and avoid libpcre segfaults. Scott Taylor 2014-08-07 19:10:13 +00:00
  • 7f000f2fdd Video: use auto instead of actual height for the responsive wrapper in generated markup. Scott Taylor 2014-08-07 06:19:29 +00:00
  • 0b7342e906 MediaElement upgrade: cleanup for generated markup for videos. wonderboymusic 2014-08-07 05:52:03 +00:00
  • adff7dfb8e Media Grid: add screen reader labels with more context to filters and bulk actions. Ditto for list view. Scott Taylor 2014-08-07 05:19:14 +00:00
  • 4f3462cc04 Media Grid: remove some unused Trash/Delete handler logic. Rendered useless since [29266] and made official by [29322]. Scott Taylor 2014-08-07 05:02:18 +00:00
  • 6e3e7b374b In media.view.AttachmentFilters.All, make uploaded conditional upon media.view.settings.post.id and include a new filter: unattached. Scott Taylor 2014-08-07 04:43:36 +00:00
  • 310a57d799 Media Grid: reduce the padding for .attachments. Scott Taylor 2014-08-07 03:03:28 +00:00
  • 277d5a633e After [29201], use aria-label instead of aria-labelledby in WP_Plugin_Install_List_Table::display_rows(). Scott Taylor 2014-08-07 02:55:18 +00:00
  • 67ef6c5e18 WP_List_Table::items should be public, not protected. It is accessed in a subclass directly via wp_ajax_get_comments(). Scott Taylor 2014-08-07 02:50:40 +00:00
  • 06eea1b33d After [28883], ensure that priorities have callbacks before returning true in has_filter(). Scott Taylor 2014-08-07 02:29:15 +00:00
  • e9ba499f23 After [29339] and [29341], add more unit tests and less ambiguous type-checking before bailing in meta-related functions that expect a numeric value for $object_id. Scott Taylor 2014-08-06 22:07:42 +00:00
  • 5f2fa44dee Media Grid: expose the $.Deffered() object in media.view.AttachmentsBrowser.updateContent() so the grid can call Backbone.history.start() when models actually exist. Scott Taylor 2014-08-06 21:43:26 +00:00
  • e25dc36c2b Media Grid: after [28996], use the same cover size for audio/video files that images use for thumbnails. Scott Taylor 2014-08-06 19:32:51 +00:00
  • ccaf134b33 Media Grid: display upload errors in a dismissable sidebar. Scott Taylor 2014-08-06 19:12:41 +00:00
  • 77e8616615 4.0-beta3 Andrew Nacin 2014-08-06 18:27:59 +00:00
  • 996208160d Ignore entities in XML-RPC requests. Andrew Nacin 2014-08-06 17:37:22 +00:00
  • 1d1d95f4d5 In media.view.BulkSelectionActionButton.click(), do not assume that delete is the only possible bulk action. Scott Taylor 2014-08-06 17:23:49 +00:00
  • 99a0a62442 Don't show the Featured Image metabox for users with the contributor role. Do enqueue media so that TinyMCE previews work for YouTube embeds, etc. Scott Taylor 2014-08-06 17:16:45 +00:00
  • 68a82b0932 Use proper non-capturing regex syntax for YouTube in wp_video_shortcode(). Scott Taylor 2014-08-06 17:00:13 +00:00
  • 4984b04b81 Escape late in get_avatar(). Andrew Nacin 2014-08-06 07:49:30 +00:00
  • d74b01a080 Media modal/grid: fix the position of attachment icons, restore the background, fix in ie8. See #27423. Andrew Ozz 2014-08-06 06:28:54 +00:00
  • b2d8983dcc Constant time for wp_verify_nonce(). Andrew Nacin 2014-08-06 05:25:03 +00:00
  • 31105be6c7 Avoid PHP notices in wp-login.php if password reset cookie is not set. Sergey Biryukov 2014-08-06 02:16:51 +00:00
  • 0f01ebb037 TinyMCE: add support for class attribute on the caption shortcode. Part props knutsp, kadamwhite, fixes #28951. Andrew Ozz 2014-08-06 00:57:12 +00:00
  • 281bf20383 Media modal/grid: get the proper .attachment width in arrow navigation. Props avryl, see #27423. Andrew Ozz 2014-08-05 19:36:41 +00:00
  • 5894507b95 Disable external entities in ID3. Andrew Nacin 2014-08-05 19:13:57 +00:00
  • a8e8ed6550 Verify the MAC earlier in WP_Customize_Widgets. props duck_. Andrew Nacin 2014-08-05 06:49:22 +00:00
  • e5836da88d Media modal/grid: remove thumbnail resizing from JS, only keep setting number of columns. Props avryl, see #27423. Andrew Ozz 2014-08-05 05:19:09 +00:00
  • 508bdec5bd Use wp_normalize_path() in plugins_url(). Sergey Biryukov 2014-08-05 01:30:03 +00:00
  • 587a0bc96d Language chooser: Adjust continue button alignment. Andrew Nacin 2014-08-04 21:22:57 +00:00
  • 98c3058d32 Media modal: use the same classes to hide the "or" that is above the "Select files" button when no drag-drop support. See #28851. Andrew Ozz 2014-08-04 21:16:37 +00:00
  • 42f2f27267 Language chooser imporvements. * Use a translated 'Continue' string. * Go back to using a select element. * Only show a spinner when we're installing a language. Andrew Nacin 2014-08-04 20:46:42 +00:00
  • be026764a3 Move plugin details link into the description area. Andrew Nacin 2014-08-04 18:48:07 +00:00
  • 040ac15f50 TinyMCE: fix alignment buttons when used on image with caption. Remove old/unneeded code. Fixes #28705. Andrew Ozz 2014-08-04 00:51:19 +00:00
  • daf4baf3ed Mobile: hide the onscreen keyboard when the media modal opens, fixes #28549. Andrew Ozz 2014-08-03 22:33:05 +00:00
  • 05bb106161 Media Grid: don't blow away the Attachment Details modal every time a new model is loaded. Scott Taylor 2014-08-03 19:39:58 +00:00
  • e7eca9d99b Media Grid: don't select body with jQuery when instantiating media.view.UploaderWindow. Scott Taylor 2014-08-03 19:36:41 +00:00
  • a1ce4931a1 Fix CSS for form elements for Firefox 30+, fixes #28500. Andrew Ozz 2014-08-03 00:33:31 +00:00
  • 2c320cc7f3 Standardize transition-animations on modal close/arrow buttons. Dominik Schilling (ocean90) 2014-08-02 22:01:49 +00:00
  • c53e3036ad Media Modal: Restore uploader view, when no items are found. Dominik Schilling (ocean90) 2014-08-02 20:46:36 +00:00
  • 6723459a79 Add an action, pre_get_users, in WP_User_Query::prepare_query(). Scott Taylor 2014-08-02 20:45:07 +00:00
  • 6bac38232c Add blog_id to the wp-settings-* cookie (used for storing user state) to prevent it being overloaded on sub-domain sites. Fixes #29095. Andrew Ozz 2014-08-02 20:08:52 +00:00
  • eedb382924 Remove some unused dashboard-widget-* CSS classes. Unused since [9103]. Dominik Schilling (ocean90) 2014-08-02 20:02:00 +00:00
  • d12ec06021 Media: Don't stretch radio and checkbox inputs in compat fields. Adjust margin for radio inputs. Dominik Schilling (ocean90) 2014-08-02 19:52:01 +00:00
  • a2a3e10f66 Plugin install: Improve styling of the no results message. Dominik Schilling (ocean90) 2014-08-02 15:23:17 +00:00
  • bcb49d44ab Language Upgrader: Don't print a footer when translations are updated async. Dominik Schilling (ocean90) 2014-08-02 15:15:27 +00:00
  • c976db478f Upgrader: Use always window.postMessage for decrement of update count bubbles when IFRAME_REQUEST is defined. Fixes decrement of translation update count bubbles when updated through the bulk upgrader. Dominik Schilling (ocean90) 2014-08-02 14:36:31 +00:00
  • ee91f3f94f Attach Media: Display the correct error message when search result is empty. Dominik Schilling (ocean90) 2014-08-02 14:23:42 +00:00
  • de7962c947 Media Upload: Improve styling of error messages. Dominik Schilling (ocean90) 2014-08-02 14:13:06 +00:00
  • 54faec35e4 To improve troubleshooting use esc_html() for a failed embed. Dominik Schilling (ocean90) 2014-08-01 22:33:55 +00:00
  • 6d656e7880 RTL: Fix media attach modal alignment. Dominik Schilling (ocean90) 2014-08-01 21:58:48 +00:00
  • 96daabb134 Editor scrolling: run one more adjust() 200ms after scroll or resize in case the browser is slow to re-calculate the element heights and pin/unpin the toolbars. See #28328, fixes #29059. Andrew Ozz 2014-08-01 21:42:03 +00:00
  • 1cc1956a1f Consolidate some of the test functions added in [29344]. Sergey Biryukov 2014-08-01 21:06:49 +00:00
  • 6489b16efc Add some braces to [29225]. Dominik Schilling (ocean90) 2014-08-01 21:03:48 +00:00
  • 4b55c3d722 Avoid an undefined index notice in wp_reschedule_event(). Sergey Biryukov 2014-08-01 20:56:11 +00:00
  • 4c0ae9bc47 Plugin install: Add missing closing HTML tags. Dominik Schilling (ocean90) 2014-08-01 20:43:26 +00:00
  • 7374913866 Add unit tests for Walker class. Scott Taylor 2014-08-01 20:35:25 +00:00
  • 257a3ad0e3 Disable background page scrolling when modals are open. Dominik Schilling (ocean90) 2014-08-01 20:14:43 +00:00
  • 4465f7922a Revert [28640] as per @DH-Shredder. Scott Taylor 2014-08-01 18:42:46 +00:00
  • 91517ce620 Clarify that get_the_date(), get_the_time(), get_post_time() and get_post_modified_time() should return false when get_post() is null. Scott Taylor 2014-08-01 18:39:22 +00:00
  • 8b45f96cba Use the word "Count" instead of the post type label in taxonomy list tables to prevent layout issues. It is also more accurate, as it represents a count of all post types, not just one. Helen Hou-Sandi 2014-08-01 18:31:52 +00:00
  • 0ee7c9c678 Update unit tests for sanitize_file_name() after [29290]. Scott Taylor 2014-08-01 18:29:46 +00:00
  • 7677eb2f8e Account for WP_IMPORTING being defined in the unit tests added in [29339] when all tests are run. Scott Taylor 2014-08-01 18:27:16 +00:00
  • a46a981daa Match background color in DFW and adapt the dashed outline color. Mark Jaquith 2014-08-01 18:09:47 +00:00
  • 5686f4511a Bail on update_user_meta() when $object_id is non-numeric. Scott Taylor 2014-08-01 17:09:53 +00:00
  • 758b290d02 Remove remaining title attributes from default-widgets.php, with the exception of the one on the link to WordPress.org. fixes #26552. Helen Hou-Sandi 2014-08-01 17:04:30 +00:00
  • d83ac79c38 Unbreak Media Trash after [28788]. Scott Taylor 2014-08-01 15:14:56 +00:00
  • c94edd08bd Editor scrolling: - Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference. - Fix delayed calls to resize() in the TinyMCE autoresize plugin. See #28328. Andrew Ozz 2014-08-01 02:42:30 +00:00
  • a8a936ebc5 wpLink: add custom open and close events, props bradyvercher, fixes #28095. Andrew Ozz 2014-08-01 02:03:13 +00:00
  • c3f712ac63 PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081. Andrew Ozz 2014-08-01 00:54:51 +00:00
  • 0ef495da6a wpLink: - Fix adding a link on pressing Enter. - Don't auto-focus the URL field after selecting a local link. - Don't auto-focus the URL field when opening on touch devices. Toggle focus/blur on it to close the onscreen keyboard so the modal is positioned properly. See #28897. Andrew Ozz 2014-07-31 23:27:14 +00:00
  • cba848581b Use node.nodeName instead of tagName for better consistency/compatibility, see #28704. Andrew Ozz 2014-07-30 17:48:21 +00:00
  • 8790d81cb4 Prevent key event handlers from firing when in input areas in the media modal, as people understandably want to type inside said inputs. props kovshenin. fixes #28704. Helen Hou-Sandi 2014-07-30 17:38:18 +00:00
  • 6be5fc19b3 Make sure phpinfo() is not disabled before calling it in apache_mod_loaded(). Sergey Biryukov 2014-07-30 17:27:54 +00:00
  • 09877657d4 Customizer: Don't hide controls the preview frame has no information about. Sergey Biryukov 2014-07-30 16:23:47 +00:00
  • 23d876d86a Tests Autop: remove <option> from the list of inline tags. It is valid only in specific context (<select>, <optgroup> or <datalist>) and should not be wrapped in <p>. Props kovshenin, fixes #28217. Andrew Ozz 2014-07-29 19:02:36 +00:00
  • 94c53962b1 Don't pass around the password reset key. Andrew Nacin 2014-07-29 18:18:58 +00:00
  • 502e9b675a In add_submenu_page(), avoid inadvertently copying classes of a menu item to the first submenu item. Sergey Biryukov 2014-07-29 16:07:59 +00:00
  • 3c71a49abc Labels for the installation form should get the pointer cursor. props Ankit K Gupta. fixes #28818. Helen Hou-Sandi 2014-07-29 16:04:44 +00:00
  • 40d1133c6f Fix duplicate Customize button in theme details modal. Sergey Biryukov 2014-07-29 16:01:13 +00:00
  • e4c8f3a843 QuickPress: Disable autocomplete for content, enable "Save Draft" button on load. Sergey Biryukov 2014-07-29 15:33:07 +00:00
  • fd1652d6bb Media Grid: Close the modal if the attachment is deleted. Sergey Biryukov 2014-07-29 14:57:21 +00:00
  • 93aff47ac5 wpLink: add keyboard navigation, improve accessibility. Props afercia, fixes #28897. Andrew Ozz 2014-07-29 03:15:34 +00:00
  • e2d9939e57 Avoid PHP notices in Media Library if an attachment parent post type no longer exists. Sergey Biryukov 2014-07-29 01:40:24 +00:00
  • a475124608 Use 3-digit x.x.x style for two 4.0.0 @since versions. Sergey Biryukov 2014-07-29 00:58:22 +00:00
  • 7ac0669493 Avoid PHP notices in _count_posts_cache_key(), _update_blog_date_on_post_publish(), and _update_blog_date_on_post_delete() if post type is not registered. Sergey Biryukov 2014-07-29 00:50:53 +00:00
  • fbfd88cecb TinyMCE: - Use data-wp-* for processing and styling of the more and nextpage placeholders, keep the class names for back-compat. Makes them "immune" to "Clear formatting". - Translate the titles of the placeholders. Fixes #28772. Andrew Ozz 2014-07-28 23:44:28 +00:00
  • 01051b4e2f Formatting: make the removal of white space around <option> greedy, see #28217. Andrew Ozz 2014-07-28 19:54:50 +00:00
  • 5fa36977a0 Formatting: no <p> or <br> around <option> tags in both flavours of wpautop, make "selects" easier to read in the Text editor. Fixes #28217. Andrew Ozz 2014-07-28 19:43:06 +00:00
  • 70a6b6390c IE8 doesn't support ::before and ::after pseudo-elements. Replace them with :before and :after. Dominik Schilling (ocean90) 2014-07-28 15:51:02 +00:00
  • 41360a0086 Remove parent::footer() in Language_Pack_Upgrader_Skin::bulk_footer() as it prints a closing div which is not needed. Dominik Schilling (ocean90) 2014-07-28 09:05:33 +00:00
  • 9f105673fb Media Grid: Improve lazy loading. Dominik Schilling (ocean90) 2014-07-27 17:57:25 +00:00