Commit Graph

  • ab112fecb8 Fix typo in wp_set_auth_cookie() description. Sergey Biryukov 2014-02-07 09:46:19 +00:00
  • 4f5608f653 Use a float for last_changed microtime cache values. Andrew Nacin 2014-02-07 08:13:37 +00:00
  • 3dbd4f8dcb Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState). Andrew Nacin 2014-02-06 23:27:47 +00:00
  • 99c1b7323c Add imgur to the list of oEmbed providers. Andrew Nacin 2014-02-06 23:11:21 +00:00
  • a2c2c3bfba Network install: When showing the path to wp-config.php make sure our slashes are normalized. Andrew Nacin 2014-02-06 22:21:34 +00:00
  • 1304fb3463 Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies. Andrew Nacin 2014-02-06 22:15:25 +00:00
  • 4d7d68b565 Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013 Andrew Ozz 2014-02-06 19:33:13 +00:00
  • 1b160c1c40 Fix some hover/focus styling and specificity issues. see #18380. Helen Hou-Sandi 2014-02-06 17:56:30 +00:00
  • 8dad11bfe2 In get_terms(), don't set automatically hierarchical to false when parent => 0 is passed. The default value for parent is ''. Scott Taylor 2014-02-06 17:44:50 +00:00
  • c2e018dd0d Some tweaks to [27106]: Helen Hou-Sandi 2014-02-06 07:07:42 +00:00
  • 802baab31a Merge colors.css into wp-admin.css. Non-default color schemes became overloads rather than swaps in the 3.8 redesign. Benefits include: Helen Hou-Sandi 2014-02-06 06:24:36 +00:00
  • 7ff0442a07 JSHint fixes for media-views and Gruntfile. Andrew Nacin 2014-02-06 05:31:22 +00:00
  • 2127c9322d Move some cache related tests to the new term/cache.php from [27103]. Scott Taylor 2014-02-06 05:19:05 +00:00
  • 324b2799b3 Add the unit test from #25711. The patch was unnecessary due to [27102], but the test is useful. Scott Taylor 2014-02-06 03:39:22 +00:00
  • 50a96f165e Regenerate the term hierarchy cache ({taxonomy}_children) when it is out of sync with the passed taxonomy's last_changed value. Scott Taylor 2014-02-06 01:58:01 +00:00
  • e33ef0c6ac Add cache invalidation when updating a term, example: create a category, assign it to a post, edit the category. Currently, the post's term cache is not updated. When updating terms in a given taxonomy, invalidate the object term caches linked to that taxonomy. Scott Taylor 2014-02-06 01:40:05 +00:00
  • 9b85472ac9 The unit test for the video shortcode needs to mimic the default params for width and post ID. Scott Taylor 2014-02-05 05:16:22 +00:00
  • 22fef7cf4b Add a unit test demonstrating the failure to invalidate a post's term cache when the term is updated. Scott Taylor 2014-02-05 03:49:48 +00:00
  • 5a3fb502cb TinyMCE: set the proper caption width when clicking image resize handle on image with caption. Props gcorne, fixes #27009, see #24067. Andrew Ozz 2014-02-05 02:06:10 +00:00
  • 71947f18d3 When a video shortcode has content in its body, append it as inner HTML in the resulting <video>. wonderboymusic 2014-02-05 01:42:02 +00:00
  • 3ccf9e9d29 The video shortcode unit test shouldn't be expected to maintain HTML comments. Scott Taylor 2014-02-05 01:24:58 +00:00
  • 89b8edf8f1 TinyMCE: don't scroll the main window when scrolling the editor content with a mouse wheel or trackpad and reaching the end. Fixes #27013. Andrew Ozz 2014-02-05 01:09:42 +00:00
  • 6a0251847b Consolidate handling of <object>, <audio> and <video> in wpautop() and add unit tests for them. Part props wonderboymusic, see #26864 Andrew Ozz 2014-02-05 00:45:53 +00:00
  • b33135c08d When using wp_editor(), make it easier to specify which editor is shown first, fixes #20822 Andrew Ozz 2014-02-05 00:33:49 +00:00
  • 6aaad4785a Autosave: Fix typo in event namespace. props avryl, see #25272. Andrew Nacin 2014-02-04 16:06:13 +00:00
  • 2f013a3706 Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter. Andrew Nacin 2014-02-04 13:56:49 +00:00
  • d88b191c9a Inline documentation for hooks in wp-admin/includes/class-wp-ms-themes-list-table.php. Drew Jaynes 2014-02-04 08:24:13 +00:00
  • 75d5d14049 Inline documentation for hooks in wp-admin/includes/class-wp-terms-list-table.php. Drew Jaynes 2014-02-04 07:55:48 +00:00
  • ac4774ddbd Inline documentation for hooks in wp-admin/network/sites.php. DrewAPicture 2014-02-04 07:48:03 +00:00
  • 050e4f26e9 Invalidate the post cache for posts associated with a user who has been removed from a blog in remove_user_from_blog(). Adds a unit test. Scott Taylor 2014-02-04 04:12:52 +00:00
  • e07424147c Test suite: Trim queries before deciding whether to create temporary tables. Andrew Nacin 2014-02-03 22:39:47 +00:00
  • 840423ea10 Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067 Andrew Ozz 2014-02-03 21:30:25 +00:00
  • 5ff41a8635 Add back missing var definition in wplink.js, props TobiasBg, see #24067 Andrew Ozz 2014-02-03 21:26:39 +00:00
  • c24e451ae3 TinyMCE: don't replace <i> with <em> and <b> with <strong> and don't remove them when empty, see #24067, see #23037. Andrew Ozz 2014-02-03 20:25:08 +00:00
  • 0d8921de03 Add braces around conditionals. props TobiasBg. fixes #25704. Sergey Biryukov 2014-02-03 20:16:08 +00:00
  • 28bab15d16 Properly invalidate the cache for wp_count_posts() on insert, trash, or when transitioning post_status inside of _transition_post_status(). Introduces _count_posts_cache_key(). Adds unit tests. Scott Taylor 2014-02-03 19:41:40 +00:00
  • 9fd8c54ef9 Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854. Andrew Ozz 2014-02-03 05:30:12 +00:00
  • 33b079b036 Open previews of different posts in different windows/tabs. Prevent confusion when using a former preview window again if the user navigated to edit another post. If the first post is still being edited, clicking Preview there will use the current window to show the preview. Props ippetkov, fixes #20233. Andrew Ozz 2014-02-02 23:49:05 +00:00
  • 90662a17f4 Editor: add :focus style for the Quicktags buttons, fixes #26932 Andrew Ozz 2014-02-02 22:37:37 +00:00
  • 8c3ad4e860 Consistently trim and unslash search queries for the users list tables. Andrew Nacin 2014-02-02 22:09:19 +00:00
  • ed1ece6e3b Remove an unnecessary variable passed to wpdb::prepare() during multisite load. Andrew Nacin 2014-02-02 22:08:14 +00:00
  • 194d6a94b7 When the MySQL server has "gone away," attempt to reconnect and retry the query. Andrew Nacin 2014-02-02 22:06:42 +00:00
  • e993ef0249 Add a comment for [27073] as someone will inevitably complain it is tricked by % in a string. see #25604. Andrew Nacin 2014-02-02 21:47:58 +00:00
  • 435df55864 Throw an incorrect usage notice when the query argument of wpdb::prepare() does not include a placeholder. Andrew Nacin 2014-02-02 21:46:07 +00:00
  • 0558df56ce Ensure compatibility with MySQL 5.6 which has stricter SQL modes by default. Andrew Nacin 2014-02-02 21:38:34 +00:00
  • bb49691c63 WP_Link: convert < > and " to HTML entities when setting link title for the Text editor. Fixes #25704. Andrew Ozz 2014-02-02 21:11:24 +00:00
  • d58d7e8158 Update @return statement of wp_nonce_url(): The URL is escaped. Dominik Schilling (ocean90) 2014-02-02 10:52:33 +00:00
  • 8650155a8b Use get_current_user_id() instead of $user_ID in user-edit.php. Andrew Nacin 2014-02-02 10:03:12 +00:00
  • 509cd20ae4 New resetpass_form hook in wp-login.php. Andrew Nacin 2014-02-02 07:51:03 +00:00
  • b8e7bbb0f2 Fix an error in SQL generation when perm is set and an array is passed for post_status. Adds unit test. Scott Taylor 2014-02-02 07:35:54 +00:00
  • d1cc542e1f Ensure the last separator is removed from the user and network admin menus. Andrew Nacin 2014-02-02 06:18:44 +00:00
  • 71f951f71e Add arguments to the wp_dropdown_cats filter, and docs. Andrew Nacin 2014-02-02 05:32:17 +00:00
  • a1ffaec8b4 Remove $force argument from WP_Object_Cache::delete(). From @nacin: "This was for internal-use-only, I don't think _deprecated_argument() is needed, but let's put a comment somewhere just so we know we'd have to be careful if we ever want to add a third argument here later." Scott Taylor 2014-02-01 22:24:30 +00:00
  • 684091ac57 Let the video shortcode accept a YouTube URL as the value of its src attribute, as MediaElement.js supports Chromeless YouTube videos by using a pseudo-mime-type video/youtube. Scott Taylor 2014-01-31 18:58:25 +00:00
  • 01da73ac78 TinyMCE: update to 4.0.16, see #24067. Andrew Ozz 2014-01-31 18:57:45 +00:00
  • ec20c47e12 Update Dashicons to latest. Adds line break, paragraph, code, and bbPress. Andrew Nacin 2014-01-31 00:40:05 +00:00
  • ced0079d88 TinyMCE: update to 4.0.14. Remove the fix for using init.setup in old plugins, now fixed upstream. See #24067. Andrew Ozz 2014-01-31 00:05:17 +00:00
  • 6989d828bb Upgrade MediaElement to 2.13.2 from 2.13.0. For a full list of changes: https://github.com/johndyer/mediaelement/compare/2.13.0...2.13.2 Scott Taylor 2014-01-29 18:23:59 +00:00
  • bd395b5d3e TinyMCE: add outline when a button is focused. Fixes #26931, see #24067. Andrew Ozz 2014-01-29 18:13:32 +00:00
  • 13c1dd0004 get_comment(), wp_get_post_revision(), and get_term() all used to return by reference. Because of this, $null was set to null so the return value would be a variable where applicable. This has not been necessary since [21792], so the $nulls have been removed. Scott Taylor 2014-01-29 06:45:54 +00:00
  • 62b57d8899 In wpdb::db_connect(), allow the loading of a custom database error template - this is already allowed in dead_db(). Scott Taylor 2014-01-29 05:27:24 +00:00
  • 99ef83d7aa Add Unit Tests for get_comment_pages_count(). Fix a notice caused when $wp_query->comments is not set in that function. Scott Taylor 2014-01-29 05:16:58 +00:00
  • 1805248438 Ignore .js files in wp-content when running jsvalidate during grunt build. See [26977]. Scott Taylor 2014-01-29 04:44:31 +00:00
  • e8797a9b15 Update the versions of several devDependencies in package.json. grunt-cssjanus has been updated to 0.2.2, we no longer need the fork. Run npm install to receive updates for node_modules in the project root. Scott Taylor 2014-01-29 04:42:02 +00:00
  • 5bb6b2ecec TinyMCE: fix Ctrl + s shortcut (trigger autosave), see #24067. Andrew Ozz 2014-01-28 23:28:36 +00:00
  • 031414171e For starters, [27050] is rad. This just cleans up some extra new lines that were littered about, updates *some* of the inline docs (needs more), moves wp.media.controller.ImageDetails closer to its parent class, and de-dupes some code in media-template.php. Scott Taylor 2014-01-28 23:20:04 +00:00
  • 20f89d7c4b Introduce Edit Image (single mode) in the media modal and use it to edit images inserted in the editor. Adds new feature: replace an image in the editor. Props gcorne, see #24409. Andrew Ozz 2014-01-28 21:16:42 +00:00
  • c712a321ad Inline documentation for hooks in wp-includes/class-http.php. Drew Jaynes 2014-01-28 08:25:00 +00:00
  • 9224a141f3 Inline documentation for hooks in wp-admin/includes/export.php. Drew Jaynes 2014-01-28 08:09:13 +00:00
  • bbc58ef016 Inline documentation for hooks in wp-admin/includes/update-core.php. Drew Jaynes 2014-01-28 08:01:36 +00:00
  • 91b0e15ef8 Autocomplete for the new site admin email. Better than trying to remember which email address you used. Helen Hou-Sandi 2014-01-27 23:09:08 +00:00
  • bd9729c22d Add wp_install and wp_upgrade hooks to the respective functions. Andrew Nacin 2014-01-27 16:31:54 +00:00
  • ad9f1f3258 TinyMCE: add dashicon for the "wp_page" button, see #24067. Andrew Ozz 2014-01-27 15:05:27 +00:00
  • ddd5e7a57f Update help content for Dashboard. props kpdesign. fixes #26632. Dominik Schilling (ocean90) 2014-01-27 14:46:36 +00:00
  • 0406e11513 Basic unit tests and additional documentation for wp_strip_all_tags(). Andrew Nacin 2014-01-27 03:15:29 +00:00
  • c759a54b2c Test framework: Parse CREATE TABLE queries the same way we do DROP TABLE queries. Andrew Nacin 2014-01-27 03:09:13 +00:00
  • 9b414abc2d Remove duplicated and superceded balance tags unit tests. Andrew Nacin 2014-01-27 02:57:51 +00:00
  • 141aaa04c5 DFW: remove unused #wp-fullscreen-title-prompt-text selectors. See #24067. Andrew Ozz 2014-01-27 00:38:19 +00:00
  • 70ca581b67 Autosave: - Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n to postL10n as they are used only there. - Use the custom jQuery events 'before-autosave' and 'after-autosave' to show these messages. - Separate autosave.suspend() for local and server so local autosaves can continue while server autosaves are suspended. - Remove the recently added autosave.server.disable() and use autosave.server.suspend() instead. - Bring back .button.disabled, button-primary.disabled and use .disabled to prevent multiple form submissions. See #25272. Andrew Ozz 2014-01-27 00:27:42 +00:00
  • fbd895949f Remove one more valign, props neoxx, fixes #22712. Andrew Ozz 2014-01-26 20:37:33 +00:00
  • 88fecbeff9 Remove table cellspacing attribute from the admin, part-props MattyRob, fixes #22086. Andrew Ozz 2014-01-26 20:27:21 +00:00
  • 01faa993ac Fix tabbing order when opening/closing post status and visibility in the Publish postbox and cache some of the jQuery selectors. Part-props atimmer, fixes #25460. Andrew Ozz 2014-01-26 03:06:52 +00:00
  • 2b80ac1778 TinyMCE: do not run preventDefault() on the tab key when Ctrl, Alt or Command key is also pressed. Ctrl + Tab is used to switch between browser tabs. See #24067, fixes #17261. Andrew Ozz 2014-01-26 00:28:49 +00:00
  • 88277b4dba Remove unused code. props nofearinc. fixes #26205. Dominik Schilling (ocean90) 2014-01-26 00:11:18 +00:00
  • a103600054 Add some inline docs to methods in media-models.js - particularly around @param and @returns. Scott Taylor 2014-01-25 08:55:47 +00:00
  • a386be33d5 Add some JSDoc annotations to media-models.js to disambiguate instance properties and static class properties/methods in the base media Models. Scott Taylor 2014-01-25 07:38:12 +00:00
  • be31ef4b65 TinyMCE: fix the compat3x plugin appending 'en.' to button titles. Set charset to UTF-8 in html_entity_decode() for translated strings. See #24067, see #26875. Andrew Ozz 2014-01-25 01:20:04 +00:00
  • 48d24f6bf5 Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712. Andrew Ozz 2014-01-24 19:05:15 +00:00
  • 07bbb5cd1f Update to jQuery UI 1.10.4. fixes #26884. Dominik Schilling (ocean90) 2014-01-24 17:43:40 +00:00
  • cad7870533 Update to jQuery 1.11.0. fixes #26926. Dominik Schilling (ocean90) 2014-01-24 17:39:35 +00:00
  • 7bb628ec3b Docs fix: edit_comment_link() doesn't actually return anything. Andrew Nacin 2014-01-24 07:16:37 +00:00
  • f70f020c54 Properly detect line height of Quick Draft textarea. Andrew Nacin 2014-01-23 18:02:06 +00:00
  • 18da726943 Fix typo in CSS. props ciantic, MikeHansenMe. fixes #26898. Sergey Biryukov 2014-01-23 12:21:11 +00:00
  • 344bcddbf7 Remove byte order mark (BOM) from GetUrlInContent.php. see #26171. Sergey Biryukov 2014-01-23 09:49:27 +00:00
  • 956aa1c8ab Fix imperceptible whitespace cruff from [27017]. Scott Taylor 2014-01-22 22:34:49 +00:00
  • 4725e85857 Fix a bit of whitespace from [27016]. Scott Taylor 2014-01-22 22:33:28 +00:00
  • 300cb7451e Let is_attachment() accept an $attachment parameter, similar to is_page() and is_single(). Adds Unit Tests for all 3. Scott Taylor 2014-01-22 22:30:36 +00:00
  • b29b5b21e4 Autosave: don't set "submit" buttons to disabled right before submitting the form. They are not sent with the form data, see #25272. Andrew Ozz 2014-01-22 21:25:05 +00:00
  • b663efb313 Themes screen: Add aria-describedby attributes to provide better information to screen readers. Andrew Nacin 2014-01-22 20:59:29 +00:00
  • 92d2f34d4f Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk. Andrew Ozz 2014-01-22 20:07:16 +00:00