Commit Graph

  • 8b16c9bba8 Deprecate wp_nav_menu_locations_meta_box(), unused since [23441]. props DrewAPicture. fixes #24942. Sergey Biryukov 2013-09-02 11:25:16 +00:00
  • a82593e4e4 Move get_real_file_to_edit() upper in the file for consistency with the existing order of functions. Some phpdoc fixes and additions. see #23680. Sergey Biryukov 2013-09-02 11:18:35 +00:00
  • ba667f56d8 Escape URLs in feed_links(). props Chouby. fixes #25212. Sergey Biryukov 2013-09-02 10:10:09 +00:00
  • f64a9d63d8 Fix a grammar error on Permalink Settings screen. props celloexpressions. fixes #25210. Sergey Biryukov 2013-09-02 10:03:58 +00:00
  • 52c050254f Use an array as a default value for $meta in multisite signup-related functions. fixes #25149. Sergey Biryukov 2013-09-02 03:32:49 +00:00
  • 6bef163456 Update phpdoc for get_user_to_edit(), get_userdata(), and get_user_by(). props tivnet. fixes #24992. Sergey Biryukov 2013-09-02 03:24:33 +00:00
  • a276eeb68e Clear 'default_password_nag' flag when resetting a user's password, since the new password is entered manually. props wikicms. fixes #25206. Sergey Biryukov 2013-09-02 03:17:34 +00:00
  • 43c76d1751 Prevent WP_Styles::do_item() from adding its own style tags when concatenation is disabled. props stephenharris. fixes #24813. Sergey Biryukov 2013-09-01 13:14:49 +00:00
  • 4e75fe1bf1 Move get_real_file_to_edit() to wp-admin/includes/deprecated.php. props iamfriendly. fixes #23680. Sergey Biryukov 2013-09-01 12:36:45 +00:00
  • b0380a5f62 Remove the banner when concatenating TinyMCE so wp-tinymce.js.gz doesn't change every time the build process is run. See #25159. Andrew Ozz 2013-08-31 22:01:28 +00:00
  • 59989c2de0 Update tests/README.txt to reflect the new tests directory structure. props jdgrimes. fixes #25133. Sergey Biryukov 2013-08-31 13:42:56 +00:00
  • 788973ffb2 Case insensitivity for is_email_address_unsafe(). Andrew Nacin 2013-08-31 04:35:15 +00:00
  • d25d2a812b Use get_nav_menu_locations() in wp_delete_nav_menu(). Andrew Nacin 2013-08-31 01:38:11 +00:00
  • a86a9f671d Nav menus: Allow assigning a new menu to an existing location when no theme setting is currently saved. Andrew Nacin 2013-08-31 01:36:49 +00:00
  • 751fdfbc47 Remove display of 'Previously restored by' in the revisions meta box as it is busted. Andrew Nacin 2013-08-31 01:32:06 +00:00
  • afe7f94304 Fix 'html5' theme support. * Require it to have a second argument when adding. * Merge, rather than replace, on second add. * Make current_theme_supports() work when two arguments are passed. Andrew Nacin 2013-08-31 01:29:08 +00:00
  • 67f42435fe Hide 'Database Upgrade Required' on admin/network/upgrade.php when you are not being asked to upgrade, to prevent confusion. Andrew Nacin 2013-08-31 00:56:31 +00:00
  • ee2baada7b Be less verbose when erroring out in do_feed() for an invalid feed template. fixes #24874. Andrew Nacin 2013-08-30 23:36:58 +00:00
  • dc3df4d410 Remove wp-tinymce.js.gz from develop.svn, as this is now part of the build process. Andrew Nacin 2013-08-30 22:24:15 +00:00
  • 2b1b8427e7 Build tinymce.js.gz using grunt. Andrew Nacin 2013-08-30 22:16:43 +00:00
  • fdafa8b480 Fix folding/unfolding of the admin menu on new installs, props SergeyBiryukov, fixes #24921 for 3.6.1. Andrew Ozz 2013-08-30 17:10:11 +00:00
  • 924a3227d8 Revert [23307] so new users in multisite are not automatically subscribers on the main site. Andrew Nacin 2013-08-30 16:28:59 +00:00
  • a0940de83d Correct rewrite tag for hierarchical post types without a query_var. Jon Cave 2013-08-30 08:07:06 +00:00
  • b518606d42 Plugin Upgrader: Plugin_Upgrader::upgrade() returns nothing in event of success, every other install(), upgrade() and bulk_upgrade() method returns true, so return true; Dion Hulse 2013-08-30 07:37:32 +00:00
  • e320a48146 Theme Upgrader: Be super-careful and check the contents of the $wp_theme_directories variable before merging it, if someone has changed it directly, or worse, unset it, this could've resulted in the $protected_directories being empty. See [25082] See #22501 Dion Hulse 2013-08-30 07:34:24 +00:00
  • 21b61a9e6f Add signup_id primary key to $wpdb->signups, and add better indexes. Andrew Nacin 2013-08-30 04:29:06 +00:00
  • 381affa4e4 Add grunt test task for QUnit tests. Andrew Nacin 2013-08-30 04:06:34 +00:00
  • 3749745c3d Don't set up $post_author_data in map_meta_cap() as we don't need it. Andrew Nacin 2013-08-30 04:00:06 +00:00
  • e9a8ae1acf WP_HTTP: Make the new 2nd parameter to WP_HTP::processHeaders() as optional. See #21182. Fixes #25179 Dion Hulse 2013-08-30 02:10:34 +00:00
  • 94e03ce09f Test that passwords containing the username are penalised. Jon Cave 2013-08-29 22:28:32 +00:00
  • 7e5192393a Check for a WP_Error return from wp_create_user() in register_new_user(). Andrew Nacin 2013-08-29 22:15:06 +00:00
  • 0494df8152 Move wp-config-sample.php to the root of develop.svn. Andrew Nacin 2013-08-29 20:45:17 +00:00
  • 27e2fd864f Ignore wp-tests-config.php in root. See [25165]. Scott Taylor 2013-08-29 19:49:32 +00:00
  • fba8c3dabe Avoid validating wildcard hostnames in populate_network() when multisite is already activated. Andrew Nacin 2013-08-29 19:30:46 +00:00
  • f6966d20b3 Basic tests for wp_parse_id_list() to ensure positive integers. see [25169]. Andrew Nacin 2013-08-29 18:58:40 +00:00
  • 59b9a3a6f8 No need to re-map the return values of wp_parse_id_list() to int. Scott Taylor 2013-08-29 18:53:03 +00:00
  • f458d16c01 Improve the include / exclude SQL generation in get_pages() by using IN and NOT IN where applicable. Adds unit tests for include / exclude. Scott Taylor 2013-08-29 18:48:29 +00:00
  • dd78079286 Add QUnit tests for password-strength-meter.js. Andrew Nacin 2013-08-29 18:44:36 +00:00
  • 1a651a4723 Add QUnit to WordPress core for JavaScript unit testing. Andrew Nacin 2013-08-29 18:42:59 +00:00
  • 8045afd81b Move PHPUnit tests into a tests/phpunit directory. Andrew Nacin 2013-08-29 18:39:34 +00:00
  • d34baebc1d Search term name and slug when the search arg is passed to get_terms(). Adds unit test. Scott Taylor 2013-08-29 16:49:43 +00:00
  • 9e96365b8e Pass the taxonomy around to relevant nav menu actions to avoid arbitrarily deleting all items with menu-item-type of taxonomy. Adds unit test for wp_get_associated_nav_menu_items(). Scott Taylor 2013-08-29 16:44:36 +00:00
  • a4a765c5fd Improve the include / exclude SQL generation in get_terms() by using IN and NOT IN where applicable. Adds unit tests for include / exclude. Scott Taylor 2013-08-29 16:23:30 +00:00
  • 69785902db Support id=>name and id=>slug values for fields arg in get_terms(). Adds unit tests. Scott Taylor 2013-08-29 15:18:08 +00:00
  • 744a4a80a4 Respect the fields arg when passed to get_children(). Scott Taylor 2013-08-29 15:07:59 +00:00
  • 95cab73341 zxcvbn: Apply ROT13 when building the dynamic user_inputs dictionary. Jon Cave 2013-08-29 08:40:51 +00:00
  • 0b9a70d548 Return to 'Item' for term updated messages for the link_category taxonomy. Andrew Nacin 2013-08-28 18:58:57 +00:00
  • 444d333872 Use Dropbox's zxcvbn library for our password meter. Andrew Nacin 2013-08-28 16:08:19 +00:00
  • b9f05488aa Add Dropbox's zxcvbn library for realistic password strength estimation. Andrew Nacin 2013-08-28 16:02:53 +00:00
  • a044fcf1ae WP_HTTP: Fix a variable typo in [25153] See #23463 Dion Hulse 2013-08-28 07:29:09 +00:00
  • de7d430280 WP_HTTP: Update the documentation regarding HTTP/1.1 support. Props leewillis77 Fixes #25074 Dion Hulse 2013-08-28 06:54:22 +00:00
  • 2785826961 WP_HTTP: Improve WP_HTTP::chunkTransferDecode() to properly handle binary data and chunked responses which include data in the page that looks like a chunked response. This also fixes a case where the gzip'd data would become corrupt after chunked decoding as \r\n was replaced with \n in the data stream. Fixes #23463 Dion Hulse 2013-08-28 06:52:09 +00:00
  • 1d00e1d88a Make sure $args is an array before treating it as such. fixes #25151 for trunk. Sergey Biryukov 2013-08-28 05:27:03 +00:00
  • 7f0891c1a1 WP_HTTP: When requesting a document with HTTP/1.1 include the 'Connection: Close' header (unless a Connection header is already specified) to prevent the connection being held open and hanging the request process. See #23463 Dion Hulse 2013-08-28 04:58:51 +00:00
  • 4f410dc9f3 WP_HTTP: More relaxed host matching for WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS, allowing for subdomains in wildcards to include dashes (and anything else which [\w.] didn't catch). Fixes #24201 Dion Hulse 2013-08-28 04:53:41 +00:00
  • 022e5c2227 The main site of a secondary network should not use the original wp-content/uploads upload path. Andrew Nacin 2013-08-28 03:35:44 +00:00
  • dc0d29b59b Introduce is_main_network(). Andrew Nacin 2013-08-28 03:34:50 +00:00
  • d9bd6e7039 Use a better variable name in antispambot() introduced with [25055]. Props duck_ Fixes #16754 Dion Hulse 2013-08-28 01:46:57 +00:00
  • b38ac8cd66 Unit Tests: Make it more compatible with PHPUnit when installed as a Phar, or, Composer package, by removing a duplicate require (Phpunit already includes the file itself). Props scribu Fixes #25065 Dion Hulse 2013-08-28 01:43:14 +00:00
  • c1827f73cd Replace duplicated lines in [25143] with an assignment. see #18714. Dominik Schilling (ocean90) 2013-08-27 21:24:59 +00:00
  • d37203df8e Add a terms_updated_messages filter to edit-tags.php, along with taxonomy-specific strings. Andrew Nacin 2013-08-27 21:12:40 +00:00
  • 713c6cfb88 Pass $taxonomies to the get_terms_orderby filter. Andrew Nacin 2013-08-27 21:05:03 +00:00
  • 6ce20d366c Make shift-click checkbox range selection work in both directions. props c3mdigital, SergeyBiryukov. fixes #23427. Helen Hou-Sandi 2013-08-27 20:49:33 +00:00
  • 65465e9c88 Don't create an edit link to a non-UI post type in the media list table. Andrew Nacin 2013-08-27 20:48:40 +00:00
  • c637de7316 WP_Date_Query. Andrew Nacin 2013-08-27 16:38:32 +00:00
  • 86f5f6ac78 Don't cast the 'm' query variable to an integer as the value can exceed the range of a 32-bit signed integer. Andrew Nacin 2013-08-27 15:19:54 +00:00
  • 8d72fd31d4 Initialize kses filters if _wp_unfiltered_html_comment nonce isn't set. Jon Cave 2013-08-27 13:56:17 +00:00
  • 2b280c5761 Ensure a user exists in get_comment_author(). Andrew Nacin 2013-08-27 13:16:34 +00:00
  • 328117ffbf Only show 'Preview' on the custom header screen if there is something to show. Andrew Nacin 2013-08-27 12:27:00 +00:00
  • eb1485529f Remove unnecessary loops in default-filters.php. Andrew Nacin 2013-08-27 11:58:03 +00:00
  • ad422b8366 Introduce show_in_menu for register_taxonomy. Dominik Schilling (ocean90) 2013-08-26 22:34:56 +00:00
  • afe41b9134 TinyMCE: fix editor focus issues after ontouchstart event on the parent document in iOS Safari. Fixes #25131 for 3.7. Andrew Ozz 2013-08-26 21:23:58 +00:00
  • 7694a64c06 Press This: Add admin_head-like hooks that are specific to the page. Andrew Nacin 2013-08-26 20:59:44 +00:00
  • d0365d1383 Improve inline docs for register_post_type() and register_taxonomy(). Dominik Schilling (ocean90) 2013-08-26 20:23:34 +00:00
  • fdae6fb0a5 Twenty Thirteen: Ensure custom headers are set up after the localization is initialized. Andrew Nacin 2013-08-26 19:28:50 +00:00
  • 6d050b262f Ignore case differences when checking file extension in wp_audio_shortcode() and wp_video_shortcode(). props nofearinc, bhengh. fixes #25140. Sergey Biryukov 2013-08-26 19:20:36 +00:00
  • 35e43e187d Avoid a PHP notice in wpmu_create_blog() if $meta is not passed. props duck_, jeremyfelt, SergeyBiryukov. fixes #20793. Sergey Biryukov 2013-08-26 18:56:32 +00:00
  • 7bc3ebf033 Return 1 from get_comment_pages_count() when pagination is disabled. Andrew Nacin 2013-08-26 18:51:53 +00:00
  • d41c30be7a Network Admin: Hide the bulk actions checkbox for the main site. Andrew Nacin 2013-08-26 18:45:30 +00:00
  • 42dee6ccf0 Add post-type-$post_type and taxonomy-$taxonomy admin body classes. Andrew Nacin 2013-08-26 18:17:23 +00:00
  • a679d43131 Add 'taxonomy_parent_dropdown_args' filter for the parent dropdown on taxonomy term editing screens. props leewillis77. fixes #18166. Sergey Biryukov 2013-08-26 17:30:46 +00:00
  • 71793b661c Don't show the "Get Shortlink" button for pages with a ?page_id=x permalink. Ryan Boren 2013-08-26 16:05:46 +00:00
  • 5615aef0bf Avoid an undefined index notice when submitting a comment with JavaScript disabled. fixes #24752. Sergey Biryukov 2013-08-26 15:39:12 +00:00
  • 512c12ba55 Network Admin toolbar menu: Add Plugins and Themes, remove Visit Network. Andrew Nacin 2013-08-26 15:21:42 +00:00
  • 65d047cde2 Make in_category() an alias of has_category(). fixes #16718. Sergey Biryukov 2013-08-24 22:53:39 +00:00
  • 6edecc378d Avoid displaying multiple instances of the same feature pointers on a single screen. props nacin. fixes #25022 for trunk. Sergey Biryukov 2013-08-24 22:33:51 +00:00
  • d3a86958e6 Update the directory reference in tests/README.txt. props jdgrimes. fixes #25133. Sergey Biryukov 2013-08-24 14:05:00 +00:00
  • bcd97dac0a Remove 'admin' as a fallback for username in install. props tivnet, DrewAPicture. fixes #24078. Sergey Biryukov 2013-08-24 13:56:47 +00:00
  • d2a1a80683 Avoid a fatal error in WP_Http::request() if $response is a WP_Error instance. props dllh, nacin. fixes #24987. Sergey Biryukov 2013-08-24 03:10:16 +00:00
  • 086c5a8ab8 Deprecate $network_id argument in get_blog_count(). props jeremyfelt. fixes #25129. Sergey Biryukov 2013-08-24 02:41:11 +00:00
  • 4839f01305 Have wp-signup.php match the proper default for the 'registration' network option. Andrew Nacin 2013-08-23 22:59:09 +00:00
  • dc9bd8db8a Multisite tests: Update default space allowed in get_space_allowed(). see #23650, [25092]. Andrew Nacin 2013-08-23 22:54:54 +00:00
  • 3f130cd103 Correct phpdoc for WP_Query::$post. props lgedeon, fixes #25130. Andrew Nacin 2013-08-23 22:01:59 +00:00
  • a380ed51f7 User state settings: - Allow empty cookie value to be saved. - Use get_current_user_id() instead of wp_get_current_user(). - Use is_user_member_of_blog(). - Sanitize both name and value in wp_set_all_user_settings(). - Some var names and code formatting cleanup. Fixes #24921. Andrew Ozz 2013-08-23 21:42:23 +00:00
  • 46c24c3cf2 Use reset() to grab the first taxonomy in an array, not by numerical index. Cleans up whitespace. Props webord, nbachiyski. Fixes #23506. Scott Taylor 2013-08-23 21:28:34 +00:00
  • 961bbcb780 Logging in: when the Remember Me checkbox is checked, make sure the browser continues to send the expired cookies so the "login grace period" for POST and AJAX requests works. Fixes #24735. Andrew Ozz 2013-08-23 21:26:58 +00:00
  • 39171d7527 Check term_id against the $term object, not the non-existent var $args. Props rboren. Fixes #12729. Scott Taylor 2013-08-23 21:04:22 +00:00
  • ad94ffb64d Use correct variable. see #22922. Sergey Biryukov 2013-08-23 20:56:50 +00:00
  • 1f24e6d76b Add filters to the recipients of emails sent by wp_notify_postauthor() and wp_notify_moderator(). Andrew Nacin 2013-08-23 19:35:04 +00:00
  • 9211de7232 Add network name to <title> tags in the network admin and user admin (global dashboard). Andrew Nacin 2013-08-23 18:57:33 +00:00