Commit Graph

  • 52cbf23fe2 Correct a missing conditional in edit-form-advanced.php. Scott Taylor 2014-02-20 21:37:57 +00:00
  • 2b06a387fe Register wp.media.controller.GalleryEdit and wp.media.controller.GalleryAdd using the new wp.media.controller.Collection* abstraction code. Scott Taylor 2014-02-20 18:33:39 +00:00
  • fc5a96502f In media-views.js, add wp.media.controller.CollectionAdd and wp.media.controller.CollectionEdit to provide an abstraction for Add and Edit screens in the media modal for collection-type things. Scott Taylor 2014-02-20 18:25:01 +00:00
  • 6fed18847c Replace the current wp.media.gallery instance in media-editor.js with one that leverages wp.media.collection. Scott Taylor 2014-02-20 18:12:05 +00:00
  • 863c141ba8 Add an abstraction of the gallery code in media-editor.js called wp.media.collection. This will be the basis for parsing [gallery]-like shortcodes in the media editor (thing playlists, collections of PDFs, etc). Scott Taylor 2014-02-20 18:06:31 +00:00
  • b85d8ddbd8 Remove now-unnecessary vanity spacing of various hooks in wp-includes/query.php. Drew Jaynes 2014-02-20 17:58:42 +00:00
  • efd0b5081e Inline documentation hooks in wp-includes/query.php. Drew Jaynes 2014-02-20 17:53:33 +00:00
  • ae603ef26d Allow pseudo post types attachment:audio and attachment:video to get the media modal on Edit Media when they support featured images. Scott Taylor 2014-02-20 17:49:30 +00:00
  • 3776fd7d5d Inline documentation for various SQL clause hooks in wp-includes/query.php. Drew Jaynes 2014-02-20 17:45:19 +00:00
  • 5f068b8a11 Inline documentation for various SQL clause hooks in wp-includes/query.php. Drew Jaynes 2014-02-20 17:40:14 +00:00
  • 5fbf05a2cb Inline documentation for various SQL clause hooks in wp-includes/query.php. Drew Jaynes 2014-02-20 17:33:16 +00:00
  • 76ba2667c1 Update $parent_file value in wp-admin/update-core.php. Sergey Biryukov 2014-02-20 16:41:50 +00:00
  • 4397095aa8 Remove accidental change in [27203]. see #20729. nacin 2014-02-20 06:59:02 +00:00
  • f176ab98fc Simplify how admin color schemes are enqueued. Andrew Nacin 2014-02-20 06:58:10 +00:00
  • d3aa609740 Inline documentation for hooks in wp-admin/includes/image.php. Drew Jaynes 2014-02-20 06:26:51 +00:00
  • 1b45201476 Fixes for hooks documentation wp-includes/nav-menu-template.php. Drew Jaynes 2014-02-20 05:07:39 +00:00
  • bc8302d050 Login styles do not depend on common.css. see #12506. Helen Hou-Sandi 2014-02-20 03:27:54 +00:00
  • 1c5f1cebff Make login styles standalone. see #12506. Helen Hou-Sandi 2014-02-20 03:23:49 +00:00
  • b21202c457 Add .editorconfig file, see http://editorconfig.org/. Andrew Nacin 2014-02-20 02:35:38 +00:00
  • 1cda3b44cf Add @ticket references. see #26903. Sergey Biryukov 2014-02-20 02:20:40 +00:00
  • a0536406a1 Add screen-reader friendly variations of some short text links in the Publish meta box. Fixes #25459. John Blackbourn 2014-02-19 22:43:55 +00:00
  • c4848bbac4 Once upon a time not long ago, The admin CSS was merged in #18314. After a couple years as it stood, The mess it had become just was no good. One day we realized Grunt is pretty cool, And said "we should use this as our build tool!" Now we can maintain separate files with ease, Using @import and cssmin meets all our needs. Welcome to the future of the WordPress stylesheets, And thanks to Slick Rick for the beats. Helen Hou-Sandi 2014-02-19 21:42:36 +00:00
  • 073d970d1f Use correct variable. props avryl. fixes #27153. Sergey Biryukov 2014-02-19 15:28:17 +00:00
  • 377c5520ea TinyMCE: revert style for the blocks drop-down in the toolbar, limit the styles imported for the same drop-down, make the menu highlight color grey. Part props avryl, see #26952 Andrew Ozz 2014-02-19 03:50:09 +00:00
  • 47510a2092 Correct @since value. see #26869. Sergey Biryukov 2014-02-18 21:44:14 +00:00
  • 013a4e3381 Correct return values for update_metadata() and related functions. Sergey Biryukov 2014-02-18 21:35:07 +00:00
  • 0d52823908 TinyMCE: style the modals to match WordPress admin (first-run). Fix couple of IE problems in tiny_mce_popup.js. Props avryl, see #26952, see #24067 Andrew Ozz 2014-02-18 06:31:30 +00:00
  • 6d00fb3fe8 Remove code from a previous patch. See [27188]. Scott Taylor 2014-02-17 22:45:52 +00:00
  • 1b8da3d0d6 Use selected() where appropriate in touch_time(), page_template_dropdown(), and parent_dropdown(). Also, add proper docs. Scott Taylor 2014-02-17 22:26:14 +00:00
  • c2efafbddb Add some more assertions to Tests_Query_Conditionals, specifically for is_single(), is_page(), and is_attachment(). Scott Taylor 2014-02-17 22:10:57 +00:00
  • 664bf1fea2 Remove extraneous type-casting in wp_get_object_terms(). Scott Taylor 2014-02-17 21:55:41 +00:00
  • 7bdca44b97 Make WP_User_Query::prepare_query() public by allowing it to be passed an array of args. Previously, if the WP_User_Query constructor was not passed args, the object was basically unusable. Adds unit tests, all other tests pass. Scott Taylor 2014-02-17 21:40:04 +00:00
  • db1c44bc42 wp_get_post_revisions() should have a default orderby of date ID to tie-break rapidly added revisions - namely, when unit tests are run. There is a test that occasionally fails when running all tests, and always fails when running phpunit tests/phpunit/tests/post/revisions.php . This fixes that. Scott Taylor 2014-02-17 21:22:25 +00:00
  • a31a167359 Reset $wp_query and $post during WP_UnitTestCase::tearDown() to avoid spillage of globals between tests. Scott Taylor 2014-02-17 21:03:43 +00:00
  • 4283c76461 TinyMCE: wrap the toolbars buttons on narrow screens, props mikemanger, fixes #26882 Andrew Ozz 2014-02-17 02:12:07 +00:00
  • 6351b0b3a4 Rename the old media.css file, used for the pre-3.5 media library. Clean up script-loader CSS registrations. Andrew Nacin 2014-02-16 00:35:12 +00:00
  • 920a9799cf TinyMCE tests: remove 'coverage' for now, has unsatisfied dependencies. Tweak the test runner so it auto-starts. See #27014. Andrew Ozz 2014-02-15 21:25:15 +00:00
  • 5a9624b834 TinyMCE: when clicking on a character in the Charmap modal, don't close it if the Crtl key is pressed. Makes it possible to insert several special chars in a row. See #27107. Andrew Ozz 2014-02-14 19:19:28 +00:00
  • 31d3af406c Multisite: Add get_network_by_path() and wp_get_network() to begin cleanup of multisite load. Andrew Nacin 2014-02-13 23:06:12 +00:00
  • f6af16cd76 TinyMCE: add support for audio and video shortcodes without closing, fix jshint warning, see #27016. Andrew Ozz 2014-02-13 20:12:46 +00:00
  • f1e7635a2d Add grunt precommit for running front-end dev and test tasks before commit. Andrew Nacin 2014-02-13 17:56:29 +00:00
  • 562046753d Dev/build tools: Skip new backbone.js and underscore.js files during jshint. Andrew Nacin 2014-02-13 08:58:17 +00:00
  • 01b809bf2b Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes. Andrew Nacin 2014-02-13 08:29:16 +00:00
  • 12b13fe7cf Optimize 69 images (of 127) using the new Grunt task. (See [27172].) Andrew Nacin 2014-02-13 08:02:48 +00:00
  • 877982732a Dev tools: Add grunt imagemin:core task for optimizing images pre-commit. Andrew Nacin 2014-02-13 08:00:47 +00:00
  • 110978e2d3 Update media-views and wp.Backbone.View for Backbone 1.1. Andrew Nacin 2014-02-13 07:36:01 +00:00
  • 4e36f55df7 Update Backbone from 1.0 to 1.1. Andrew Nacin 2014-02-13 07:33:29 +00:00
  • fcea323396 TinyMCE: add image based placeholders for audio and video shortcodes. Props wonderboymusic, see #27016. Andrew Ozz 2014-02-13 05:09:04 +00:00
  • 36fe6c1c27 Don't use HTTPS in unit tests if OpenSSL isn't loaded. Andrew Nacin 2014-02-12 20:39:21 +00:00
  • 4db1f2cb20 Merge two similar strings. props pavelevap. fixes #27096. Sergey Biryukov 2014-02-12 10:14:12 +00:00
  • fd8d6cddcd Don't iterate over $wp_query->posts in update_post_thumbnail_cache() if it is empty. Adds unit tests. Scott Taylor 2014-02-12 04:48:14 +00:00
  • 94a1bb0485 TinyMCE: fix styling in the Charmap modal so the click targets are as large as the table cells. Remove the "Close" button and close the modal after inserting the special char. Fixes #27107. Andrew Ozz 2014-02-11 23:32:11 +00:00
  • a03b5033ce Use jQuery.prop('checked') instead of jQuery.attr('checked'), which is deprecated. Dominik Schilling (ocean90) 2014-02-11 21:12:04 +00:00
  • 2e9d155703 Partially revert [27101], [27102], [27141], and [27142]. Those commits introduced new functions to sync up cache invalidation events. The current commit alters existing internals. Scott Taylor 2014-02-11 16:49:11 +00:00
  • 05b87717c8 Rather than removing the 3rd argument in WP_Object_Cache::delete(), mark it as $deprecated. Scott Taylor 2014-02-11 16:40:30 +00:00
  • 4f8d51257c In remove_user_from_blog(), avoid a potentially expensive IN query before invalidating the reassigned post and link caches. Scott Taylor 2014-02-11 16:27:05 +00:00
  • fb3f9ff8f7 Bump the TinyMCE version, see #24409. Andrew Ozz 2014-02-11 01:07:22 +00:00
  • fd19c371d1 Edit image in TinyMCE: - Add a "toolbar" at the top of the image with two buttons: Edit and Delete. - Don't open the edit modal on second click on the image. Makes the "edit" button somewhat pointless and can sometimes trigger after resizing the image. - When the image has caption: attempt to prevent IE11 from making the caption element resizable and wrapping it in thick border. - When the caret is inside a caption next to the image, pressing Enter will create a new <p> tag above the caption. - Hide the image toolbar on drag, cut, align. Props gcorne, see #24409. Andrew Ozz 2014-02-10 23:47:34 +00:00
  • b7be4e98fe Detect and handle symlinking of plugins in plugin_basename(). Andrew Nacin 2014-02-10 22:59:40 +00:00
  • ef099f8082 Fix a typo in the PHPDoc for comment_author_email_link(). Drew Jaynes 2014-02-10 04:06:36 +00:00
  • 3d67904bc7 Inline documentation cleanup in wp-includes/comment-template.php. Drew Jaynes 2014-02-10 03:19:13 +00:00
  • ce2dcccf86 Incorporate the TinyMCE tests into our JS tests: - Modified the original tests so TinyMCE can be loaded from /src/wp-includes/js/tinymce. - Added "WP" option to the UI to select only tests relevant to our integration (excludes most of the default plugins tests). - Added tests for obsolete HTML elements and attributes (html4 back-compat). See #27014. Andrew Ozz 2014-02-10 01:11:25 +00:00
  • 4951bdc964 Remove unused arg from wp_auth_check(), see #27081. Andrew Ozz 2014-02-09 22:33:56 +00:00
  • e1f6ab1ea9 Run wp_auth_check on every heartbeat tick. Andrew Nacin 2014-02-09 22:27:57 +00:00
  • 3fce77b44d Collect the post and link ids that will be reassigned before running the update in remove_user_from_blog(). Use array_walk() instead of array_map() when invalidating the caches for the collected ids. Scott Taylor 2014-02-09 21:46:43 +00:00
  • 13571cf6b2 Update comment about structure of items in $menu global. Sergey Biryukov 2014-02-09 21:42:28 +00:00
  • 586cb2b140 Nav Menu: Remove post/page items from the Nav Menu when the post/page is deleted. Dominik Schilling (ocean90) 2014-02-09 21:36:15 +00:00
  • d670819b03 Improve inline documentation for wp_new_user_notification(). Drew Jaynes 2014-02-09 21:07:01 +00:00
  • eaff87706b Improve inline documenation for get_the_time() and `get_post_time(). Drew Jaynes 2014-02-09 21:02:36 +00:00
  • b013aaf4c9 Fixes for hooks documentation in wp-includes/wp-db.php. Drew Jaynes 2014-02-09 20:50:42 +00:00
  • 6229ba0bb3 Fixes for hooks documentation on xmlrpc.php. Drew Jaynes 2014-02-09 20:38:39 +00:00
  • e4adb8dcfe Fixes for hooks documentation in wp-admin/admin-footer.php. Drew Jaynes 2014-02-09 20:28:01 +00:00
  • 1fcb6036ca Fixes for inline documentation for hooks in wp-comments-post.php. Drew Jaynes 2014-02-09 20:11:34 +00:00
  • 0ae2aa696a Remove a stray </div> from the Edit Image template, was breaking it in IE < 9. Props gcorne, see #24409 Andrew Ozz 2014-02-09 18:44:40 +00:00
  • e966a23683 Reuse the terms cache group for taxonomy cache invalidation. Scott Taylor 2014-02-09 17:41:07 +00:00
  • eb43703bba Improve inline documentation for several 'last_changed'-related functions introduced in [27101] and [27102]. Drew Jaynes 2014-02-09 02:01:28 +00:00
  • ee280cf8dd has_image_size()'s parameter should be required. see [27139], see #26951. Andrew Nacin 2014-02-08 23:52:40 +00:00
  • c0a7cd58e7 Inline documentation tweaks for has_image_size() and remove_image_size(). Drew Jaynes 2014-02-08 22:54:47 +00:00
  • 75c028e042 Inline documentation for the wp_insert_attachment_data filter hook, added in [27130]. Drew Jaynes 2014-02-08 22:46:25 +00:00
  • aa502ff35a Fix docs spacing missed in [27136]. Drew Jaynes 2014-02-08 22:18:09 +00:00
  • 4993a00e05 Improve inline documentation for submit_button(). Drew Jaynes 2014-02-08 22:13:18 +00:00
  • 622d3e1338 Clarify submit_button() $type parameter docs to mention that the value doubles as the CSS class attribute. Drew Jaynes 2014-02-08 22:10:19 +00:00
  • a3a869fdfd Fix validation issue in get_the_password_form() caused by wpautop(). Sergey Biryukov 2014-02-08 13:22:40 +00:00
  • f3cbc44076 Add meetup.com oEmbed support. see #23171. Andrew Nacin 2014-02-08 01:13:52 +00:00
  • 3266997d99 Improve parameter documentation of add_meta_box(). Andrew Nacin 2014-02-08 00:54:19 +00:00
  • 522670cef2 Various JSHint fixes. see #26446. Andrew Nacin 2014-02-08 00:51:14 +00:00
  • 2238c7fb7f Add a filter wp_insert_attachment_data in wp_insert_attachment(). This is similar to the wp_insert_post_data filter in wp_insert_post(). Scott Taylor 2014-02-08 00:43:16 +00:00
  • baeadcfedc Add remove_image_size() and tests for it and has_image_size(), added in [27128]. Andrew Nacin 2014-02-08 00:40:15 +00:00
  • d80685a46b Introduce has_image_size( $name ), a utility function that helps avoid loading the $_wp_additional_image_sizes global. Scott Taylor 2014-02-08 00:19:29 +00:00
  • d6cb8c399e Introduce maybe_regenerate_attachment_metadata( $attachment ). On the Edit Media screen, call it for Audio and Video files. Scott Taylor 2014-02-07 22:40:32 +00:00
  • 4b047c21ab Add some inline docs to media-views.js and remove some unnecessary comments from a few super calls. Scott Taylor 2014-02-07 20:20:38 +00:00
  • 81679ef453 When a term_id matches in _get_term_children(), recurse through its children until there is no more depth in the hierarchy. Since get_terms() return terms with a count of 0 when their children are not empty, we must return all children so that get_terms() can check their count. Scott Taylor 2014-02-07 19:53:01 +00:00
  • 5ddc101010 Twenty Fourteen: fix Ephemera Widget to avoid showing full post content when displayed in single post or page. Restore the global $more to its original value after the widget output to avoid any issues caused by changing a global variable. Lance Willett 2014-02-07 18:03:00 +00:00
  • 2ec5e68249 Twenty Fourteen: pinking shears. Lance Willett 2014-02-07 18:01:20 +00:00
  • 9ddb14eb97 Twenty Fourteen: translate featured tag slug used to link to specific tags in Posts editor. See #26526. Lance Willett 2014-02-07 17:46:46 +00:00
  • 7d23aedf8b Twenty Fourteen: fix unreachable links when the content area is shorter than the sidebar in smaller viewpoints. Props celloexpressions, see #26782. Lance Willett 2014-02-07 17:42:59 +00:00
  • 6f9758f69b Twenty Fourteen: delete the featured_content_ids transient on theme switch to make sure child themes can override the Featured Content quantity value. Also remove quantity parameter so child themes can change the amount of featured posts with $max_posts. Lance Willett 2014-02-07 17:38:08 +00:00
  • 5b7c8cf7c1 Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen. Sergey Biryukov 2014-02-07 17:32:31 +00:00
  • cb8654eade Twenty Fourteen: make sure featured tag is hidden on front-end views as expected. Add a check for the tag name in case we're using default values and the default ID of 0 does not match the term id of the featured tag. Lance Willett 2014-02-07 17:16:53 +00:00
  • dfb4b73fbe Twenty Fourteen: fix gap above static pages, props SergeyBiryukov. Fixes #26694. Lance Willett 2014-02-07 17:10:04 +00:00