Commit Graph

  • 885502ecab Improve wp.media documentation. Scott Taylor 2014-11-05 19:38:20 +00:00
  • 94e0d1b969 Improve wp.Uploader documentation. Scott Taylor 2014-11-05 19:36:27 +00:00
  • e25adfb7ba Twenty Fifteen: "detach" widgets from the header in mobile views. Ian Stewart 2014-11-05 18:02:44 +00:00
  • a6fe21fe62 Create new $wp_roles object in install_blog() to avoid protected _init() call Jeremy Felt 2014-11-05 05:11:36 +00:00
  • 328de7115a Split shared taxonomy terms during term update. Boone Gorges 2014-11-05 02:02:48 +00:00
  • 88167ddc1a Do not create shared taxonomy terms. Boone Gorges 2014-11-05 01:41:58 +00:00
  • 8096af102a Enforce ORDER BY and LIMIT clauses in term_exists() queries. Boone Gorges 2014-11-05 01:08:44 +00:00
  • 3f7051bf81 In wp_insert_term(), clean up accidental duplicate terms after insert. Boone Gorges 2014-11-05 00:59:51 +00:00
  • 367b8e340e Twenty Fifteen: use continue reading links for auto-generated excerpts to provide a readable link for screenreaders. Ian Stewart 2014-11-04 21:18:22 +00:00
  • 15485e1945 Twenty Fifteen: Use the new archive template tags and make archive template titling way simpler! Ian Stewart 2014-11-04 21:00:20 +00:00
  • c8d11a139f Twenty Fifteen: adding licensing info for the image used in the screenshot. Ian Stewart 2014-11-04 20:54:05 +00:00
  • f251fde34e Add some docs to wp.media.view.EditorUploader. Scott Taylor 2014-11-04 20:47:17 +00:00
  • b70707b4c1 Twenty Fifteen: Formatting cleanup for documentation, crossing eyes, dotting tees. Ian Stewart 2014-11-04 20:25:04 +00:00
  • be2a929e4e Twenty Fifteen: missing spaces for code standards. Ian Stewart 2014-11-04 20:15:05 +00:00
  • 94db67ffa7 Twenty Fifteen: accessible alt text for post thumbnail links. Ian Stewart 2014-11-04 18:56:10 +00:00
  • 47c5c58e47 Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice. Ian Stewart 2014-11-04 18:41:56 +00:00
  • 2045e94fc2 Twenty Fifteen: Crashing chrome if you don't have Noto installed probably isn't the best experience -- removing font kerning. Ian Stewart 2014-11-04 17:40:45 +00:00
  • d40e689fe1 Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files. Drew Jaynes (DrewAPicture) 2014-11-04 16:31:31 +00:00
  • 155561f631 Fix a couple of typos in the hook documentation for the $option filter in wp-admin/includes/class-wp-list-table.php. Drew Jaynes (DrewAPicture) 2014-11-04 16:04:37 +00:00
  • 9cbffbdb44 Merge a multi-line comment into a single-line comment in wp-includes/link-template.php. Drew Jaynes (DrewAPicture) 2014-11-04 15:58:44 +00:00
  • ecec9d3595 Add parameter and return descriptions to the WP_List_Table::get_pagination_arg() DocBlock. Drew Jaynes (DrewAPicture) 2014-11-04 15:54:50 +00:00
  • 73a79a8160 Cross reference get_the_archive_title() and get_the_archive_description() in the inline documentation for their corresponding template tags. Drew Jaynes (DrewAPicture) 2014-11-04 06:51:06 +00:00
  • 2599e32a67 Introduce some new template functions for archive titles and descriptions: John Blackbourn 2014-11-04 00:35:00 +00:00
  • 2203ed4ca5 Twenty Fifteen: correct image alignment for RTL. Ian Stewart 2014-11-03 23:11:11 +00:00
  • ed459a0b4e Twenty Fifteen: check if user-selected custom colors are the same as default so we're not duplicating styles. Ian Stewart 2014-11-03 21:58:56 +00:00
  • d3a237962c Twenty Fifteen: Remove a gap between content and footer when the sidebar is longer than the content. Ian Stewart 2014-11-03 21:48:40 +00:00
  • 5d87d2c5d2 Customizer: Bind input and propertychange events for range input types. Dominik Schilling (ocean90) 2014-11-03 21:48:22 +00:00
  • 0dcb810a91 Twenty Fifteen: escaping for the HTML5 shiv call. Ian Stewart 2014-11-03 21:46:02 +00:00
  • 17f38859e5 Twenty Fifteen: kern everything -- it reads better. Ian Stewart 2014-11-03 21:42:11 +00:00
  • 688d75c18f Twenty Fifteen: Use new core navigation tags. Ian Stewart 2014-11-03 21:39:37 +00:00
  • 1faa0f1622 Twenty Fifteen: Make sure that the edit link will always be right of it's icon. Ian Stewart 2014-11-03 21:35:31 +00:00
  • 507243a3e2 Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. Dominik Schilling (ocean90) 2014-11-03 21:34:44 +00:00
  • bd07bf4575 Twenty Fifteen: nicer styles for playlists. Ian Stewart 2014-11-03 19:32:10 +00:00
  • 0d1cd76c06 Twenty Fifteen: add a fallback icon for social links where we don't have an icon Ian Stewart 2014-11-03 19:01:53 +00:00
  • 0788bccc0c Twenty Fifteen: prevent a flash of visible sub menus before scripts load. Ian Stewart 2014-11-03 18:57:22 +00:00
  • 67871ba641 Improve docblocks for get_the_taxonomies() and the_taxonomies(). Boone Gorges 2014-11-03 18:48:50 +00:00
  • 9c13546518 Introduce term_template param to get_the_taxonomies(). Boone Gorges 2014-11-03 18:48:42 +00:00
  • 48c4599347 Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus Ian Stewart 2014-11-03 17:00:06 +00:00
  • 2b6df5f8ce Ignore case when checking string 'false' in wp_validate_boolean(). Boone Gorges 2014-11-03 15:54:42 +00:00
  • 1219355f2b Add unit tests for wp_validate_boolean(). Boone Gorges 2014-11-03 15:51:11 +00:00
  • f744ee189e In in_object_in_term(), only check numeric string values against term_id. Boone Gorges 2014-11-03 14:24:23 +00:00
  • fc8da37358 Add some unit tests for is_object_in_term(). Boone Gorges 2014-11-03 14:24:17 +00:00
  • 6c5e90eaa5 Correct some types in wp-admin/*-location files' doc blocks. Scott Taylor 2014-11-03 07:08:16 +00:00
  • 3942ff4616 Correct all @return unknown instances. Scott Taylor 2014-11-03 06:16:34 +00:00
  • ba85fbacba Fill in the @param types for the args for functions missing them in wp-admin/includes/deprecated.php (pour one out). Scott Taylor 2014-11-03 06:07:26 +00:00
  • e4b0a71ebd Fill in the @param types for the args for functions missing them in wp-admin/includes/misc.php. Scott Taylor 2014-11-03 06:00:25 +00:00
  • 884d27ea00 Fill in the @param types for the args for functions missing them in wp-admin/includes/plugin.php. Scott Taylor 2014-11-03 05:58:14 +00:00
  • 8ddca875b5 Fill in the @param types for the args for functions missing them in wp-admin/includes/post.php. Scott Taylor 2014-11-03 05:54:04 +00:00
  • 53df5b1a61 Fill in the @param types for the args for functions missing them in wp-admin/includes/taxonomy.php. Scott Taylor 2014-11-03 05:49:57 +00:00
  • 43d027f2af Fill in the @param types for the args for functions missing them in wp-admin/includes/template.php. Scott Taylor 2014-11-03 05:44:33 +00:00
  • aff2817015 Fill in the @param types for the args for make_site_theme_from_default(). Scott Taylor 2014-11-03 05:42:06 +00:00
  • 00d5b388c3 Fill in the @param types for the args for make_site_theme_from_oldschool(), which is actually the name of a function? Scott Taylor 2014-11-03 05:40:30 +00:00
  • fa5b45c42a Fill in the @param types for the args for dbDelta(). Scott Taylor 2014-11-03 05:39:08 +00:00
  • d3d38505ea Fill in the @param types for the args in WP_Text_Diff_Renderer_Table->interleave_changed_lines(). Scott Taylor 2014-11-03 05:38:34 +00:00
  • 2443090c23 Correct the @param type for the $query arg for remove_query_arg(). Scott Taylor 2014-11-03 05:28:47 +00:00
  • 7ea8e0cb6a Fill in types for the @params for wp_comment_reply(). Scott Taylor 2014-11-03 05:20:43 +00:00
  • 30e637cd93 Correct type in the doc block for get_theme_support(). Scott Taylor 2014-11-03 05:17:05 +00:00
  • cd8f6b881c Correct the return value doc block for get_theme_support(). Scott Taylor 2014-11-03 05:16:33 +00:00
  • c502804272 In Custom_Image_Header: Scott Taylor 2014-11-03 05:14:11 +00:00
  • 19eb835aee In Custom_Background, declare $updated as a property. Scott Taylor 2014-11-03 05:07:49 +00:00
  • 3663a276f1 In wp_audio|video_shortcode(), make sure that autoplay and loop are booleans. Passing 'false' to them will force them to be active, which is bad. Scott Taylor 2014-11-03 05:02:18 +00:00
  • 152e977a6b In WP_Tax_Query, declare $primary_table and $primary_id_column as properties. Scott Taylor 2014-11-03 03:44:54 +00:00
  • 4c74c4a298 In WP_Locale, declare $number_format as a property. Scott Taylor 2014-11-03 03:39:01 +00:00
  • bfa6702145 In WP_Comment_Query, declare $query_vars and $comments as properties. Scott Taylor 2014-11-03 03:07:42 +00:00
  • 43d5210cfa Almost every method in wp_xmlrpc_server can also return IXR_Error and should be labeled as such. Rehabilitate some return syntax. Scott Taylor 2014-11-03 03:03:30 +00:00
  • 345a63f498 WP_Image_Editor_GD and WP_Image_Editor_Imagick should specify type in a doc block for the $image property, instead of inferring bool and null. Scott Taylor 2014-11-03 02:37:55 +00:00
  • 204bab92c2 In WP_HTTP_IXR_Client: * declare $scheme as a property, it doesn't exist on the parent class * declare $error as a property of type IXR_Error, instead of it being inferred as boolean from the parent class Scott Taylor 2014-11-03 02:31:39 +00:00
  • 31df6204d0 Fix the return docs for WP_Embed->maybe_make_link(). Scott Taylor 2014-11-03 02:26:34 +00:00
  • 90aa65e0f7 Use common core syntax for checking DOING_AJAX Jeremy Felt 2014-11-02 02:23:28 +00:00
  • 47e01357aa Delete admin_created_user_subject() rather than deprecate Jeremy Felt 2014-11-02 02:06:20 +00:00
  • 6f88946089 Improve layout of test for cached invalid, then valid site details Jeremy Felt 2014-11-02 01:04:47 +00:00
  • 85aa2ef76e Split tests for wp_get_sites() Jeremy Felt 2014-11-01 23:39:22 +00:00
  • 105cd50bdf In _WP_Editors::editor_settings(), $str1 and $str2 don't need to be initialized empty. Scott Taylor 2014-11-01 23:21:07 +00:00
  • b808e1af70 Declare the $uploaded_headers and $default_headers properties for WP_Customize_Header_Image_Control. Scott Taylor 2014-11-01 23:17:48 +00:00
  • 7acb2c8eb1 Declare the $update_count and $update_current properties for WP_Upgrader. Scott Taylor 2014-11-01 23:06:38 +00:00
  • 729bd580ab Declare the $options property for WP_Upgrader_Skin. Scott Taylor 2014-11-01 23:02:52 +00:00
  • bb9f04baa8 Fix the return value doc for WP_List_Table->get_pagination_arg(). Scott Taylor 2014-11-01 22:59:48 +00:00
  • c50eaf3b0d In wp_ajax_get_tagcloud(), bail immediately if $_POST['tax'] isn't set so that all of the variable setting can happen in the same nest scope as the rest of the function - wp_die() confuses Scrutinizer. Scott Taylor 2014-11-01 22:53:35 +00:00
  • ce6a31c5fe In wp_ajax_ajax_tag_search(), bail immediately if $_GET['tax'] isn't set so that all of the variable setting can happen in the same nest scope as the rest of the function - wp_die() confuses Scrutinizer. Scott Taylor 2014-11-01 22:47:27 +00:00
  • e5ad640c52 In get_the_pagination(), don't pass $links to _navigation_markup() if it is not a string - paginate_links() can return an array. Scott Taylor 2014-11-01 22:40:17 +00:00
  • 4e68f104f6 Make the docs type for return in wpmu_create_user() more specific. Scott Taylor 2014-11-01 22:33:00 +00:00
  • b4d0961718 In customize.php, check that $autofocus is an array after running wp_unslash() instead of before. This is admittedly to skip a traversable hint in Scrutinizer. Scott Taylor 2014-11-01 22:16:19 +00:00
  • 64f773e4da In WP_Meta_Query->get_sql_for_clause(), the empty initialization of $where is dead code and can be removed. Scott Taylor 2014-11-01 22:02:48 +00:00
  • 5f09d235f0 In _wp_json_convert_string(), when $use_mb is false, perhaps pass a variable that actually exists to wp_check_invalid_utf8(). Scott Taylor 2014-11-01 21:59:58 +00:00
  • 143d248292 In gallery_shortcode(), when the link attribute is equal to file, make sure to pass $attr as the 6th (!) argument, not 5th, to wp_get_attachment_link(). Scott Taylor 2014-11-01 21:46:51 +00:00
  • 9817ecd92e Remove failing unit test after [30090]. Scott Taylor 2014-11-01 21:10:23 +00:00
  • 4315c9c5c3 Allow get_pages(), with child_of passed to it, to work with interrupted hierarchies. Scott Taylor 2014-11-01 20:43:55 +00:00
  • 59658c6547 All duplicate slugs across different post types. Scott Taylor 2014-11-01 20:36:23 +00:00
  • 03b49d8f88 Check $_current_page before using it in Walker_Page->start_el(). Scott Taylor 2014-11-01 20:28:40 +00:00
  • bdf71f89ad Display error message when Media Library upload fails. Scott Taylor 2014-11-01 20:24:13 +00:00
  • c8acddfdc8 Improve some post_status-related documentation. Scott Taylor 2014-11-01 20:19:26 +00:00
  • c171bb4aae In WP_List_Table, add a property, $modes, to allow WP_Media_List_Table to inherit ->view_switcher(). Scott Taylor 2014-11-01 19:55:26 +00:00
  • f759c23d31 In wp_xmlrpc_server methods, for comprehensibility: Scott Taylor 2014-11-01 19:44:07 +00:00
  • db68b57c14 Split tests for is_main_site() Jeremy Felt 2014-11-01 05:17:17 +00:00
  • d0fa387002 Expand and clarify tests for get_blog_post() Jeremy Felt 2014-11-01 04:47:00 +00:00
  • ab0324a729 Fix a couple of spacing and wrapping indents in the WP_Date_Query::__construct() hash notation. Drew Jaynes (DrewAPicture) 2014-11-01 04:31:00 +00:00
  • 43b3515501 Relocate hook docs so they directly precede the hook lines moved into foreach statements in [30140]. Drew Jaynes (DrewAPicture) 2014-11-01 04:17:28 +00:00
  • 262150a91e Clean up 'post-thumbnail' theme support unit tests. Boone Gorges 2014-11-01 04:00:59 +00:00
  • 2ade0b964a Twenty Fourteen: update table styles in editor CSS file for new TinyMCE class names. Lance Willett 2014-11-01 03:46:08 +00:00
  • 7f5058ac80 Twenty Fourteen: fix keyboard focus on Appearance > Header view. Lance Willett 2014-11-01 03:43:25 +00:00