Commit Graph

  • af66f0b03e Widgets: Check for existence of wp.customize.state before attempting to access in Text widget. Weston Ruter 2017-07-18 22:35:47 +00:00
  • c941da4468 Widgets: Replace adding balanceTags on widget_custom_html_content filter in favor of just applying widget_text filters in the Custom HTML widget. Weston Ruter 2017-07-18 22:10:41 +00:00
  • 9ddb744f33 Build: Switch PHP 5.2 and 5.3 to Travis' Ubuntu precise image James Nylen 2017-07-18 08:24:35 +00:00
  • 0822890218 Widgets: Discount shortcodes and leading/trailing line breaks for triggering Text widget legacy mode. Weston Ruter 2017-07-18 04:16:16 +00:00
  • 83af67a0e1 Multisite: Remove help text duplication on Edit Site screens in the network admin. Felix Arntz 2017-07-17 20:52:26 +00:00
  • ca95a827b8 Multisite: Fix a user-facing message when adding a new site with a new user as admin. Felix Arntz 2017-07-17 20:22:08 +00:00
  • 03b9931b7a Multisite: Improve caching in WP_Network_Query by ignoring the $fields argument. Felix Arntz 2017-07-17 20:15:27 +00:00
  • eb78c8e092 Update autoprefixer browser support matrix Aaron Jorbin 2017-07-16 01:14:36 +00:00
  • d2e18ea761 Move sanitizeText and stripTags from press this to wp.sanitize. Adam Silverstein 2017-07-15 15:47:16 +00:00
  • 55bb567e0f Multisite: Introduce a self_admin_url filter to adjust the URL to an administration panel. Felix Arntz 2017-07-14 23:00:55 +00:00
  • c8e811cc7e Multisite: Improve caching in WP_Site_Query by ignoring the $fields argument. Felix Arntz 2017-07-14 21:24:03 +00:00
  • d18c6696c2 Multisite: Use get_network_option() for language in wpmu_create_blog(). Felix Arntz 2017-07-14 21:07:17 +00:00
  • e85f291a79 Widgets: Add legacy mode for Text widget and add usage pointers to default visual mode. Weston Ruter 2017-07-14 17:08:20 +00:00
  • b60a603d50 REST API: Ensure maxwidth and maxheight params are forwarded to oEmbed provider in proxy requests. Weston Ruter 2017-07-14 16:04:04 +00:00
  • dac056e135 Emoji: Store the results of the emoji_url and emoji_ext filters in statics. Gary Pendergast 2017-07-14 12:44:49 +00:00
  • 4bad064c24 Emoji: Fix some failing unit tests in PHP 5.2 and 5.3. Gary Pendergast 2017-07-14 11:49:34 +00:00
  • f780ce0a49 Emoji: Port the Twemoji regex to PHP. Gary Pendergast 2017-07-14 05:46:19 +00:00
  • 666b9d7ccd Docs: Improve the DocBlock summary for WP_Query::parse_orderby(). Drew Jaynes 2017-07-13 15:43:12 +00:00
  • f72de4fff3 Docs: Document usage of the $wpdb global in WP_Query::parse_search() and WP_Query::parse_orderby(). Drew Jaynes 2017-07-13 15:41:15 +00:00
  • d3f21c09f8 Docs: Add a @global entry for $tinymce_version in _WP_Editors::editor_js(). Sergey Biryukov 2017-07-13 14:32:57 +00:00
  • 517e11f834 Docs: Add a @global entry for $wpdb in is_user_member_of_blog(). Sergey Biryukov 2017-07-13 13:53:28 +00:00
  • 834c29fbc6 Taxonomy: Avoid duplicates when querying for terms in taxonomies registered with $args parameter. Boone Gorges 2017-07-13 13:40:39 +00:00
  • 5b384419f6 Docs: Add missing @since tags for WP_Post properties and methods. Sergey Biryukov 2017-07-13 12:07:56 +00:00
  • f57be206f7 REST API: Remove _wpnonce value from being used in hashed oEmbed proxy cache key. Weston Ruter 2017-07-12 22:50:57 +00:00
  • f628aaacda Docs: Use a hash notation for the $args parameter to describe the fields argument in the DocBlock for wp_get_post_terms(). Drew Jaynes 2017-07-12 22:20:16 +00:00
  • 994ef530d1 Docs: Default for the orderby argument in wp_list_categories() is actually 'name', not 'ID'. Drew Jaynes 2017-07-12 22:05:54 +00:00
  • 7e8d932935 Docs: Add a @global entry for $allowed_files in get_file_description(). Sergey Biryukov 2017-07-12 21:39:37 +00:00
  • cf4b8bc85f Docs: Fix typo in wp_suspend_cache_invalidation() description. Sergey Biryukov 2017-07-12 21:25:20 +00:00
  • 90aca8c4d7 Docs: Add a @global entry for $wpdb in display_setup_form(). Sergey Biryukov 2017-07-12 21:02:35 +00:00
  • 4741b13009 Tests: Rename this file to match our coding standards. Peter Westwood 2017-07-12 20:55:36 +00:00
  • 6daeb23005 Widgets: Enqueue assets needed by media and text widgets in their _register_one() methods. Weston Ruter 2017-07-11 22:46:45 +00:00
  • 1c017250b7 Users: Add a "View" link to users listed on the Users screen that points to the user's author archive. Sergey Biryukov 2017-07-11 13:29:51 +00:00
  • e4bfc8ca90 Shortcodes: Allow using single quotes for empty value attributes. Sergey Biryukov 2017-07-11 00:53:33 +00:00
  • 4c5bb9758a Comments: In WP_Comments_List_Table::extra_tablenav(), save the state of ::has_items() to a static variable, so that the value is consistent between top and bottom navigation. Sergey Biryukov 2017-07-10 23:04:26 +00:00
  • 2d5a59194d Media: library grid view - improve browser history support. Adam Silverstein 2017-07-10 19:07:27 +00:00
  • 34c3d7d044 Customize: Restrict click target of menu deletion, moving to button from its container. Weston Ruter 2017-07-10 18:39:56 +00:00
  • caf4c06f2a Administration: in WP_List_Table->pagination(), properly concatenate CSS classes for the pagination links when infinite_scroll is set to true. Andrea Fercia 2017-07-09 11:11:03 +00:00
  • 33755709e4 Date/Time: Add unit tests for the human_time_diff function. Adam Silverstein 2017-07-07 17:07:40 +00:00
  • bb6e34a7fd Media: Use a filename instead of a URL in image header tests to avoid triggering an outbound HTTP request causing an ImageMagick exception on some configurations. Sergey Biryukov 2017-07-07 00:06:36 +00:00
  • 50735b09f1 Media: Correct the order of arguments passed to assertions in Tests_Image_Header. Sergey Biryukov 2017-07-06 23:57:31 +00:00
  • 93e7cf5e6f Docs: Update the DocBlock for _WP_Editors::wp_fullscreen_html() after [32677]. Sergey Biryukov 2017-07-06 23:43:58 +00:00
  • 342e4fdf2e Docs: Update the list of static variables in wptexturize() DocBlock after [32863]. Sergey Biryukov 2017-07-06 21:01:44 +00:00
  • 895cede84a Options: Pass $default as a new parameter to the pre_option_{$option} and pre_site_option_{$option} filters. Drew Jaynes 2017-07-06 15:11:32 +00:00
  • f67018c059 Customize: Prevent edge case fatal error when attempting to save changes to a changeset that had previously been corrupted. Weston Ruter 2017-07-06 07:04:11 +00:00
  • 8b5c4ae745 REST API: Fix brittle search test. Ryan McCue 2017-07-06 01:34:40 +00:00
  • 3eb767b5c3 Sanity check $uploaderToggler in wp.media.view.UploaderInline. Joe McGill 2017-07-06 00:40:59 +00:00
  • a828890ce2 Menus: Make sure current-menu-parent and current-menu-ancestor classes are properly set for parent items of post type archive submenu items. Sergey Biryukov 2017-07-05 21:30:30 +00:00
  • 4c099bfae9 Docs: Add a @global entry for $tinymce_version in _WP_Editors::default_settings(). Sergey Biryukov 2017-07-05 18:54:56 +00:00
  • 0b3663b0a2 Ensure that wp-api.js test fixtures do not change with WP_TESTS_* constants. James Nylen 2017-07-05 09:29:58 +00:00
  • f8efad31f9 Docs: Add a @global entry for $wpdb in WP_Network_Query::get_network_ids(). Sergey Biryukov 2017-07-05 09:22:14 +00:00
  • f0955e58e4 Docs: Add a @global entry for $wp_post_statuses in WP_Customize_Nav_Menus::make_auto_draft_status_previewable(). Sergey Biryukov 2017-07-05 09:20:23 +00:00
  • b24850d038 Docs: Add a @global entry for $wp in redirect_canonical(). Sergey Biryukov 2017-07-05 09:18:17 +00:00
  • d93f4ff3cb Docs: Add a @global entry for $wp_widget_factory in WP_Customize_Widgets::get_selective_refreshable_widgets(). Sergey Biryukov 2017-07-05 08:22:54 +00:00
  • 8e84510ebb Customize: Fix logic to re-expand a newly inserted nav menu section after placeholder section is replaced. Weston Ruter 2017-07-05 00:43:11 +00:00
  • ebb7793cc6 Widgets: Let Custom HTML widget be "wide" as the Text widget is. Weston Ruter 2017-07-04 21:00:05 +00:00
  • c806540943 Avoid PHP notices when checking termmeta capabilities against a non-existent term. Boone Gorges 2017-07-04 19:58:35 +00:00
  • 7bc5812ab3 Docs: Add a missing return notation and to the DocBlock for WP_Session_Tokens::get_instance(). Drew Jaynes 2017-07-04 17:15:47 +00:00
  • 944c7c694c General: Always use colon instead of a semicolon in switch() control structures. Sergey Biryukov 2017-07-04 09:51:25 +00:00
  • 9b5781fef9 TinyMCE: fix adding the <!-- more --> tag when the editor is inline. Andrew Ozz 2017-07-03 21:40:22 +00:00
  • 05325257c9 Customizer: improve setting the TinyMCE modals z-index. Andrew Ozz 2017-07-03 21:17:26 +00:00
  • a16d16449d Introduce wp_get_object_terms_args filter. Boone Gorges 2017-07-02 18:28:21 +00:00
  • 3a4ffa09ab Capabilities: Prevent users having the do_not_allow capability. Peter Wilson 2017-07-02 05:15:42 +00:00
  • bf850da3ec Docs: Add a @global entry for $wp_filter in wp_start_object_cache(). Sergey Biryukov 2017-07-01 22:13:00 +00:00
  • 02f0ddc844 TinyMCE: respect the Disable the visual editor when writing user setting and don't output the TinyMCE components when using wp_enqueue_editor(). Andrew Ozz 2017-07-01 21:30:10 +00:00
  • 0d9dbc2fea Text widget: bump the TinyMCE modals z-index to 500001 so they show in the Customizer. Andrew Ozz 2017-07-01 20:32:12 +00:00
  • de79ff87b3 Docs: Remove a few more superfluous @package WordPress and @subpackage notations outside of file headers missed in [40988]. Drew Jaynes 2017-07-01 17:10:37 +00:00
  • de87b6d828 Docs: Remove superfluous @package WordPress and @subpackage notations used outside of file headers in a variety of core files. Drew Jaynes 2017-07-01 16:57:13 +00:00
  • 958d29dc68 Docs: Convert an @uses tag in the class DocBlock for Walker_Nav_Menu_Edit to @see. Drew Jaynes 2017-07-01 16:48:04 +00:00
  • 886e1995c6 Docs: Remove an unnecessary @package tag from the DocBlock for post_preview(). Drew Jaynes 2017-07-01 16:38:49 +00:00
  • 0a9d2d6b8e Docs: Add a valid return type for post_preview() and improve the DocBlock summary. Drew Jaynes 2017-07-01 16:36:20 +00:00
  • 2dff153c75 Introduce most_used taxonomy label, for text on 'Most Used' metabox tab. boonebgorges 2017-07-01 14:45:02 +00:00
  • 5384177208 General: Ensure $description gets initialized in get_the_archive_description() if the post type archive conditional is true and the description isn't set. Drew Jaynes 2017-07-01 14:22:59 +00:00
  • 6bf8783afd Allow user searches to match the display_name field. Boone Gorges 2017-07-01 14:21:50 +00:00
  • 107c937394 Allow metadata to be updated via wp_update_comment(). Boone Gorges 2017-07-01 13:35:38 +00:00
  • b3ed160bd1 Users: Allow data to be filtered before updating or creating a user. Boone Gorges 2017-07-01 13:29:09 +00:00
  • 1721af83d1 Taxonomy: Ignore cached term value when it doesn't match the queried taxonomy. Boone Gorges 2017-07-01 11:45:09 +00:00
  • a5001396ad Introduce $comment_count param for WP_Query. Boone Gorges 2017-07-01 11:24:26 +00:00
  • 2744e29fd3 Remove an unnecessary initialization of $description due to the else condition in get_the_archive_description(). Drew Jaynes 2017-07-01 05:18:57 +00:00
  • 336d718bfc General: Add support for the post type archive description to get_the_archive_description(), and thereby also the_archive_description(). Drew Jaynes 2017-07-01 05:14:18 +00:00
  • 0b5b1a667f Link Template: Clarify documentation for the $id parameter in get_post_permalink(), get_edit_post_link(), edit_post_link(), and get_delete_post_link(), to reflect that either a post ID or WP_Post object is accepted. Drew Jaynes 2017-07-01 03:28:11 +00:00
  • 417b094dd4 Users: Introduce the manage_users_extra_tablenav action, fired immediately outside the closing "actions" div in the Users list table tablenav. Drew Jaynes 2017-07-01 03:01:16 +00:00
  • a14ea35c38 Docs: Add a @property-read notation for the read-only WP_Term::$data property. Drew Jaynes 2017-06-30 17:03:24 +00:00
  • d9ae7f920d Docs: Add missing @since, @access, and @global notations to the DocBlock for WP_Query::parse_search_order(). Drew Jaynes 2017-06-30 16:07:05 +00:00
  • 3ebd6bfda0 Docs: Add full parameter and return documentation for WP_Text_Diff_Renderer_Table::interleave_changed_lines(). Drew Jaynes 2017-06-30 05:28:20 +00:00
  • 30b915922a Docs: Use third-person singular verbs in the summaries for wp_unschedule_hook() and wp_clear_scheduled_hook(). Drew Jaynes 2017-06-30 04:53:53 +00:00
  • 8d783f1275 Docs: Clarify accepted types and values for $menu parameters in several contexts: Drew Jaynes 2017-06-30 04:48:20 +00:00
  • 626f78750b Tests: Add @method notations to factor class DocBlocks as a way to indicate expected return types from factory methods for the benefit of IDEs. Drew Jaynes 2017-06-30 04:35:39 +00:00
  • 63739c5c3d Docs: Provide best practice guidance for achieving parity between $menu_slug values supplied when adding menu and submenu pages, and later trying to compare those initial values against sanitized screen IDs derived from $menu_slug. Drew Jaynes 2017-06-30 04:17:56 +00:00
  • e087254993 Docs: Add more useful summaries to the DocBlocks for boolean $is_* properties in WP_Query. Drew Jaynes 2017-06-30 03:43:41 +00:00
  • 21a6c7b050 Cron API: Introduce wp_unschedule_hook() to clear all events attached to a hook. Sergey Biryukov 2017-06-30 00:21:49 +00:00
  • a970c07994 Docs: Don't reference non-existent hooks inline in the DocBlock descriptions for the following template functions: Drew Jaynes 2017-06-29 16:04:45 +00:00
  • 2d68e15e00 Docs: Don't reference non-existent hooks inline in the DocBlock description for get_archive_template(). Drew Jaynes 2017-06-29 15:46:29 +00:00
  • de8cb2d5b2 Docs: Don't reference non-existent hooks inline in the DocBlock description for get_post_type_archive_template(). Drew Jaynes 2017-06-29 15:38:14 +00:00
  • 5c4f490ea8 REST API: Add a filter to allow modifying the response *after* embedded data is added. James Nylen 2017-06-29 13:16:19 +00:00
  • 33f8a894cf Administration: In WP_List_Table::comments_bubble(), replace the mdash with its HTML entity for consistency with the similar code in other list tables. Sergey Biryukov 2017-06-29 00:03:02 +00:00
  • 44d162d0b2 Docs: Add a @global entry for $post variable in wp_post_preview_js(). Sergey Biryukov 2017-06-28 12:54:31 +00:00
  • 021d5ba403 Docs: Add missing backtick character in export_wp() DocBlock. Sergey Biryukov 2017-06-27 00:57:56 +00:00
  • 6fa3e5c883 Administration: In taxonomy list tables, display a dash instead of a blank space and add "No description" as a screen reader text when the term description is blank. Sergey Biryukov 2017-06-27 00:33:31 +00:00
  • c0dc34d4c7 Administration: In user list tables, display a dash instead of a blank space and add "Unknown" as a screen reader text when the user's first name and last name are blank. Sergey Biryukov 2017-06-27 00:26:07 +00:00
  • 4b7514b83d Docs: Remove inaccurate parts of get_header, get_footer, and get_sidebar hooks documentation. Sergey Biryukov 2017-06-26 20:55:15 +00:00