Commit Graph

  • 48a439ac5b Assigning the return value of new by reference is deprecated. Props hakre. see #16767 Ryan Boren 2011-03-30 20:50:05 +00:00
  • 4b40ff5454 Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk. Ryan Boren 2011-03-28 21:39:16 +00:00
  • 642f81dd68 Add some nonce checks to the uploaders. Props duck_. For trunk. Ryan Boren 2011-03-28 21:30:59 +00:00
  • 6901f20e9b Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978 Dion Hulse 2011-03-28 09:55:15 +00:00
  • d400b19f92 Handle error response in autosave_update_slug(), props nacin, fixes #16975 Andrew Ozz 2011-03-27 20:09:09 +00:00
  • 43d4c448bf Initialize a variable. props boonebgorges, fixes #16977. Andrew Nacin 2011-03-27 19:46:18 +00:00
  • fbb5ad3afc Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236 Dion Hulse 2011-03-26 03:32:05 +00:00
  • 8df76a48c6 Bump readme system requirements. props duck_, see #16917. Andrew Nacin 2011-03-25 21:21:14 +00:00
  • 289a5e5c8f Bump update-core and readme for 3.2. Andrew Nacin 2011-03-25 21:14:46 +00:00
  • bf42a84fa0 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for trunk Andrew Ozz 2011-03-25 20:32:07 +00:00
  • 9c18de1484 Fix discrepancy in the nested loop in the Recent Comments dashboard widget, props ocean90, fixes #16846 for trunk Andrew Ozz 2011-03-25 20:12:32 +00:00
  • ec8280cfd8 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236 Dion Hulse 2011-03-25 02:42:20 +00:00
  • a1822ad76c Change this string to one that already exists. props ericmann, fixes #16806. Andrew Nacin 2011-03-24 16:12:47 +00:00
  • 19d8af83d3 Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk Ryan Boren 2011-03-24 16:07:24 +00:00
  • 3591957d49 Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855 Dion Hulse 2011-03-24 05:18:34 +00:00
  • 048fcd1cce Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613 Dion Hulse 2011-03-24 02:16:13 +00:00
  • 3395cc4a62 Prevent Notice if the author object is not set. Mark Jaquith 2011-03-23 21:25:35 +00:00
  • 04aea0e128 Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk Ryan Boren 2011-03-23 19:57:35 +00:00
  • fd76a68a2d Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816. Andrew Nacin 2011-03-23 18:59:52 +00:00
  • 5fc7b13692 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421. Andrew Nacin 2011-03-23 18:57:12 +00:00
  • 3697db55bc Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715. Andrew Nacin 2011-03-23 18:47:45 +00:00
  • 20b7808094 Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263. Andrew Nacin 2011-03-23 18:46:38 +00:00
  • 04f55d16ff Reference proper function equivalents in deprecated.php. props pross, fixes #15253. Andrew Nacin 2011-03-23 18:44:07 +00:00
  • 4876de9bed Fix copypasta typo in docblock. props scribu, fixes #16384. Andrew Nacin 2011-03-23 18:42:59 +00:00
  • 711abb67bc Avoid functions.php from ever being treated as a page template. fixes #16689. Andrew Nacin 2011-03-23 18:40:52 +00:00
  • 21c2c70e25 Remove dead globals. props mitchoyoshitaka. fixes #16571. Andrew Nacin 2011-03-23 18:39:16 +00:00
  • 43b0ccccbc Don't die for failed db connects during install. Props westi. fixes #16640 for trunk Ryan Boren 2011-03-23 17:46:40 +00:00
  • 615e0c5bc7 Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915 Dion Hulse 2011-03-23 11:58:09 +00:00
  • 1a22b56c53 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915 Dion Hulse 2011-03-23 11:35:41 +00:00
  • a4d818978c Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk Ryan Boren 2011-03-22 20:42:43 +00:00
  • 42e432bd94 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk Ryan Boren 2011-03-22 20:35:47 +00:00
  • 8cd811538e Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk Ryan Boren 2011-03-22 20:27:45 +00:00
  • 52cbde8270 Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk Ryan Boren 2011-03-22 20:06:38 +00:00
  • 1359ecd06b Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913 Dion Hulse 2011-03-22 00:04:15 +00:00
  • 1eba25a104 I before E, except after C. props jkudish, fixes #16915. Andrew Nacin 2011-03-21 23:44:30 +00:00
  • 97587c5374 Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917 Mark Jaquith 2011-03-21 18:30:56 +00:00
  • 80e0029a13 Allow JS functions in the TinyMCE init array, fixes #15596 Andrew Ozz 2011-03-17 22:01:40 +00:00
  • 04bc9c01cb Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk. Andrew Nacin 2011-03-10 18:47:44 +00:00
  • 0984bae175 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk Mark Jaquith 2011-03-10 04:24:48 +00:00
  • d79937e6a3 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk Mark Jaquith 2011-03-09 05:46:58 +00:00
  • f490877ab4 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk Mark Jaquith 2011-03-09 05:40:52 +00:00
  • c15c6f2b23 Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk Mark Jaquith 2011-03-09 05:18:45 +00:00
  • 652ac55480 Anchor network and user admins at the network domain and path rather than at the main site. Makes the redirects consistent with network_admin_url(). fixes #16652 for trunk Ryan Boren 2011-03-08 22:56:12 +00:00
  • 65ecd2daaa Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk Ryan Boren 2011-03-08 22:48:05 +00:00
  • b08c4772fa Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk Ryan Boren 2011-03-08 22:06:35 +00:00
  • 13058d536e Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk Ryan Boren 2011-03-08 22:01:19 +00:00
  • 4cb526a5b1 Mark theme preview iframe as a preview_iframe so that the admin bar doesn't show. Props tetele. fixes #16659 for trunk Ryan Boren 2011-03-08 21:54:05 +00:00
  • 63f4028ba5 Don't double process the tag query var. Props scribu. fixes #16730 for trunk Ryan Boren 2011-03-03 16:11:02 +00:00
  • 0e84a66e49 Do not do canonical redirects for unregistered feeds. fixes #16704 for trunk Ryan Boren 2011-03-03 15:55:24 +00:00
  • b905438706 Avoid mangling the current site path variable with the search query. props greuben, fixes #16720 for trunk. Andrew Nacin 2011-03-02 18:33:55 +00:00
  • 1ca947074d Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk Mark Jaquith 2011-03-02 17:29:11 +00:00
  • c292114f91 Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for trunk Ryan Boren 2011-03-02 15:33:11 +00:00
  • 9c2707c3e7 Reparse the taxonomy query if query vars change. fixes #16622 for trunk Mark Jaquith 2011-03-02 04:10:21 +00:00
  • 0c45aa5b10 3.2-bleeding Andrew Nacin 2011-02-23 16:51:47 +00:00
  • 1068e1c6fc 3.1 Mark Jaquith 2011-02-23 14:44:55 +00:00
  • caea06cae3 Also mention compressed scripts Mark Jaquith 2011-02-22 22:36:17 +00:00
  • 22230cb94e Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk. Andrew Nacin 2011-02-22 10:12:38 +00:00
  • 77ccb220a4 POT, generated from r17478 potbot 2011-02-22 08:27:30 +00:00
  • e63f2549db Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk. Andrew Nacin 2011-02-22 08:23:30 +00:00
  • 6970857abf Use get_comments_number() in comments_bubble() method. Removes chance of sprintf arguments error due to percent encoding in URLs and kills unnecessary translations. Escape translations into attributes. esc_url on admin_url. fixes #16611 for trunk. Andrew Nacin 2011-02-22 04:24:20 +00:00
  • 90a2c2c945 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for trunk Mark Jaquith 2011-02-21 19:36:16 +00:00
  • 395bb6ad4c Ensure we're matching the complete theme directory when excluding parent templates from the theme editor. props chrisbliss18, fixes #16607 for trunk. Andrew Nacin 2011-02-21 18:57:09 +00:00
  • f7f96d2f1f 3.0 compat for twentyten Ryan Boren 2011-02-21 18:35:37 +00:00
  • 8f7a3680ad Bump Mark Jaquith 2011-02-18 06:08:07 +00:00
  • 0cdc6d2e61 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk Mark Jaquith 2011-02-18 05:10:58 +00:00
  • 3846f7dd95 Bump Ryan Boren 2011-02-17 01:30:56 +00:00
  • 28f60802b8 Bump. Andrew Nacin 2011-02-16 19:38:22 +00:00
  • 170a0cf96b Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk Ryan Boren 2011-02-16 19:24:18 +00:00
  • e7ceede332 Don't allow changing the post type. Props nacin. For trunk Ryan Boren 2011-02-16 18:58:06 +00:00
  • 5bfe6fa2b1 Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk Ryan Boren 2011-02-16 16:25:52 +00:00
  • d4e9bb7183 Bump Ryan Boren 2011-02-15 23:59:45 +00:00
  • db31b732eb Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk Ryan Boren 2011-02-15 23:57:13 +00:00
  • 2394a8d68d Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk Ryan Boren 2011-02-15 03:43:47 +00:00
  • b6d982827e s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk. Andrew Nacin 2011-02-14 22:57:18 +00:00
  • 2c7004c199 Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk Mark Jaquith 2011-02-13 14:44:16 +00:00
  • a57952b5c9 Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk Ryan Boren 2011-02-10 21:48:40 +00:00
  • db54fd77fe Bump Ryan Boren 2011-02-10 20:41:08 +00:00
  • e431f630a2 Disallow and hide user removal (as opposed to deletion) for single site installs. Removal is a multisite concept. Props nacin. fixes #16501 for trunk Ryan Boren 2011-02-10 20:37:26 +00:00
  • 81a1787248 Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk Ryan Boren 2011-02-10 20:17:54 +00:00
  • 451d7d8ffb Pink the whites. Ryan Boren 2011-02-09 17:35:36 +00:00
  • 683912a877 Cleanup crew. Andrew Nacin 2011-02-09 17:35:24 +00:00
  • 7c37c82691 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk Ryan Boren 2011-02-09 17:30:26 +00:00
  • 4d95849968 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk Ryan Boren 2011-02-09 17:13:28 +00:00
  • 40ef969983 Return early if list is not an array. Props nacin. fixes #16499 for trunk Ryan Boren 2011-02-09 17:06:22 +00:00
  • bc17de6453 Akismet 2.5.3 for trunk. Andrew Nacin 2011-02-09 10:03:30 +00:00
  • 15ea5342e5 Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk. Andrew Nacin 2011-02-08 20:17:09 +00:00
  • 2adf4a0f7f RC4 Ryan Boren 2011-02-07 23:01:06 +00:00
  • a701db272d Skip authors that no longer exist when doing an export. props nacin. fixes #16479 Mark Jaquith 2011-02-07 19:58:41 +00:00
  • e3c732da0c Bump Ryan Boren 2011-02-07 19:19:41 +00:00
  • fd3c1fd8e3 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk Mark Jaquith 2011-02-07 19:11:17 +00:00
  • f98f93f137 Bump Ryan Boren 2011-02-06 19:20:00 +00:00
  • 579eb2ab28 Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk Ryan Boren 2011-02-06 18:37:20 +00:00
  • 118fb7f8ed Do not use PHP5-only array_combine. props duck_. see #16459 for trunk Mark Jaquith 2011-02-05 18:46:07 +00:00
  • 777b15311d Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk Ryan Boren 2011-02-05 18:31:05 +00:00
  • 9aa164cfc8 Properly encode the post title. Props koopersmith, nacin. For trunk Ryan Boren 2011-02-05 18:26:46 +00:00
  • acfa8f4e60 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk Mark Jaquith 2011-02-05 18:24:01 +00:00
  • e83b5ac2ea Add cap and type checks to media item fetch. For trunk Ryan Boren 2011-02-05 18:22:53 +00:00
  • 04ab78140f Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for trunk Mark Jaquith 2011-02-03 20:42:00 +00:00
  • b625dbb1bb Remove debug cruft. Props markmcwilliams. fixes #15530 Ryan Boren 2011-02-03 20:00:21 +00:00
  • 0c02c273cb Remove unused/non-functional code with old-style CSRF checking. see #16499 Mark Jaquith 2011-02-03 07:23:05 +00:00