Commit Graph

  • 250c8a0224 Bundled Themes: Update Tested up to. Dominik Schilling (ocean90) 2015-09-12 12:46:26 +00:00
  • faf87c2ca6 After [34076], fix the logic for post_status in months dropdown. Scott Taylor 2015-09-12 08:18:18 +00:00
  • 927ad00bab List Tables: don't render "extra tablenav" if there are no posts. This includes Bulk Actions, Dates Dropdown, Category Dropdowns, Pagination. Scott Taylor 2015-09-12 08:12:43 +00:00
  • b76864660c Comments: get_comments_link() should return a link with #respond as the hash instead of #comments if get_comments_number() returns 0. Scott Taylor 2015-09-12 07:35:05 +00:00
  • 9831fa216c AJAX Reply to Comment: check the edit_comment cap when parent comment will be auto-approved. Scott Taylor 2015-09-12 07:18:36 +00:00
  • b7c8dbf4a2 Better default values in WP_Query::get_queried_object(). Boone Gorges 2015-09-12 03:36:12 +00:00
  • 3cbec930bb Edit Comment screen: remove the "View Comment" button (actually a link) from the publish meta box. Mimic the "Edit URL/Permalink" UI from the Edit Post screen to show the comment link below the screen title, but make it an actual link, not a button. Scott Taylor 2015-09-12 03:19:21 +00:00
  • dd55363884 Comments: comment_link() currently takes no arguments, yet get_comment_link() does. Allow comment_link() to optionally take the same arguments. Scott Taylor 2015-09-12 03:15:14 +00:00
  • 6a262bd6ce Quick Edit: fix an ID attribute name collision by renaming one of the author fields author-name. Scott Taylor 2015-09-12 02:34:52 +00:00
  • 0f2078bc9e When clicking "Show More Comments" in the Comments meta box on the Edit Post screen, change the click behavior to call a new class method on commentsBox, ->load(), that resets st (cool name) to the number of visible <tr>s before calling ->get(). This will account for spam'd and trash'd comments when returning comments at the proper offset. Scott Taylor 2015-09-12 02:27:50 +00:00
  • f855ddb134 Settings, password field: fix placement of the error icon and removal of the error class. Andrew Ozz 2015-09-12 00:09:09 +00:00
  • 1a333bd537 Bump H3 headings to H2 on the Plugin Editor screen for better accessibility. Andrea Fercia 2015-09-12 00:07:23 +00:00
  • 41c74b9bf6 Bump H3 headings to H2 on the Theme Editor screen for better accessibility. Andrea Fercia 2015-09-11 23:59:30 +00:00
  • c492832e6a Nav Menus: fix the quick search spinner position on Operating Systems that show scrollbars. Andrea Fercia 2015-09-11 23:51:53 +00:00
  • bc8e3599e6 Quick Edit: fix the Tags auto-suggest tooltip visibility. Andrea Fercia 2015-09-11 23:33:43 +00:00
  • e5324c4c91 Settings: properly set the password field label on loading. Andrew Ozz 2015-09-11 23:04:53 +00:00
  • 504d75e4c1 Settings: reassign the label when switching password fields so it always highlights the visible field. Andrew Ozz 2015-09-11 22:51:17 +00:00
  • 28c4ddae7c Passwords: Refresh password fields when content is pasted into fields. Dominik Schilling (ocean90) 2015-09-11 21:51:31 +00:00
  • 33953cb392 Introduce wp_validate_action( $action = '' ), a helper function that checks $_REQUEST for action and returns it, or empty string if not present. If $action is passed, it checks to make sure they match before returning it, or an empty string. Strings are always returned to avoid returning multiple types. Scott Taylor 2015-09-11 21:07:45 +00:00
  • 9805723e3d Site Icon: For preview fall back to full size URL when thumbnail size doesn't exist. Dominik Schilling (ocean90) 2015-09-11 20:12:50 +00:00
  • f30a1c86b1 About: Remove period from placeholder. Dominik Schilling (ocean90) 2015-09-11 19:26:02 +00:00
  • 1fc0462bac Users: Import the global var $wp_hasher in wp_new_user_notification(). Dominik Schilling (ocean90) 2015-09-11 19:09:12 +00:00
  • a870132949 Docs: Fix DocBlock formatting for wp_insert_term(). Dominik Schilling (ocean90) 2015-09-11 18:47:03 +00:00
  • d595fa4223 Upgrade MediaElement to 2.18.1 - monkey-patches to allow H264 in Chromium. Scott Taylor 2015-09-11 18:34:40 +00:00
  • 882eef809e After [34048], restore the else statement for h (height of video) in wp_underscore_video_template(). Scott Taylor 2015-09-11 18:29:26 +00:00
  • 9a80acf25d In [30082], hardcoded heights were removed on the front end for videos rendered via shortcode. These values were not removed from the admin, which was an oversight. Scott Taylor 2015-09-11 18:26:53 +00:00
  • 523550c223 Revert [34009], broke uploads. Scott Taylor 2015-09-11 18:03:22 +00:00
  • 5b89e70f16 Use _x() instead of string hacks for weekday and month abbreviations. Sergey Biryukov 2015-09-11 15:35:26 +00:00
  • 38b4099237 Update the length limit in set_transient() docs after [34030]. Sergey Biryukov 2015-09-11 15:09:13 +00:00
  • f4f1ed43e7 Document @return value for wp_unschedule_event(). Sergey Biryukov 2015-09-11 11:34:52 +00:00
  • a01c10a3b9 Better align table headers with table cells on success screen after installing. Sergey Biryukov 2015-09-11 11:25:30 +00:00
  • 5cce4a3262 After [33961], pass $comment to get_comment_link() where possible to avoid extra cache/db lookups. Scott Taylor 2015-09-11 06:20:56 +00:00
  • 4a6a7edf55 After [33961], pass $comment to get_comment_date() where possible to avoid extra cache/db lookups. Scott Taylor 2015-09-11 06:14:04 +00:00
  • 9ab431873c After [33961], pass $comment to comment_class() where possible to avoid extra cache/db lookups. Scott Taylor 2015-09-11 06:11:35 +00:00
  • db702bc3ea After [33961], pass $comment to get_comment_author_link() where possible to avoid extra cache/db lookups. Scott Taylor 2015-09-11 06:04:22 +00:00
  • 4cd30ede79 After [34015], handle orphaned comments in the Dashboard comments widget. Pass full $comment versus just passing the comment ID when possible. Scott Taylor 2015-09-11 05:55:27 +00:00
  • 3f557063be Create a new file, wp-admin/includes/noop.php, which loads all of the noop functions for load-script|styles.php and is only loaded by those files. DRYs in the process. Scott Taylor 2015-09-11 05:03:55 +00:00
  • da65ac0471 Move ad hoc functions from wp-admin/credits.php to wp-admin/includes/credits.php, which is only included by the former. Scott Taylor 2015-09-11 04:54:20 +00:00
  • 0546d4ea57 Add unit tests for get_term(). Boone Gorges 2015-09-11 03:10:47 +00:00
  • 5b9d9c7c07 Require numeric IDs in user deletion functions. Boone Gorges 2015-09-11 02:24:03 +00:00
  • 40a0d1f3cb Move wp_delete_user() tests to their own file. Boone Gorges 2015-09-11 01:50:40 +00:00
  • 32b8ff1b14 Schema: Increase the length of wp_options.option_name. Gary Pendergast 2015-09-11 01:25:21 +00:00
  • 4796e96ebe Flush rewrite rules upon theme switch Aaron Jorbin 2015-09-10 23:49:14 +00:00
  • bdd42a0902 Set the secure flag on the wp-saving-post cookie when using HTTPS. John Blackbourn 2015-09-10 22:41:08 +00:00
  • b1a91e4a28 Move network_settings_add_js() from wp-admin/network/settings.php to wp-admin/includes/ms.php. Scott Taylor 2015-09-10 22:23:47 +00:00
  • 2fe412793e Move confirm_delete_users() from wp-admin/network/users.php to wp-admin/includes/ms.php. Scott Taylor 2015-09-10 22:22:44 +00:00
  • ea07ff2e63 Create wp-admin/includes/network.php via svn cp and only load it in wp-admin/network.php. Move the functions there. Scott Taylor 2015-09-10 22:00:58 +00:00
  • ab4fcd20d0 Move ad hoc Options functions to wp-admin/includes/options.php: Scott Taylor 2015-09-10 21:44:29 +00:00
  • 96a40d6102 Move 2 ad hoc user admin functions: Scott Taylor 2015-09-10 21:32:46 +00:00
  • d7670b6a38 Move redirect_post() from wp-admin/post.php to wp-admin/includes/post.php. Scott Taylor 2015-09-10 21:30:24 +00:00
  • 037cdcb412 Move comment_footer_die() from wp-admin/comment.php to wp-admin/includes/comment.php. Scott Taylor 2015-09-10 21:28:18 +00:00
  • 706cdbc671 Move plugin_sandbox_scrape() from wp-admin/plugins.php to wp-admin/includes/plugin.php. Scott Taylor 2015-09-10 21:23:17 +00:00
  • 8af9ff0e56 Move wp_widgets_access_body_class() (a hook callback) from wp-admin/widgets.php to wp-admin/includes/widgets.php. Scott Taylor 2015-09-10 21:21:27 +00:00
  • a55b56c3d2 After [34004], don't break apart the paragraph into multiple translatable strings. Scott Taylor 2015-09-10 20:59:35 +00:00
  • 7bf64e0125 Comments/PHP Notices: check that a parent comment exists before displaying an orphan's link to it in the admin. Scott Taylor 2015-09-10 20:50:12 +00:00
  • 7b59221ea1 _wpThemeSettings.l10n.searchPlaceholder is an input placeholder and doesn't handle UTF-8 or HTML entities properly. In lieu of using literal Unicode here, use .... Scott Taylor 2015-09-10 20:35:03 +00:00
  • 8ed569b1ea After [33970], swap UTF-8 characters for their \u2026 escape sequence. Scott Taylor 2015-09-10 20:29:18 +00:00
  • 9b193ad5a4 Multisite: Display content attribution drop down when deleting a user Jeremy Felt 2015-09-10 20:25:07 +00:00
  • d937112e9f Grunt RTL CSS: swap-dashicons-left-right-arrows in rtlcss:properties expects double-quoted content strings in CSS. It doesn't swap single-quoted values. Scott Taylor 2015-09-10 20:21:57 +00:00
  • 3b180cf785 Clarify wp-includes/cache.php docs with some more precise language. Scott Taylor 2015-09-10 18:23:45 +00:00
  • 6a37ad1464 WP Plupload: on FileUploaded, allow success and error callbacks to receive server responses after a successful upload. Scott Taylor 2015-09-10 18:18:41 +00:00
  • 47287f8d51 After [33961], ensure that comment filters that expect a comment ID are receiving one. Scott Taylor 2015-09-10 18:09:15 +00:00
  • be9cd867df In wp_generate_attachment_metadata(), also pass $metadata to the intermediate_image_sizes_advanced filter. Scott Taylor 2015-09-10 18:03:20 +00:00
  • 09df5b81a1 Add a "View" row action for approved comments on the Dashboard screen, remove the link labeled #. Scott Taylor 2015-09-10 17:48:34 +00:00
  • 532baa4c5f In WP_Posts_List_Table::column_date(), the order of status and time should be switched. It doesn't make sense for phrases like "Last Modified" to occur AFTER the date. Should be before. Scott Taylor 2015-09-10 17:42:55 +00:00
  • f5ce2ba96d Cleanup the text for Publish Settings > Publish in the edit-form-advanced help tab. Clarify that Private posts aren't hidden from editors and administrators. Scott Taylor 2015-09-10 17:35:17 +00:00
  • 0a7636cfa3 In wp_media_upload_handler(), replace a lingering instance of media_upload_gallery() with wp_iframe(...) Scott Taylor 2015-09-10 17:23:23 +00:00
  • 7178b67671 media-new.php, when using the browser uploader, if the result of uploading is a WP_Error - wp_die() with the error, instead of redirecting with a generic error. Scott Taylor 2015-09-10 17:17:22 +00:00
  • ad163d3547 In get_page_uri(), do not add parent slugs to orphaned pages. Scott Taylor 2015-09-10 16:53:52 +00:00
  • 2deb9565c0 When deleting via User List Table, don't prompt for re-attribution if the user(s) do(es) not have any posts. Scott Taylor 2015-09-10 16:46:38 +00:00
  • 9473a479d9 Multisite: Correct ms_not_installed() @since version for new parameters Jeremy Felt 2015-09-10 16:20:29 +00:00
  • 5d8eb77621 Merge two similar strings. Sergey Biryukov 2015-09-10 10:58:58 +00:00
  • 837b6c3e3e Multisite: Add action to handle network not found Jeremy Felt 2015-09-10 05:05:14 +00:00
  • d0706ac9ca Multisite: Remove $domain and $path globals in ms_not_installed() Jeremy Felt 2015-09-10 03:52:21 +00:00
  • ef1f697564 Multisite: Allow users with manage_network_users to edit network users. Jeremy Felt 2015-09-10 03:33:22 +00:00
  • c89822ebe0 Multisite: Test edit_user capabilities for multisite administrators Jeremy Felt 2015-09-10 03:20:11 +00:00
  • a025ce4f12 After the global churn in [33964], also set $post to null at the end of WP_Comments_List_Table::single_row() to ensure that an orphaned comment doesn't inherit the previous row's $post context. Scott Taylor 2015-09-10 03:11:09 +00:00
  • 6bc498c0e6 Implement a priority system for Help Tabs to add them at specific positions. Scott Taylor 2015-09-10 01:26:26 +00:00
  • 89f4c471fa Add @access docs to class-wp-filesystem-* files. Scott Taylor 2015-09-10 01:20:58 +00:00
  • c5220e43f5 Plugins page: re-word "No out of date plugins were selected." to "All selected plugins are up to date." since it's not really an error condition. Scott Taylor 2015-09-10 01:10:25 +00:00
  • c83106d13f After [33821], when dynamically updating the document title text of the Comments List Table page, operate only on the fragment that contains the comment count. This prevents us from including other numbers that may be present in the other title parts (site title, etc). Scott Taylor 2015-09-10 01:02:05 +00:00
  • cc18f258cb TinyMCE: update to 4.2.5, changelog: http://www.tinymce.com/develop/changelog/?ctrl=version&act=index&pr_id=1. Andrew Ozz 2015-09-09 19:44:09 +00:00
  • 81ec5c8e91 Docs: Add a changelog entry to the DocBlock for touch_time() to mention the shift from accessing the global $comment to using get_comment(). Drew Jaynes 2015-09-09 15:47:43 +00:00
  • d651587a0d Docs: Use the $widget_links_args parameter in the hook doc for the widget_links_args filter, introduced when the args array was split out to a variable in [33971]. Drew Jaynes 2015-09-09 15:44:46 +00:00
  • ab9bbfa9ce WP_Widget_Links: pass widget instance to widget_links_args filter Scott Taylor 2015-09-09 04:41:21 +00:00
  • d6e73d47e4 Round 2 of: We should use ellipses &hellip; / … instead of three dots/periods ... e.g Loading… not Loading... Scott Taylor 2015-09-09 04:38:31 +00:00
  • 9eefbd1999 Deprecate wp_get_http() - function isn't used anywhere (apart from itself). Scott Taylor 2015-09-09 04:25:24 +00:00
  • 4016b77b1a Add a parameter, $post, to get_{$adjacent}_post_join, get_{$adjacent}_post_where, and get_{$adjacent}_post_sort Scott Taylor 2015-09-09 03:49:00 +00:00
  • 05e249d5ac Ensure that role is not empty before adding it in add_role() function and methods. Scott Taylor 2015-09-09 03:41:27 +00:00
  • 047f3ef01a Revisions screen: change language from "Return to post editor" to "Return to editor" - more generic for usage by custom post types. Scott Taylor 2015-09-09 03:22:36 +00:00
  • 42e8258275 Use get_comment() instead of a global in touch_time(). Scott Taylor 2015-09-09 03:04:38 +00:00
  • df637648e2 In WP_Comments_List_Table, favor passing WP_Comment instances instead of $comment_ID to template functions. This allows us to bypass unnecessary cache lookups and simply pass the object through when it is set. Scott Taylor 2015-09-09 02:59:54 +00:00
  • 38d374ab01 After [33891], get_comment() returns global $comment if no args are passed and the global is set (after setting the default to null here). This allows us to ditch global comment imports. Scott Taylor 2015-09-09 02:50:43 +00:00
  • 8088ffafd6 Walker_Comment should be in its own file. Loaded now via wp-includes/comment.php, which makes it 100% BC. Scott Taylor 2015-09-09 02:40:53 +00:00
  • 95247e5bd8 After [33891], a lot of comment functions can take WP_Comment instead of only accepting comment_ID. Update the @param docs to reflect this. Scott Taylor 2015-09-09 02:33:19 +00:00
  • 16312b141b Speed up browserify builds, don't uglify the media builds on watch. Scott Taylor 2015-09-09 02:11:23 +00:00
  • 220ba402e5 Pre-req for Media builds: make sure the watcher actually works for browserify. Scott Taylor 2015-09-09 02:02:14 +00:00
  • 5936394bb6 In WP_User, add @property docs for description, first_name, and last_name. user_firstname and user_lastname only exist for back-compat. Scott Taylor 2015-09-09 01:12:41 +00:00
  • 297df83c5d WP_Theme has an ad hoc property in WP_MS_Themes_List_Table, $update. This can be set to a default value on the class, as it's not obtained via __get(). Scott Taylor 2015-09-09 01:01:12 +00:00
  • ae16cec9fb In wpdb::get_col_length(), the final return false is unreachable since the default switch case returns. Scott Taylor 2015-09-09 00:47:31 +00:00