Commit Graph

  • e6fcf316b3 PressThis: fix toggling of aria-expanded attribute. Props afercia, see #31373. Andrew Ozz 2015-03-06 01:50:56 +00:00
  • 24461024ca PressThis: - Fix error when checking for empty array keys. - Add better DailyMotion embed support. Props stephdau, see #31373. Andrew Ozz 2015-03-06 01:16:53 +00:00
  • deb7e5697e Audio previews need top margin on Edit Media screen. Scott Taylor 2015-03-05 22:44:17 +00:00
  • 78bab0c4eb When adding post_type to $sendback in wp-admin/post.php, use add_query_arg() instead of string concatenation. Scott Taylor 2015-03-05 22:30:32 +00:00
  • b44cf676b1 In the modal state for Embed previews, only show the Title field when the preview fails. Scott Taylor 2015-03-05 21:02:42 +00:00
  • 2d120c988e Whitespace after [31630]. Scott Taylor 2015-03-05 20:13:15 +00:00
  • 9539c0af8e Add oEmbed support for Tumblr. Scott Taylor 2015-03-05 20:12:31 +00:00
  • 06a86d1425 Use browserify's watch mechanism in tandem with grunt watch. Makes building media bundles about 10 (million) times faster. Scott Taylor 2015-03-05 19:48:59 +00:00
  • 67324a9234 Introduce $autoload parameter to update_option(). Boone Gorges 2015-03-05 19:13:00 +00:00
  • 9c292553d9 Ugrade to MediaElement 2.16.4: https://github.com/johndyer/mediaelement/compare/2.16.2...2.16.4 Scott Taylor 2015-03-05 16:53:27 +00:00
  • 214836a843 After [31620], when checking for HTTP URLs, make sure we are checking the shortcode body instead of an indexed attribute. Scott Taylor 2015-03-05 16:26:00 +00:00
  • ef10d719eb When editing/viewing the details of a [video] shortcode that has Vimeo as its source, and Froogaloop has not already been lazy-loaded, check the details of the state's model for the video src, instead of the HTML element. Scott Taylor 2015-03-05 16:14:13 +00:00
  • 21568b8cc1 detached affects the wp() call for the media list table, so switch our new $_GET key to detach. Scott Taylor 2015-03-05 15:58:02 +00:00
  • c4e9c64233 Pinking shears in unit test files. Boone Gorges 2015-03-05 13:14:28 +00:00
  • 067fa3702e In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. Boone Gorges 2015-03-05 13:14:15 +00:00
  • 889edda453 TinyMCE wpView: revert decoding of HTML entities. Doesn't work in old IE and needs to be more selective. Keep the change from .html() to .text() when getting the content of a node. See #31412. Andrew Ozz 2015-03-05 12:35:10 +00:00
  • 4726669b3f Allow inline editing of width and height parameters while previewing an embed in the media modal: Scott Taylor 2015-03-05 05:59:10 +00:00
  • 6c8322e8fa Allow attachments to be Detached from their parent in media grid and list modes. Scott Taylor 2015-03-05 05:34:40 +00:00
  • 26875b75a3 Media modules: set $ to Backbone.$, instead of jQuery, so fewer globals are imported. Scott Taylor 2015-03-05 04:11:23 +00:00
  • 07abae914e In get_next_comments_link(), ensure proper pagination when no 'cpage' query var is found. Boone Gorges 2015-03-05 03:56:21 +00:00
  • 18af27f550 [31468] reverted this in the 4.1 branch, also reverting in trunk. Scott Taylor 2015-03-05 03:49:11 +00:00
  • c1b30747d5 Respect comment_date and comment_date_gmt params in wp_new_comment(). Boone Gorges 2015-03-05 02:59:47 +00:00
  • 1ee4d99972 In wp_get_attachment_url(), convert to HTTPS when possible. Boone Gorges 2015-03-05 02:38:59 +00:00
  • bd69086dcb PressThis: remove the extra .length tests for strings from press-this.js. Props stephdau, see #31373. Andrew Ozz 2015-03-04 21:00:52 +00:00
  • 5433303166 TinyMCE wpView: decode HTML entities before trying to insert view markers. Props iseulde. See #31412. Andrew Ozz 2015-03-04 20:34:35 +00:00
  • 6b94742b72 Autocomplete: Update CSS based on both jQuery UI and general visual changes. Helen Hou-Sandi 2015-03-04 20:23:29 +00:00
  • c4673e8c79 List tables: Display front and posts page indicators. Helen Hou-Sandi 2015-03-04 19:44:22 +00:00
  • f9a6a7aa56 PressThis: - Improve handling of the data, both from the bookmarklet and from server-side parsing. - Standardize on processing the data in PHP and remove duplicate code from JS. - Improve the bookmarklet code and remove pre-filtering of the data. Part props stephdau, see #31373. Andrew Ozz 2015-03-04 19:28:53 +00:00
  • 44f0a2976a Correct a typo in the hash notation for wp_insert_user(): The argument name should be $user_registered not $date_registered. Drew Jaynes 2015-03-04 09:50:34 +00:00
  • 1c9b51a3e6 Remove the once-placeholder-esque "tag hint", which has not worked in quite some time. Helen Hou-Sandi 2015-03-03 21:52:35 +00:00
  • 6505f70ffb wpLink: fix the logic for prepending http:// and trim the input. Props iseulde. See #18149. Andrew Ozz 2015-03-03 21:20:35 +00:00
  • dfe924ab99 Fix some inline doc typos that were missed in [31604]. see #25698. Helen Hou-Sandi 2015-03-03 21:17:22 +00:00
  • 84ec54e07e Nav menus: Better JS performance on initial load of edit screen. Helen Hou-Sandi 2015-03-03 21:13:37 +00:00
  • d9cd7a141c Themes: Avoid jumping when selecting a feature in the feature filter on Add Themes screen. Sergey Biryukov 2015-03-03 19:46:27 +00:00
  • fc26b777dd wpLink: - Prepend 'http://' to pasted URLs. - Do not prepend it when typing an URL. - Do not prepend it when pasting the same URL for the second time (trying to correct wrong guess). Props iseulde. Fixes #18149. Andrew Ozz 2015-03-03 00:00:42 +00:00
  • 0b962e2238 Press This: - Remove classes from suggested HTML for the editor. - Improve the filter, pass an associative array as param. - Use <em> instead of <cite>. Props Michael-Arestad, kraftbj. Fixes #31493. Andrew Ozz 2015-03-02 23:40:13 +00:00
  • 340fa25658 Properly indent the hash notation of default arguments for wp_page_menu(). Drew Jaynes 2015-03-02 06:15:36 +00:00
  • 7b0e13670d Clean up and refine DocBlocks for a variety of functions and methods in wp-admin/includes/template.php. Drew Jaynes 2015-03-02 06:10:08 +00:00
  • 7c516ad964 PressThis: fix and update buttons styles. Props Michael-Arestad. Fixes #31498. Andrew Ozz 2015-03-02 01:17:26 +00:00
  • 701d97b6d5 PressThis: make sure buttons.css is loaded before press-this.css. Use (int) $post_ID instead of $post->ID. See #31373. Andrew Ozz 2015-03-02 00:57:34 +00:00
  • 2d19a3b446 PressThis: - Replace all %1$s and %2$s in suggestedHTML in case plugins repeat them. - Fix docs typo, props kraftbj. See #31373. Andrew Ozz 2015-03-01 23:28:00 +00:00
  • aee04ab9a3 PressThis: - Simplify getSuggestedContent() and helpers. No need to override the global data. - Replace the press_this_source_string and press_this_source_link filters with press_this_suggested_html that allows filtering of the link and the wrapper HTML tags. See #31373. Andrew Ozz 2015-03-01 22:43:36 +00:00
  • 0778a17875 Add wp.a11y.speak() for audible alerts/updates in screen readers. Props afercia, GrahamArmfield (for the idea), iseulde. Fixes #31368. Andrew Ozz 2015-03-01 19:10:58 +00:00
  • 753b3c6d38 Fix a typo in the $args parameter hash notation description for add_settings_field(). Drew Jaynes 2015-03-01 07:56:18 +00:00
  • 9013a5d088 Add a hash notation for the optional $args parameter in add_settings_field(), which includes a description for the new $class argument added in [31560]. Drew Jaynes 2015-03-01 07:52:46 +00:00
  • 79a3048412 Adjust the description for the $extra_attr argument in the DocBlocks for get_avatar_data() and get_avatar(). Drew Jaynes 2015-03-01 07:18:42 +00:00
  • c2d677a4a4 Add an entry to the changelog for wp_get_mime_types() mentioning that GIMP (xcf) file support was added in 4.2. Drew Jaynes 2015-03-01 07:09:48 +00:00
  • cc3b0374ae PressThis: - Remove unneeded passing of post formats strings to JS. - Set the currently selected post format name with jQuery. See #31373. Andrew Ozz 2015-02-28 20:07:45 +00:00
  • 91694337df Press This: Backwards compatibility enhancements. Dominik Schilling (ocean90) 2015-02-28 10:35:27 +00:00
  • d258490653 When sanitizing a URL to redirect to, UTF-8 characters can be URL encoded, instead of being removed. Gary Pendergast 2015-02-28 02:20:52 +00:00
  • eb28f78cd3 TinyMCE wpView: update the "update" method. Props iseulde. See #31412. Andrew Ozz 2015-02-27 22:28:58 +00:00
  • dc6246a548 In the Insert From URL state of the Post frame, add the necessary CSS for focus styles for images. Scott Taylor 2015-02-27 22:12:52 +00:00
  • c904f0f61e PressThis: when there is a protocol mismatch (http vs. https), use server-side media detection instead of submitting a form as it triggers "Unsafe data" warning in some browsers. Props stephdau. Fixes #31468. Andrew Ozz 2015-02-27 22:05:51 +00:00
  • a6bb04bd41 PressThis: fix selecting a post format (radio buttons) with the keyboard. Props afercia, Michael-Arestad. Fixes #31440. Andrew Ozz 2015-02-27 21:52:55 +00:00
  • a46c2462da When viewing media in List mode, auto-submit the form for attachment filters when the value of a <select> changes. This makes it behave similar to Grid mode and "feels" more performant, even though it is a full page load. Scott Taylor 2015-02-27 21:26:42 +00:00
  • 22179be8ca Introduce 'get_object_terms' filter in wp_get_object_terms(). Boone Gorges 2015-02-27 20:30:13 +00:00
  • c4adfac1b9 PressThis TinyMCE: set 'directionality' and add the LTR button when in RTL. Fixes #31474. Andrew Ozz 2015-02-27 20:20:31 +00:00
  • 4e7a4deca6 Build: Let RTLCSS handle swapping the codes for right/left arrows from Dashicons. Dominik Schilling (ocean90) 2015-02-27 20:18:05 +00:00
  • 7656a776af Support GIMP files in the Media Library. We already support Photoshop files. Scott Taylor 2015-02-27 19:46:19 +00:00
  • 964ba03e97 Press This: RTL improvements. Dominik Schilling (ocean90) 2015-02-27 19:43:33 +00:00
  • fed3b8fd1f In the ->multi_resize() method of the WP_Image_Editor subclasses, when looping through potential crops, we need to make sure the crop isn't the exact same dimensions as the original image before copying it as a new crop. Scott Taylor 2015-02-27 19:37:47 +00:00
  • 212d6d8046 Make a new function, wp_delete_file(). Use it. Scott Taylor 2015-02-27 16:50:14 +00:00
  • 65c58832cb Improve get_media_embedded_in_content() so that it returns the media it finds in the same order that it appears in the content. Scott Taylor 2015-02-27 16:11:00 +00:00
  • cbb528de0f RTL CSS generation: Switch from CSSJanus to RTLCSS. Dominik Schilling (ocean90) 2015-02-27 13:40:03 +00:00
  • a4cf473c6d Press This: Add press-this to list of RTL styles. Dominik Schilling (ocean90) 2015-02-27 11:21:44 +00:00
  • 7d9ed19fa7 Press This: Use boolean value instead of __return_true(). Add missing hook docs. Dominik Schilling (ocean90) 2015-02-27 11:14:34 +00:00
  • 61dfcc3b4c Customize Widgets: Don't return undefined items in getWidgetFormControls method. Dominik Schilling (ocean90) 2015-02-27 10:34:42 +00:00
  • aa2da3051a Update jQuery UI to 1.11.3. Dominik Schilling (ocean90) 2015-02-27 10:20:18 +00:00
  • 5d2c780c95 JSHint: Remove an unused variable. Dominik Schilling (ocean90) 2015-02-27 09:49:19 +00:00
  • f37973fa64 Update jQuery to 1.11.2. Dominik Schilling (ocean90) 2015-02-27 09:40:55 +00:00
  • 2223b319f9 PressThis: accessibility enhancements: - Add missing form labels. - Add some screen-reader-text and aria-hidden attributes. - Focus handling improvements. - Change tagcloud-link into a button. - Add missing ID attribute in tools.php. Props afercia. Fixes #31449. Andrew Ozz 2015-02-27 02:49:05 +00:00
  • 161e1a951e PressThis: enable scrollbars in Firefox, remove overflow-x: hidden from the html element. Part props Michael-Arestad. Fixes #31455. Andrew Ozz 2015-02-27 01:54:48 +00:00
  • ea4eb2e66c CSS: Move relevant #sidemenu rules into deprecated-media.css and remove the cruft. Helen Hou-Sandi 2015-02-26 23:23:39 +00:00
  • e2d0ec507b Fix the build file after [31562]. Scott Taylor 2015-02-26 23:01:55 +00:00
  • 41f89a3c14 Persist search terms across grid/list modes: Scott Taylor 2015-02-26 23:00:20 +00:00
  • 2f86fcd9a9 In get_avatar_data() and get_avatar(), allow height and width to be specified separately (both default to size). Also allow arbitrary attributes on the <img> via the extra_attr arg. wonderboymusic 2015-02-26 21:16:02 +00:00
  • 195dabc136 Settings API: Allow passing a class to add_settings_field() via the $args array. Helen Hou-Sandi 2015-02-26 19:58:50 +00:00
  • 01eb7466ae TinyMCE: wpView improvements: introduce getText() and remove() methods, improved getInstance(), better docs. Props iseulde. See #31412. Andrew Ozz 2015-02-26 19:31:27 +00:00
  • 21f4857a32 Run unit tests on Travis CI with php nightlies Aaron Jorbin 2015-02-26 17:49:13 +00:00
  • 39d1f621fd Update grunt-patch-wordpress to 0.3.0 Aaron Jorbin 2015-02-26 17:46:33 +00:00
  • 6e4b84f073 Press This: Use correct URL for update bookmarklet link. Sergey Biryukov 2015-02-26 08:47:30 +00:00
  • d73c180c9d Cleanup the @property annotations for WP_User. Scott Taylor 2015-02-26 05:53:31 +00:00
  • 79706ee8a8 Don't call the size function count() as part of a test condition in loops. Compute the size beforehand, and not on each iteration. Scott Taylor 2015-02-26 05:47:53 +00:00
  • a524e05572 wp_insert_comment() should be checking and setting $compacted, not the non-existent $post_data. Scott Taylor 2015-02-26 05:37:34 +00:00
  • 9145a72789 Add missing access modifiers to WP_Press_This. Scott Taylor 2015-02-26 05:17:42 +00:00
  • a136a78c1e Ignore the internal-use function _wp_posts_page_notice() from parsing for the code reference. Drew Jaynes 2015-02-26 03:07:26 +00:00
  • f11e86fb83 Hide irrelevant UI and display a message when editing the page for posts. Helen Hou-Sandi 2015-02-26 02:46:40 +00:00
  • 89120dbb92 Press This: fix notices/errors classes. Props michael-arestad. Fixes #31456. Andrew Ozz 2015-02-26 01:30:06 +00:00
  • fc6ffd2a83 TinyMCE: wpView improvements: remove the (obsolete) get/setViewText methods. Update stopping/pausing of multiple ME media players. Props iseulde. See #31412. Andrew Ozz 2015-02-26 00:30:35 +00:00
  • b40bc85424 Press This: add press-this.css to the list of stylesheets that are minified. Bump wp_version. See #31373. Andrew Ozz 2015-02-25 23:48:27 +00:00
  • 3d36949893 TinyMCE: wpView improvements: - Better structure, simpler "view" registration, better extensibility. - Better inline documentation. - Don't show a placeholder for pasted link until we know the link is "embeddable'. And many more improvements. Props iseulde. See #31412. Andrew Ozz 2015-02-25 23:12:08 +00:00
  • 2fb11a4ae4 PressThis: go back to loading the minified bookmarklet content with file_get_contents(). Add Grunt task to minify bookmarklet.js on precommit and update it in /src. See #31373. Andrew Ozz 2015-02-25 20:15:46 +00:00
  • 7bb4ab4088 Add a missing file header to wp-includes/class-wp-customize-widgets.php, separate out the class DocBlock for WP_Customize_Widgets. Drew Jaynes 2015-02-25 08:19:54 +00:00
  • 6a3e9b10c3 Add a missing file header and clean up class DocBlocks in wp-includes/class-wp-customize-setting.php. Drew Jaynes 2015-02-25 08:17:25 +00:00
  • 4331386507 Add a missing file header and clean up class DocBlocks in wp-includes/class-wp-customize-section.php. Drew Jaynes 2015-02-25 08:12:12 +00:00
  • 0f6ea391ab Add a missing file header to wp-includes/class-wp-customize-panel.php, separate out the class DocBlock for WP_Customize_Panel. Drew Jaynes 2015-02-25 08:08:48 +00:00
  • 4d549627b4 Add a missing file header to wp-includes/class-wp-customize-manager.php, separate out the class DocBlock for WP_Customize_Manager. Drew Jaynes 2015-02-25 08:06:26 +00:00
  • 575c60ac39 Add a missing file header and clean up class DocBlocks in wp-includes/class-wp-customize-control.php. Drew Jaynes 2015-02-25 07:55:55 +00:00
  • 6dad5d4353 Grunt precommit cleanup. See [31533], [31535]. Andrew Ozz 2015-02-25 04:16:18 +00:00
  • e6bbea8fe7 Press This: JSON encode the URL before appending it to the bookmarklet. See #31373. Andrew Ozz 2015-02-25 03:57:43 +00:00