Commit Graph

  • 80a511015b Press This: Check the embeds list against all of the oembed providers. Props stephdau. Fixes #32069. Andrew Ozz 2015-06-18 00:11:30 +00:00
  • 675de40f11 Press This: show error message when the user is attempting to add a category that already exists. Fixes #32339. Andrew Ozz 2015-06-17 23:12:08 +00:00
  • c98a9dd6d7 Correct a unit test name. John Blackbourn 2015-06-17 23:09:28 +00:00
  • 9031531071 Customizer: Remove an overflow: hidden declaration to prevent cutting off the left and right edge focus style of the "Add a Menu" input field. Dominik Schilling (ocean90) 2015-06-17 21:42:45 +00:00
  • 59230dd5ab Customizer: Fix keyboard events for the menu items search field. Dominik Schilling (ocean90) 2015-06-17 21:36:11 +00:00
  • 71cdd9a3e1 Customizer: Revert the blue on hover color which was introduced in [32649]. Dominik Schilling (ocean90) 2015-06-17 21:07:01 +00:00
  • cedda9aef1 Customizer: Decode HTML entities of panel/section titles. Dominik Schilling (ocean90) 2015-06-17 19:47:58 +00:00
  • 2481eec41d Customizer: Replace usage of calc() with box-sizing: border-box. Dominik Schilling (ocean90) 2015-06-17 19:34:44 +00:00
  • 3f215c6d1a Send emails when a user's email address or password is changed. Mark Jaquith 2015-06-17 19:30:37 +00:00
  • 322b6cc54f Bail out of 4.3 term splitting routine when no shared terms are found. Boone Gorges 2015-06-17 11:39:19 +00:00
  • 361e7d9717 TinyMCE: show active inline toolbar after focus Ella Iseulde Van Dorpe 2015-06-17 07:07:50 +00:00
  • f81208f55a TinyMCE: wplink: don't link a URL with a pasted URL Ella Iseulde Van Dorpe 2015-06-17 05:04:23 +00:00
  • 33e63b7bda TinyMCE: improve reposition method inline toolbars Ella Iseulde Van Dorpe 2015-06-17 04:41:59 +00:00
  • 2b857dfdc3 JSHint after [32806] Ella Iseulde Van Dorpe 2015-06-17 04:14:06 +00:00
  • f9ae6b826a Split all shared taxonomy terms on upgrade to 4.3. Boone Gorges 2015-06-17 01:52:46 +00:00
  • 4649b2345d Performance enhancements for _split_shared_term(). Boone Gorges 2015-06-17 01:47:52 +00:00
  • afd6dd79fe Comprehensive unit tests for every available capability, and for all roles. John Blackbourn 2015-06-17 00:04:08 +00:00
  • 177e0ed93e Ensure the create_users capability check checks the super admin status of the user in question, rather than the current user. John Blackbourn 2015-06-17 00:02:08 +00:00
  • 991237783d Add line-wrapping to a long return description because readability in documentation is important. Drew Jaynes 2015-06-16 23:17:16 +00:00
  • 7ef6ece222 Editor: do not reuse the preview tab when the user has navigated away. See #32588. Andrew Ozz 2015-06-16 23:12:21 +00:00
  • b31928788d Fix a typo in [32806]. Dominik Schilling (ocean90) 2015-06-16 23:08:09 +00:00
  • d0a8130970 Twenty Fifteen: Wrap navigation helpers into a function so it can be called on a refresh event of the Customize Preview. Dominik Schilling (ocean90) 2015-06-16 22:17:39 +00:00
  • c0a66eba79 Add menu management to the Customizer. Dominik Schilling (ocean90) 2015-06-16 22:07:08 +00:00
  • 0433b87fdf Media list table: Avoid PHP notices by using the proper variables. Helen Hou-Sandi 2015-06-16 21:32:53 +00:00
  • 195b61009f In get_attachment_template(), pass an array of templates to get_query_template( 'attachment', $templates ), instead of bailing on the first found template. Scott Taylor 2015-06-16 20:49:44 +00:00
  • d878213e55 In wp_nav_menu(), ensure that the $menu arg is populated when passed to filters. Scott Taylor 2015-06-16 20:33:00 +00:00
  • a6a0480eb0 Add a class method to wpLink, buildHtml(). This will allows devs to duck-punch the implementation. Scott Taylor 2015-06-16 20:19:54 +00:00
  • 862c761c08 Avoid using HTML in translation strings in edit-form-comment.php. Scott Taylor 2015-06-16 20:07:14 +00:00
  • 296c559baf if is a statment, not a function. Scott Taylor 2015-06-16 20:00:15 +00:00
  • 9cf3adb204 Avoid using <code> in a translation string. Scott Taylor 2015-06-16 19:52:39 +00:00
  • d878ce73f5 Media list table: Restore row actions. Helen Hou-Sandi 2015-06-16 19:46:27 +00:00
  • a4765f9e1b Document the default list of allowed protocols in the doc block for wp_allowed_protocols() and cross-reference in esc_url() and the kses_allowed_protocols filter. Scott Taylor 2015-06-16 19:44:39 +00:00
  • b9b36d1c57 Comments: Better markup for the edit screen. Helen Hou-Sandi 2015-06-16 18:53:16 +00:00
  • a65f178bbb TinyMCE: wptextpattern: Add blockquote and headings Ella Iseulde Van Dorpe 2015-06-16 13:51:37 +00:00
  • 8235387ee4 Clean up uploaded file after test_media_handle_upload_sets_post_excerpt(). Boone Gorges 2015-06-16 12:37:30 +00:00
  • f5a914218d Add a filter to wp_safe_redirect() for the fallback URL. Props anubisthejackle. Fixes #22612 Dion Hulse 2015-06-16 05:25:32 +00:00
  • 91512a9161 Tag/category conversion link on edit-tags.php should point to specific importer page when cat2tag plugin is active. Boone Gorges 2015-06-16 04:29:04 +00:00
  • 86672e7d8c sanitize_option() needs to handle WP_Error. DRY the conditional calls to add_settings_error(). Scott Taylor 2015-06-16 01:28:47 +00:00
  • 7abf3cb0c3 Add a note to wptexturize() docs. Scott Taylor 2015-06-16 00:56:35 +00:00
  • 1e8fb99ebd Improve the consistency of punctuation matching in wptexturize(). Scott Taylor 2015-06-16 00:49:45 +00:00
  • 40bb9aa3d9 Allow 'Cockney' filter to be translated. Scott Taylor 2015-06-16 00:45:49 +00:00
  • 7dd8a1364a In the youtube_embed_url embed handler, make embed a non-capturing group that alternately matches for v - YouTube supports both URL paths. Scott Taylor 2015-06-16 00:34:06 +00:00
  • e88721433c In get_comment_reply_link(), when generating the reply link, add the replytocom query arg to the result of get_permalink() on the current $post, instead of the current global request URI. Scott Taylor 2015-06-16 00:18:39 +00:00
  • 2860548f5b Set $_SERVER['REQUEST_METHOD'] for unit tests. Scott Taylor 2015-06-16 00:03:25 +00:00
  • 9f2ad2538e Updates: Consistently use the same variable to refer to the plugin, avoids a potential PHP Notice when an external update script adds data without that key. Props mordauk. Fixes #31784 Dion Hulse 2015-06-15 06:25:58 +00:00
  • 8455dd10da Updats: Add a filter for the options params for the update being performed. Props nofearinc. Fixes #27754 Dion Hulse 2015-06-15 05:34:52 +00:00
  • 5b607d7ff6 Updates: Allow the update row to include the active border styling post-ajax update. Props TobiasBg. Fixes #32129 Dion Hulse 2015-06-15 05:12:41 +00:00
  • 4f8b348c9b Updates: Remove redundant title tags from update outputs. Props afercia. Fixes #32530 Dion Hulse 2015-06-15 05:08:48 +00:00
  • 672f394b57 Updates: When an update fails (and it's not during the credential form) allow further updates to continue, with the assumption that the error only affects a single plugin. Props magicroundabout. Fixes #32110 for trunk. Dion Hulse 2015-06-15 04:27:37 +00:00
  • a5ed63c86f Updates: Display the failure reason in addition to 'Update Failed', allows for debugging by site owners. Fixes #32435, #32473 Dion Hulse 2015-06-15 03:47:54 +00:00
  • 5a33c20515 Updates: When a error occurs during the connection phase, pass the error message back as the ajax failure message. See #32435 Dion Hulse 2015-06-15 03:31:40 +00:00
  • 7805a509f3 Updates: Better handling when the credential form is long (such as when SSH is active). This adds scrolling to the dialogue, and hides the SSH-specific fields when not using the SSH handler. See #32435 Dion Hulse 2015-06-15 03:19:30 +00:00
  • d72005f6d0 Updates: When a connection failure occurs, and no credential form is present client side, allow it to fall through to the normal failure handlers. See #32435 Dion Hulse 2015-06-15 02:47:19 +00:00
  • 7819ac5d16 Introduce get_main_network_id() Jeremy Felt 2015-06-14 21:44:45 +00:00
  • 97e6967d63 Multisite: Use an email input for new user email address. Helen Hou-Sandi 2015-06-14 20:40:35 +00:00
  • 6d8e339608 Media: Support title fields to be removed from attachments. Andrew Nacin 2015-06-14 20:32:58 +00:00
  • 32845bd9c6 Reduce form spacing on narrower screens. Helen Hou-Sandi 2015-06-14 20:11:40 +00:00
  • 3c554c0391 Add add_user_role and remove_user_role actions for WP_User::add_role() and remove_role(). Andrew Nacin 2015-06-14 19:25:17 +00:00
  • 7988f78e44 Improve dbDelta unit tests Aaron Jorbin 2015-06-14 19:22:20 +00:00
  • cda77232fe Update comment caches in WP_Comment_Query, rather than comments template. Andrew Nacin 2015-06-14 19:20:12 +00:00
  • 8b5b201fa1 Tweak the first post/page content to get with the times. Andrew Nacin 2015-06-14 18:55:52 +00:00
  • a4fed87d43 Restore [32732] as it wasn't the actual cause of test failures as those failures where fixed separately. Aaron Jorbin 2015-06-14 18:55:16 +00:00
  • 84ee11c768 Revert [32732] since it is causing the tests to break Aaron Jorbin 2015-06-14 18:42:50 +00:00
  • caf041d76e Improve lastBuildDate timestamp in rss feeds Aaron Jorbin 2015-06-14 18:36:14 +00:00
  • c6bf4b951b Nav menus: Introduce a wp_get_nav_menu_object filter in wp_get_nav_menu_object() to filter the retrieved nav_menu term. Dominik Schilling (ocean90) 2015-06-14 17:36:21 +00:00
  • 6e54e12aed Nav menus: Reset the fallback_cb default argument in wp_nav_menu in case of a Customizer preview. Dominik Schilling (ocean90) 2015-06-14 17:13:23 +00:00
  • 0f9c75f614 Nav Menus: Update wp_setup_nav_menu_item() to stop overriding empty properties from supplied $menu_item. Dominik Schilling (ocean90) 2015-06-14 10:52:35 +00:00
  • 2cdea6f446 Remove a now unused switch_to_blog() and restore_current_blog() in site-info.php Jeremy Felt 2015-06-14 08:22:34 +00:00
  • 4b0eaacd84 Remove the "Update siteurl and home as well" checkbox when editing a site Jeremy Felt 2015-06-14 07:51:30 +00:00
  • 250aaa16e8 Capture domain and path when editing sites on a subdomain network Jeremy Felt 2015-06-14 07:08:30 +00:00
  • a0ef4e9ed6 Improve code readability in site-info.php Jeremy Felt 2015-06-14 05:00:27 +00:00
  • 857197f14d In WP_MS_Users_List_Table::display_rows(): * Move the giant switch statement into methods * Call ->single_row_columns(), which we now override - there is a small amount of logic that requires overriding, otherwise it is largely the same as the parent method Scott Taylor 2015-06-13 17:10:49 +00:00
  • dea07077fa In WP_MS_Themes_List_Table::display_rows(): * Move the giant switch statement into methods * Call ->single_row_columns(), which we now override Scott Taylor 2015-06-13 16:53:06 +00:00
  • ae8bd2bcd3 In WP_MS_Sites_List_Table::display_rows(): * Move the giant switch statement into methods * Call ->single_row_columns(), which we now override - it could inherit from WP_List_Table if we can find a way to handle the id column. When that happens, we can ditch this method. Scott Taylor 2015-06-13 16:23:01 +00:00
  • 31d50764c3 In WP_Media_List_Table::display_rows(): * Move the giant switch statement into methods * Call -single_row_columns(), which it inherits from WP_List_Table Scott Taylor 2015-06-13 15:56:13 +00:00
  • c32f856cf3 In WP_Links_List_Table::display_rows(): * Move the giant switch statement into methods * Call -single_row_columns(), which it inherits from WP_List_Table Scott Taylor 2015-06-13 15:32:57 +00:00
  • 6c6638c163 In WP_Posts_List_Table, move the <th> markup out of ->column_cb(). Scott Taylor 2015-06-13 15:13:47 +00:00
  • 0eb50f80b9 In wp_ajax_hidden_columns(), don't explode() on an empty string. In columns.hidden(), which lives in common.js, don't return items with no id. Scott Taylor 2015-06-13 14:59:40 +00:00
  • 5202111c6a Toolbar: Remove a duplicate CSS selector. Dominik Schilling (ocean90) 2015-06-13 14:53:59 +00:00
  • 9629b5413d In WP_Posts_List_Table::column_title(), use is_post_type_hierarchical() instead of $this->hierarchical_display in the logic to determine whether the_excerpt() should be called. Scott Taylor 2015-06-13 14:41:15 +00:00
  • 1e9781a945 Nav menus: Apply the wp_get_nav_menu_items filter also on an empty list of menu items. Dominik Schilling (ocean90) 2015-06-13 14:37:25 +00:00
  • 93e01e68b5 Add an abort class method to the Promise instance returned by wp.ajax.send(). Scott Taylor 2015-06-13 14:29:42 +00:00
  • 2ac1bec5ca Nav menu: Introduce a has_nav_menu filter in has_nav_menu() to filter whether a nav menu is assigned to a specified location. Dominik Schilling (ocean90) 2015-06-13 14:14:42 +00:00
  • 8502ee5f86 Nav menu: Allow the sortable items selector in wpNavMenu to be overridden. Dominik Schilling (ocean90) 2015-06-13 14:02:41 +00:00
  • 0c7358cffc Customizer: Allow sections and panels to be exported to JS. Weston Ruter 2015-06-12 22:53:39 +00:00
  • 4092c5a37e Fix regressions from [32649] wrt Customizer expanded and active state changes for sections. Weston Ruter 2015-06-12 22:27:51 +00:00
  • 52cfab850f After [32740], in WP_Posts_List_Table::single_row() - $lock_holder is checked but unused, so the call to get_userdata() is unnecessary. Scott Taylor 2015-06-12 20:47:46 +00:00
  • 7fbeffec20 After [32740], correct doc block typo. Scott Taylor 2015-06-12 20:28:22 +00:00
  • 1de436b466 Override ->single_row_columns() in WP_Posts_List_Table. Break apart the giant switch statement in ->single_row() into column_{$column_name} methods. To maintain the ->single_row_columns( $item ) interface, add a property, $current_level, to allow access to $level. Scott Taylor 2015-06-12 20:17:59 +00:00
  • 87f0a73bdc In WP_Terms_List_Table::display_rows_or_placeholder(): * get_terms() can return WP_Error, so its return value should be checked before traversing. * The 2nd call to get_terms() can be removed, it is redundant #OPTIMIZATION Scott Taylor 2015-06-12 18:54:56 +00:00
  • 8463ad6f29 In WP_Posts_List_Table::single_row(): * get_the_terms() can return WP_Error, so its return value should be checked before traversing. * Correct the @param doc blocks Scott Taylor 2015-06-12 18:49:18 +00:00
  • cae366cad0 In WP_Media_List_Table::display_rows(), get_the_terms() can return WP_Error, so its return value should be checked before traversing. Scott Taylor 2015-06-12 18:44:50 +00:00
  • ca123a2054 In WP_Comments_List_Table::column_comment(), $post and $the_comment_status are unused, as is the $comment_status global. Scott Taylor 2015-06-12 18:38:26 +00:00
  • 9bb0d08c14 Fix some malformed doc blocks in Custom_Image_Header. Scott Taylor 2015-06-12 18:34:49 +00:00
  • 6b48cb1205 Fix some malformed doc blocks in Custom_Background. Scott Taylor 2015-06-12 18:24:10 +00:00
  • 9c42e158bc $status shouldn't be loosely compared to true in wp_xmlrpc_server::wp_deleteComment(). $initial shouldn't be loosely compared to true in get_calendar(). current_user_can() shouldn't be loosely compared to false in kses_init() $get_all shouldn't be loosely compared to true in get_blog_details(). is_array() and in_array() shouldn't be loosely compared in wpmu_validate_user_signup(). $result should by strictly compared in check_ajax_referer(). wp_verify_nonce() should by strictly compared in _show_post_preview(). is_user_logged_in() should not be loosly compared against false in wp-signup.php. Scott Taylor 2015-06-12 17:47:16 +00:00
  • 6c8e2e1ab0 WP_Customize_Setting::is_current_blog_previewed() should only return false, not false or void. The one invocation of the method only loosely checks the return value. Scott Taylor 2015-06-12 17:28:46 +00:00
  • 611261c223 Add the proper access modifier to _init_caps() in WP_User. Add __call() for BC. Scott Taylor 2015-06-12 17:25:28 +00:00
  • 3f29a2101d Don't loosely compare functions that return bool against a literal bool. Scott Taylor 2015-06-12 17:18:38 +00:00
  • 40c54bc238 page_template should be annotated as @property, not @property-read in WP_Post. The property is set on an instance in wp_insert_post() Scott Taylor 2015-06-12 17:00:59 +00:00