Commit Graph

  • 8166a14066 Inline documentation for hooks in wp-admin/options-general.php. Drew Jaynes 2013-10-17 06:17:20 +00:00
  • eb3d658b7e Inline documentation for hooks in wp-admin/options-discussion.php. Drew Jaynes 2013-10-17 05:59:54 +00:00
  • d2d9b963a2 For Background updates, ensure that only one update process runs at the same time by using the options table as a lock. This prevents multiple cron spawns and/or long-running updates from causing multiple update processes to spin up. This also fixes a case where the upgrader might kick in for ( ! is_main_network() || ! is_main_site() ) in mulisite installs. See #22704 Dion Hulse 2013-10-17 05:23:35 +00:00
  • 3c067c1ec2 Avoid a notice in is_main_network() when called in single site. see #25030. Andrew Nacin 2013-10-17 05:16:41 +00:00
  • 5de9864891 Inline documentation for hooks in wp-admin/customize.php. Drew Jaynes 2013-10-17 04:52:38 +00:00
  • 4644bb87f6 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone. Andrew Nacin 2013-10-17 04:01:06 +00:00
  • 21da24227f Bundled Themes: pinking shears, fix a trailing period. Lance Willett 2013-10-17 03:29:11 +00:00
  • c39143fd2e Make WP_Automatic_Upgrader a proper object that gets instantiated. Renames nearly all of its methods. Andrew Nacin 2013-10-17 00:54:15 +00:00
  • d0bd68cf5f Remove a duplicate semicolon that snuck in. Props JustinSainton. See #18200 Dion Hulse 2013-10-17 00:11:25 +00:00
  • 0edc7a4087 Inline documentation for hooks in wp-admin/custom-header.php. Drew Jaynes 2013-10-16 23:25:30 +00:00
  • c471399eee "Future security updates will be applied automatically." see #22704. Andrew Nacin 2013-10-16 23:05:23 +00:00
  • ff4c82bd7b Inline documentation for hooks in wp-admin/edit-form-advanced.php. Drew Jaynes 2013-10-16 22:58:21 +00:00
  • d5aba84213 Allow the WordPress.org Language update API to disallow automated background updates for a specific language pack. See #18200 Dion Hulse 2013-10-16 22:26:47 +00:00
  • 853c9a50bd When a plugin enables Background Plugin updates, don't deactivate the plugin during update as we require a browser to reactivate it afterwards. See #22704 Dion Hulse 2013-10-16 19:47:21 +00:00
  • 4bcad55280 Update the banner for update-core.php that tells users they are set up for security updates to happen in the background. Andrew Nacin 2013-10-16 19:40:02 +00:00
  • 977ca48a58 Merge the should_auto_update() and can_auto_update() methods. see #22704. Andrew Nacin 2013-10-16 19:34:05 +00:00
  • f8bd337fdb Twenty Fourteen: cleanup, props iamtakashi. Fixes #25613. Lance Willett 2013-10-16 18:28:11 +00:00
  • 324ac5177f Twenty Fourteen: implement tag auto-complete for featured content settings, and uppercase __CLASS__ for consistency. Props kovshenin, see #25549. Lance Willett 2013-10-16 18:26:04 +00:00
  • aa5c907e40 Fix a issue where the translation name isn't showing up in the Background Update emails, caused by a PHP Warning/missing variable in [25806]. See #18200 Dion Hulse 2013-10-16 17:06:58 +00:00
  • 549029393f Avoid a few PHP Warnings when files don't exist and use a better method to locate the local filepath. See #18201 Dion Hulse 2013-10-16 15:19:59 +00:00
  • e192eb396e Include translations in the update bubbles (as +1 if there are any). see #18200. Andrew Nacin 2013-10-16 14:33:21 +00:00
  • d1e1139956 Avoid printing a possible HTML element. fixes #24813. Andrew Nacin 2013-10-16 04:45:08 +00:00
  • 0fe9b7468d Twenty Fourteen: first pass at implementing Featured Content settings, props obenland. See #25549. Lance Willett 2013-10-16 04:21:10 +00:00
  • 96aa66a924 Remove the no longer used Headerless_Upgrader_Skin class, it's been replaced by Language_Pack_Upgrader_Skin. See #18200, [25806] Dion Hulse 2013-10-16 04:18:12 +00:00
  • ddaaa6d88a Language Packs: Many many fixes such as: - Add a "Update Translations" stand-alone button to the updates page - Shift Language feedback to before update process completion action links & limit the verbosity of output (name + success/errors) - Simplify/combine the language update descriptive string to only include a plugin/theme name - Properly handle cache clearing after language updates to prevent langs being repeditively updated - Display a "All items up to date" string when there's nothing to do - Reduce the 'Connection Information' from a <h2> to a <h3> to remove duplicate h2's and screen icons from update screens - Fix the Direct filesystem method not being used for Language updates because WP_LANG_DIR doesn't exist (check it's parent for writable instead) See #18200, #22704 Dion Hulse 2013-10-16 04:14:29 +00:00
  • 4f7112000f Avoid numerous potential PHP warnings when dealing with the pre-r25801 get_core_checksums() return value. Andrew Nacin 2013-10-16 04:01:12 +00:00
  • b89ea9ea66 Twenty Fourteen: remove excerpts from featured posts, and display full titles instead. Props iamtakashi, closes #25581. Lance Willett 2013-10-16 03:46:29 +00:00
  • a88661e498 Twenty Fourteen: link hover improvements, props sabreuse. See #25054. Lance Willett 2013-10-15 23:36:38 +00:00
  • 2c88403c32 Twenty Fourteen: better logic for featured image HTML output, and add fallback message for focusable anchor elements, for accessibility. Fixes #25325. Lance Willett 2013-10-15 23:23:08 +00:00
  • 867f084ca0 Significantly simplify get_core_checksums(), as the caching and chunking was causing too much grief. Andrew Nacin 2013-10-15 23:02:28 +00:00
  • 14b83f44f1 Use correct variable. see #22704. Andrew Nacin 2013-10-15 22:06:08 +00:00
  • 3b724d5082 Remove accidental debug cruft in [25780]. see #22704. Andrew Nacin 2013-10-15 21:24:01 +00:00
  • 1e8729b5c1 Avoid our pre-flight writable checks if get_core_checksums() doesn't exist yet. Andrew Nacin 2013-10-15 20:34:02 +00:00
  • 0a284a4d5c Only add error data to the files_not_writable WP_Error if the install already has [25775] and [25796] applied. Andrew Nacin 2013-10-15 20:00:01 +00:00
  • 55d176020b In show_message(), only print error data if it is a string. Andrew Nacin 2013-10-15 19:50:48 +00:00
  • 0d72238343 3.7-beta2-25795 Andrew Nacin 2013-10-15 19:19:14 +00:00
  • 204ca72a66 Core Updates: Verify that all files we're about to copy are actually writable, when using the direct transport. Andrew Nacin 2013-10-15 19:17:56 +00:00
  • c72ba036cf Use FS_CHMOD_FILE rather than an explicit 0644 in copy_dir() and _copy_dir(). Andrew Nacin 2013-10-15 19:13:33 +00:00
  • 77f48b5d8b Twenty Fourteen: minor fixes to docs, props celloexpressions. See #25257 Lance Willett 2013-10-15 18:00:28 +00:00
  • bc64bbb1ef Twenty Thirteen: fix description layout on attachment outputs, props obenland. Fixes #25578. Lance Willett 2013-10-15 17:58:12 +00:00
  • 0d51ae78cc Twenty Fourteen: remove style tags from accent color output, following r25786. Fixes #25599, props celloexpressions. Lance Willett 2013-10-15 17:56:00 +00:00
  • 58ad40a695 Twenty Thirteen: use correct font name in comment docs, props tenpura. Fixes #25593. Lance Willett 2013-10-15 16:46:44 +00:00
  • 6e1c7ec0bc Twenty Fourteen: first pass at CSS revamp, props iamtakashi. See #25592. Lance Willett 2013-10-15 16:45:42 +00:00
  • fa79184a7d Fix a misspelling of the filter we're checking for, s/fs_method/filesystem_method/. My bad. See #22704, [25781]. Dion Hulse 2013-10-15 14:54:29 +00:00
  • 5e119ca3b4 Revert [25202] and enforce that wp_add_inline_style() does not want <style> tags. Andrew Nacin 2013-10-15 14:34:33 +00:00
  • 5ceab9b1e3 Test runner: Add @expectedIncorrectUsage to trap _doing_it_wrong() calls. Andrew Nacin 2013-10-15 14:30:02 +00:00
  • 772316ecc7 Hide language-specific warnings/labels on update-core.php when we are dealing with a point release partial build. Andrew Nacin 2013-10-15 05:07:55 +00:00
  • 2eebc47254 Hide auto updates from update-core.php directly in get_core_updates(). see #22704. Andrew Nacin 2013-10-15 05:06:35 +00:00
  • 85d32ce873 Automatic updates: An error code containing 'do_rollback' can be used to trigger a rollback. Andrew Nacin 2013-10-15 02:58:07 +00:00
  • 1918e828da Automatic updates: Include error data in the follow-up API request. Andrew Nacin 2013-10-14 23:32:47 +00:00
  • 3eac3d0380 Parse absolute paths out of error data. see #22704. Andrew Nacin 2013-10-14 22:24:28 +00:00
  • b492ae85f8 Remove PHP4 compat code from the ZipArchive unzip handler, and pass the failure reason into the WP_Error return. Dion Hulse 2013-10-14 21:54:33 +00:00
  • 67c80dae13 Account for the possible failure of disk_free_space() in update_core(). Andrew Nacin 2013-10-14 21:14:39 +00:00
  • d6a1b681d3 Auto updates: Only attempt a roll back when we've hit a critical error code. Andrew Nacin 2013-10-14 21:02:46 +00:00
  • b8efab15d8 Account for possible failures by disk_free_space(), as well as the potential need to copy the unzipped files. Andrew Nacin 2013-10-14 20:57:28 +00:00
  • 47e85a9b54 In the upgrader, only print additional error data if it is a string. Andrew Nacin 2013-10-14 20:19:52 +00:00
  • 5db3863d12 In unzip_file(), confirm we have enough available disk space before extracting. Andrew Nacin 2013-10-14 20:14:13 +00:00
  • ddf6da1d8c 3.7-beta2-25773 Andrew Nacin 2013-10-14 19:39:06 +00:00
  • bd26f54af2 More specific error codes in the core upgrader when copying language, plugin, and theme files. see #22704. Andrew Nacin 2013-10-14 19:37:53 +00:00
  • dde2cb32fa Fix typo in wp-admin.css. props wycks. fixes #25589. Dominik Schilling (ocean90) 2013-10-14 16:13:08 +00:00
  • 7bf44580a9 Add explicit link to the installation being updated in debugging emails. see #22704. Andrew Nacin 2013-10-12 20:17:20 +00:00
  • 476daf2aef Twenty Fourteen: first pass for updating code comments to reflect WP inline docs standards, see #25257. Lance Willett 2013-10-11 22:01:14 +00:00
  • 0c3ff8a555 Twenty Fourteen: remove two unused files, should have been deleted with r25088, see #24877. Lance Willett 2013-10-11 21:00:50 +00:00
  • 85c62ad3be Update the basic browser detection to detect IE11. Fixes #25562. Andrew Ozz 2013-10-11 17:25:11 +00:00
  • 31e9963904 Twenty Fourteen: remove unneeded sidebar file. Props iamtakashi, see #25565. Lance Willett 2013-10-11 17:24:22 +00:00
  • 481c744d42 Twenty Fourteen: remove header text customization options, fixes #25540. Props celloexpressions, obenland. Lance Willett 2013-10-11 17:13:27 +00:00
  • 9eff9eaebe Silence possible warnings from is_dir(). fixes #25572. Andrew Nacin 2013-10-11 17:10:18 +00:00
  • 2e605e76c6 Refine error codes throughout the upgrader so we can better detect at what stage updates fail. Andrew Nacin 2013-10-11 16:05:13 +00:00
  • 4f55cd150c Twenty Fourteen: merge Front Page Sidebar and Content Sidebar. Props iamtakashi, see #25565; closes #25565. Lance Willett 2013-10-11 03:16:59 +00:00
  • ee5d2021e0 Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default). Fixes #25561, fixes #25281. Andrew Ozz 2013-10-10 21:49:23 +00:00
  • a837e4b528 3.7-beta2-25760 Andrew Nacin 2013-10-10 21:33:47 +00:00
  • a281e59c91 3.7-beta2 Andrew Nacin 2013-10-10 21:01:45 +00:00
  • 1c66b8130d Twenty Fourteen: improve display for elements in the featured content area by preventing titles from breaking and letting content overflow with an ellipsis. Props obenland, fixes #25053. Lance Willett 2013-10-10 15:35:27 +00:00
  • 6a433a7284 Twenty Fourteen: improved JS support for keyboard navigation for main navigation menu. Props obenland, see #25054. Lance Willett 2013-10-10 15:32:59 +00:00
  • 822d558774 Twenty Fourteen: a11y and RTL fixes for tabbed navigation and Skip to Content link. Props obenland, see #25054. Lance Willett 2013-10-10 15:30:25 +00:00
  • 627b25bf50 Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704. Andrew Nacin 2013-10-10 14:45:55 +00:00
  • 983f56193e Twenty Fourteen: improve primary navigation styles for a clearer distinction between hover and the current page highlight, and change color to harmonize with the search toggle. Props iamtakashi, fixes #25554. Lance Willett 2013-10-10 03:36:15 +00:00
  • b36e73407e Twenty Fourteen: remove CSS transitions, props iamtakashi. Fixes #25553. Lance Willett 2013-10-10 03:30:11 +00:00
  • f0571c02b7 After a upgrade fails, and we successfully rollback to a previous version, Don't send the version we rolled back to to the API, just that it was successful. See [25750]. See #22704 Dion Hulse 2013-10-10 01:56:44 +00:00
  • 05cceca0ac Correct a variable typo in [25750]. See #22704 Dion Hulse 2013-10-10 01:37:30 +00:00
  • e03279e8b0 In the event that an Automatic Upgrade fails, send a failure status on the next API request to indicate that it failed, and if the rollback was successful. See #22704 Dion Hulse 2013-10-10 01:31:22 +00:00
  • 6c808113fe Twenty Fourteen: merge recent stylesheet changes to RTL, and file miscellaneous CSS cleanup. Lance Willett 2013-10-09 21:41:54 +00:00
  • c3a034a6c4 TinyMCE: add support for IE11. - Add the latest changes from the 3.x branch upstream. - Reduce the number of calls to tinyMCEPopup.restoreSelection() in our custom plugins. - Remove the deprecated execCommand("mceBeginUndoLevel");. See #25281. Andrew Ozz 2013-10-09 21:04:05 +00:00
  • 74f02a6751 Hook documentation for wp-admin/admin.php. Andrew Nacin 2013-10-09 21:00:41 +00:00
  • 28efc380ff Default themes: Don't use /** docblocks for simple multiline comments. Andrew Nacin 2013-10-09 20:38:26 +00:00
  • 3a46ff98f5 Only add one body class when multiple post types manage to be present for a post type archive due to pre_get_posts manipulation. Andrew Nacin 2013-10-09 19:13:28 +00:00
  • 12cb3a353e Make sure when resizing an image according to ratio we do not end up with a zero-pixel width or height. Andrew Nacin 2013-10-09 19:06:56 +00:00
  • d72a095508 Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054. Lance Willett 2013-10-09 19:06:06 +00:00
  • bf799fd276 Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054. Lance Willett 2013-10-09 18:51:46 +00:00
  • 99df61b666 Show a label for the "Home" page nav menu item checkbox. props SergeyBiryukov. props ericlewis for the initial patch. fixes #25410. Helen Hou-Sandi 2013-10-09 18:46:34 +00:00
  • 56bef8b6a6 Twenty Fourteen: minor color contrast and a11y fixes, see #25054. Lance Willett 2013-10-09 18:38:58 +00:00
  • 28736216f3 Upgrader: Create Directories with a minimum of 0755 and files with a minimum of 0644 when upgrading, which matches pre-3.7 behaviour. Fixes #20069 Dion Hulse 2013-10-09 16:46:31 +00:00
  • 04357e30c8 Twenty Fourteen: remove unnecessary no-sidebar class value in front page template. Props iamtakashi, fixes #25543. Lance Willett 2013-10-09 16:26:50 +00:00
  • c4e2af76e4 Twenty Fourteen: remove unneeded .single-attachment body class selectors, props iamtakashi. Fixes #25541, see #25506. Lance Willett 2013-10-09 16:25:33 +00:00
  • 66c2dfbae9 Twenty Fourteen: fill browser height to 100% for views with short content. Accounts for footer widgets, in which case the height isn't set to 100% so that the widgets remain visible. Props wycks and taupecat, fixes #25389. Lance Willett 2013-10-08 21:36:46 +00:00
  • 7771626637 Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325. Lance Willett 2013-10-08 21:21:19 +00:00
  • e46830eb0b Inline documentation for hooks in wp-admin/widgets.php. Drew Jaynes 2013-10-08 20:26:25 +00:00
  • 27ef389c26 Inline documentation for hooks in wp-includes/class-feed.php. Drew Jaynes 2013-10-08 20:06:29 +00:00
  • 0db187f915 Inline documentation for hooks in wp-includes/ms-load.php. Drew Jaynes 2013-10-08 20:00:17 +00:00
  • ee1a3278ea Twenty Fourteen: provide keyboard support for the primary navigation, props joedolson. See #25054. Lance Willett 2013-10-08 17:55:46 +00:00