Commit Graph

  • e3957f278e Use the correct hash notation syntax for the WP_Filesystem_Base::dirlist() DocBlock. Drew Jaynes (DrewAPicture) 2014-12-03 10:10:07 +00:00
  • a5ad473d00 Remove some now-unnecessary double quotes around HTML entities used in DocBlock comments. Drew Jaynes (DrewAPicture) 2014-12-03 08:48:34 +00:00
  • bf8544d9fa Backtick-escape three sets of HTML entities used in DocBlock descriptions in wp-includes/kses.php. Drew Jaynes (DrewAPicture) 2014-12-03 08:46:31 +00:00
  • 6213bb9689 Split tests for get_blog_id_from_url() Jeremy Felt 2014-12-03 05:51:33 +00:00
  • 9adaec183e Update the description of the Screen Options checkbox for turning editor-expand on/off to include DFW v2. Props kpdesign, fixes #30557. Andrew Ozz 2014-12-02 23:22:52 +00:00
  • f8a478af9d Update the DFW v2 pointer text. Props kpdesign, DrewAPicture, johnbillion. Fixes #30458. Andrew Ozz 2014-12-02 23:10:52 +00:00
  • abe2a7ae21 Customizer: Move private helper functions to wp.customize.utils so they can be unit tested. Dominik Schilling (ocean90) 2014-12-02 22:55:48 +00:00
  • a23c468ac8 Split and improve multisite tests for upload quota Jeremy Felt 2014-12-02 22:55:30 +00:00
  • 104b31ae54 Customizer: Add panel/section type as CSS class to the HTML container. Dominik Schilling (ocean90) 2014-12-02 22:15:33 +00:00
  • c0b15e6b6d Toolbar: Make Customize support classes work on narrow viewports too. Dominik Schilling (ocean90) 2014-12-02 22:00:48 +00:00
  • 5158511ceb Customizer: Enhance Background Image/Upload controls. Dominik Schilling (ocean90) 2014-12-02 21:54:42 +00:00
  • 36dd60705f Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568. Andrew Ozz 2014-12-02 20:39:13 +00:00
  • 9dba6cd0a7 Editor, DFW v2: use a 2D transform to force repaint of the admin toolbar, only on #wp-toolbar. Fixes calculating the position of the right sidebar on fade-in and removes any performance and stacking implications. Props joemcgill, see #30516. Andrew Ozz 2014-12-02 20:24:07 +00:00
  • f026b91515 Twenty Fifteen: removing unused styles inherited from Twenty Fourteen. Ian Stewart 2014-12-02 16:04:11 +00:00
  • def41c61ee Apply a no-op CSS transformation to the admin toolbar (among other elements) in order to trigger hardware acceleration when focus/DFW deactivates. This helps prevent rendering issues seen in browsers on Retina devices. John Blackbourn 2014-12-02 14:17:59 +00:00
  • a4db31f9a4 Prevent scrolling beneath modals on mobile devices by removing overflow from #wpwrap when a modal is open. John Blackbourn 2014-12-02 08:08:25 +00:00
  • f6a51e7ff3 Don't fix the position of the admin toolbar submenus when the viewport is below 600px. This avoids them becoming detached from the admin toolbar when scrolling. John Blackbourn 2014-12-02 06:48:24 +00:00
  • 3f2827c5be Admin help text changes for the General Settings screen, post editing screen, network settings screen, and user editing screen. John Blackbourn 2014-12-02 05:14:38 +00:00
  • 9528294613 Unit Tests: The test_set_allowed_incompatible_sql_mode() test tries to set the NO_ZERO_DATE sql mode, which was removed in MySQL 5.7. This causes the test to incorrectly fail when run against MySQL 5.7. Gary Pendergast 2014-12-02 05:11:49 +00:00
  • 18f101b4bf Using let's properly in inline comments lets us move on to more pressing matters of inline documentation. Drew Jaynes (DrewAPicture) 2014-12-02 04:42:17 +00:00
  • 5cda7d6aed Update the tests for get_metadata() to reflect the revert in r30701. John Blackbourn 2014-12-02 03:43:17 +00:00
  • 294b608879 Revert r30115 which was a breaking change for code which interacts with the return value of get_metadata() when no meta key is specified. John Blackbourn 2014-12-02 03:34:13 +00:00
  • b510780a53 Correct the width of the background vignette in the plugin info modal. John Blackbourn 2014-12-02 03:19:00 +00:00
  • 34f8e4d433 WPDB: When looking up the character set for a table or column, make sure we send the table name to MySQL in the correct case, as MySQL can be configured with case sensitive table names. Gary Pendergast 2014-12-02 02:59:36 +00:00
  • 5539cf7511 Don't over-target buttons in the publish meta box. Helen Hou-Sandi 2014-12-02 02:34:32 +00:00
  • 16ec77cd70 Prevent the deletion of a theme while it has an active child theme. John Blackbourn 2014-12-02 02:20:14 +00:00
  • 0216b01a69 Ensure the theme and plugin update checks are always in sync with the current theme and plugin versions before fetching cached update data. This change only triggers a request to the update API when necessary. John Blackbourn 2014-12-02 01:51:10 +00:00
  • 205a43ed05 Correctly capitalize JavaScript throughout core docs. Drew Jaynes (DrewAPicture) 2014-12-02 00:30:59 +00:00
  • 4eb3c5960f TinyMCE: update the wpView toolbar to look the same as the new image toolbar. Fixes #30561. Andrew Ozz 2014-12-02 00:25:15 +00:00
  • eb2f29f1c3 Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter). Fixes #30539. Andrew Ozz 2014-12-01 22:52:46 +00:00
  • 4a3bceaea9 Twenty Fifteen: correct stylesheet dependencies. Ian Stewart 2014-12-01 19:40:12 +00:00
  • 2f64100369 Improve inline documentation for four methods in WP_Widget: get_field_id(), display_callback(), update_callback(), and form_callback(). Drew Jaynes (DrewAPicture) 2014-12-01 19:34:25 +00:00
  • e8ac9b21df Twenty Fifteen: broader selection of avatars that should catch any plugins adding avatars that use the avatar class. Ian Stewart 2014-12-01 19:33:19 +00:00
  • 4598e80675 Twenty Fifteen: correct list indentation inside blockquotes. Ian Stewart 2014-12-01 19:30:56 +00:00
  • 50386cafd5 Use assertEqualSetsWithIndex() as appropriate in get_terms() tests. Boone Gorges 2014-12-01 14:24:43 +00:00
  • 897b1645bb Unit Tests: The assertEqualSets() helper was returning true for some sets that were not equal. assertEqualSets() now behaves correctly, and the new assertEqualSetsWithIndex() helper also checks that the array indexes are the same. Gary Pendergast 2014-12-01 05:01:29 +00:00
  • fe4b0c7f14 Remove the sortable functionality from the selection editing toolbar at the bottom of the media manager. John Blackbourn 2014-12-01 04:17:53 +00:00
  • d8dd2e4a77 Clarify the text for the 'Edit Selection' link when multiple media items are selected in the media manager. John Blackbourn 2014-12-01 04:14:06 +00:00
  • cedecf8033 Allow brackets in a URL when it's sanitised for a redirect. Brackets are valid in query parameters. John Blackbourn 2014-12-01 03:20:13 +00:00
  • b57c4ae165 Allow square brackets in a URL when it's sanitised for a redirect. Square brackets are valid in query parameters and IPv6 addresses. John Blackbourn 2014-12-01 03:15:24 +00:00
  • 095bfabfa9 Improve various @param docs. Scott Taylor 2014-12-01 02:16:36 +00:00
  • 4d46475b3d Improve various @param docs for src/wp-includes/*. Scott Taylor 2014-12-01 01:33:34 +00:00
  • 8a4fa5662b Improve various @param docs for src/wp-admin/*. Scott Taylor 2014-12-01 00:59:43 +00:00
  • c0045bda84 Improve various @param docs for List Tables. Scott Taylor 2014-12-01 00:32:19 +00:00
  • 7a7bb0d6b4 Improve various @param docs for src/wp-admin/includes/class-wp-filesystem-*.php. Scott Taylor 2014-12-01 00:12:05 +00:00
  • 6eebbc5750 WPDB: Before fetching results, make sure we have a valid result resource to fetch them from. Gary Pendergast 2014-12-01 00:02:55 +00:00
  • 5817aa262d Improve various @param docs for src/wp-includes/class-wp-customize*.php. Scott Taylor 2014-11-30 23:32:31 +00:00
  • 45f4403dd0 TinyMCE: update to 4.1.7, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt. Fixes #30560. Andrew Ozz 2014-11-30 23:27:23 +00:00
  • 0632a3de68 Improve various @param docs. Scott Taylor 2014-11-30 23:23:37 +00:00
  • ee388b9852 Improve various @param docs. Scott Taylor 2014-11-30 22:55:08 +00:00
  • 6bb2a4ce36 Improve the @param docs for src/includes/theme.php and src/includes/update.php. Scott Taylor 2014-11-30 22:43:27 +00:00
  • 4de850c8ff Improve the @param docs for src/wp-includes/post*.php. Scott Taylor 2014-11-30 22:37:00 +00:00
  • 3c558b7436 TinyMCE: update translatable strings, see #30560. Andrew Ozz 2014-11-30 22:26:56 +00:00
  • 43885a303e Improve the @param docs for src/includes/rewrite.php. Scott Taylor 2014-11-30 22:24:49 +00:00
  • 3008fe1060 Improve the @param docs for src/wp-admin/includes/plugin.php. Scott Taylor 2014-11-30 22:22:33 +00:00
  • 4bf6ad11fb Improve the @param docs for src/wp-includes/pluggable*. Scott Taylor 2014-11-30 22:18:33 +00:00
  • c7ce0a4d55 Improve the @param docs for src/wp-includes/user.php. Scott Taylor 2014-11-30 22:10:12 +00:00
  • 9e6096c89a Improve the @param docs for src/wp-includes/widgets.php. Scott Taylor 2014-11-30 22:04:23 +00:00
  • 35358b0e26 Improve the @param docs for src/wp-includes/wp-db.php. Scott Taylor 2014-11-30 21:54:08 +00:00
  • 2bf092065a Add missing @params to src/wp-includes/pomo files. Scott Taylor 2014-11-30 21:40:53 +00:00
  • 1da6be4868 Improve the @param docs for trackback_response() and validate_another_blog_signup(). Scott Taylor 2014-11-30 21:22:07 +00:00
  • 9c95e2bb81 Use sanitize_mime_type() instead of urlencode() when string-building <option> values in ->get_views() for media list tables. Scott Taylor 2014-11-30 20:22:23 +00:00
  • 35708f61f8 Use round() instead of floor() when resizing image dimensions. Scott Taylor 2014-11-30 19:53:18 +00:00
  • dad44082a7 The menu items for users.php and profile.php that require the promote_users cap should be wrapped in an is_multisite() conditional a la user-new.php. Scott Taylor 2014-11-30 19:17:44 +00:00
  • 653485e87f wp_upload_dir() has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, tearDown() and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests. Scott Taylor 2014-11-30 19:05:52 +00:00
  • 2f3fed5a52 Make notices added in [30459] less ugly. Dominik Schilling (ocean90) 2014-11-30 12:20:04 +00:00
  • e587324180 Docs Formatting: Backtick-escape inline code for all remaining dynamic hook docs in wp-includes/*. Drew Jaynes (DrewAPicture) 2014-11-30 12:09:56 +00:00
  • e8bc58459e Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/meta.php. Drew Jaynes (DrewAPicture) 2014-11-30 12:02:44 +00:00
  • 2546b46f62 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/taxonomy.php. Drew Jaynes (DrewAPicture) 2014-11-30 11:59:26 +00:00
  • 973af104ff Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/post.php. Drew Jaynes (DrewAPicture) 2014-11-30 11:55:58 +00:00
  • 27a0f38b9e Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/option.php. Drew Jaynes (DrewAPicture) 2014-11-30 11:52:33 +00:00
  • ebdb7cb273 Docs Formatting: Backtick-escape inline code for the login_form_ . $action dynamic hook in wp-login.php. Drew Jaynes (DrewAPicture) 2014-11-30 11:44:29 +00:00
  • cccd0c63c1 Update the Iris color picker to version 1.0.7. Dominik Schilling (ocean90) 2014-11-30 11:44:00 +00:00
  • b90807cccd Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/*. Drew Jaynes (DrewAPicture) 2014-11-30 11:42:00 +00:00
  • f45fd382b3 Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/includes/*. Drew Jaynes (DrewAPicture) 2014-11-30 11:27:19 +00:00
  • 57ff8aff0a Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-admin/network/*. Drew Jaynes (DrewAPicture) 2014-11-30 11:20:32 +00:00
  • 1f66186c4a Improve inline documentation for image_constrain_size_for_editor(). Drew Jaynes (DrewAPicture) 2014-11-30 10:05:26 +00:00
  • 688b291312 Specify a type (array) for the $post_data parameter in the DocBlock for wp_autosave(). Drew Jaynes (DrewAPicture) 2014-11-30 10:00:56 +00:00
  • 33418eeed5 Improve the inline documentation for image_edit_apply_changes(). Drew Jaynes (DrewAPicture) 2014-11-30 09:58:54 +00:00
  • c52dc42879 Add an entry to the changelog for the wp_editor_expand hook denoting that the $post_type parameter was added in 4.1.0. Drew Jaynes (DrewAPicture) 2014-11-30 09:50:46 +00:00
  • 7d95a91c5b When creating audio and video MCE views, listen to the players within each iframe to capture the "play" event. When a player plays, pause the players in every other iframe sandbox. Scott Taylor 2014-11-30 08:44:21 +00:00
  • 8dabfb3b85 Editor: no pointer for DFW v2 when editor-scrolling is not used. Pass $post_type in the wp_editor_expand filter. See #30458. Andrew Ozz 2014-11-30 06:36:59 +00:00
  • a411918199 Adjust the RegEx in wp_check_filetype() to be aware that query strings are thing that exist sometimes in URLs. Scott Taylor 2014-11-30 06:32:16 +00:00
  • b59b9f466a Fix edge-case in media cropping where selection and destination are the same size. Scott Taylor 2014-11-30 06:26:26 +00:00
  • ac2c986831 When deleting media grid attachments, wait until the server responds before removing the model from its collection. Scott Taylor 2014-11-30 06:18:07 +00:00
  • 8813419225 IETF language changes in MediaElement: https://github.com/johndyer/mediaelement/pull/1270/ Scott Taylor 2014-11-30 06:11:19 +00:00
  • cb648b68e1 Ensure uniqueness when returning page lists in get_page_children(). Fixes failing unit tests. Scott Taylor 2014-11-30 06:04:31 +00:00
  • 2afe26faa5 Remove an invalid parameter from the DocBlock for the gallery_style hook. Drew Jaynes (DrewAPicture) 2014-11-30 05:57:43 +00:00
  • 6d7bbcbc04 Upgrade to MediaElement 2.16.2 https://github.com/johndyer/mediaelement/compare/2.15.1...2.16.2 Scott Taylor 2014-11-30 05:57:25 +00:00
  • 7c421791c2 Remove return descriptions from the DocBlocks for add_image_size() and set_post_thumbnail_size() as they don't return anything. Drew Jaynes (DrewAPicture) 2014-11-30 05:48:03 +00:00
  • f864c2f871 Document the $user_id parameter added to the 'admin_color_scheme_picker' hook in 3.8.1. Drew Jaynes (DrewAPicture) 2014-11-30 05:41:31 +00:00
  • ea89b1c942 WPDB Unit Tests: Fix a fatal error that occurs in the test_strip_invalid_text() test if the mbstring extension isn't activated in PHP. Gary Pendergast 2014-11-30 05:35:00 +00:00
  • 9d74e43a4b Add missing DocBlocks for several functions in wp-admin/includes/ms.php. Drew Jaynes (DrewAPicture) 2014-11-30 05:05:36 +00:00
  • 76a9abd7a7 Check attachments as well as the current post type when checking for duplicate post slugs. This avoids creating a page with a slug which conflicts with an existing attachment (the inverse is already handled). John Blackbourn 2014-11-30 04:48:54 +00:00
  • c1d0555b32 Add missing return descriptions for a variety of functions in wp-includes/link-template.php. Drew Jaynes (DrewAPicture) 2014-11-30 04:43:44 +00:00
  • 4c44e257b5 Use the correct type (integer) for the $menu_id parameter in the wp_get_nav_menu_to_edit() DocBlock. Drew Jaynes (DrewAPicture) 2014-11-30 04:24:25 +00:00
  • 11ef3c3ee6 In get_default_post_to_edit(), let 'post_name' be passed to filter. Boone Gorges 2014-11-29 19:25:36 +00:00
  • a989ce280b Editor: fix fading out on Escape in DFW v2. props adamsilverstein, fixes #30528. Andrew Ozz 2014-11-29 02:44:37 +00:00
  • 57f295484d 4.1 Docs Audit: Improve inline documentation for various wpdb methods. Drew Jaynes (DrewAPicture) 2014-11-28 12:33:16 +00:00
  • a1af1437c3 4.1 Docs Audit: Fix formatting for changelog entries in count_user_posts() and the get_usernumposts hook. Drew Jaynes (DrewAPicture) 2014-11-28 12:28:23 +00:00