Commit Graph

6885 Commits

Author SHA1 Message Date
ryan 89a6328e88 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:30:48 +00:00
nacin 3c25793f2f s/esc_url_raw/esc_url/. props duck_. for the 3.0 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 16:22:46 +00:00
nacin 503c727207 Only run kses on comment_text in the admin. Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for the 3.0 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 20:15:53 +00:00
ryan 212716018d 3.0.5
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 23:01:56 +00:00
ryan 35d53d8b31 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 19:18:44 +00:00
ryan 6348d2a8d6 Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 18:38:41 +00:00
ryan be60cf359a Preserve tag escaping. Props koopersmith, Nils Jueneman. For 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:34:01 +00:00
ryan 6f31fa6e29 Defense in depth for comment text. For 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:33:29 +00:00
markjaquith 7673ac8a82 GPLv2+ for 3.0 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 23:13:21 +00:00
markjaquith 6d38b6875f Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:42:18 +00:00
ryan d003bceded Update @author tag contact info. Props hakre. see #16039
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 20:07:47 +00:00
ryan f0ba342785 Add Copyright Statement, Licensing Information and Disclaimer to kses. Props hakre. Thanks Ulf Harnhammar. see #16039
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 18:38:34 +00:00
ryan f5a82f673f 3.0.4
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 21:07:52 +00:00
ryan 5ca8bf6641 Don't be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 20:49:02 +00:00
westi cc420fb1bc Improve the capabilites checking in the XMLRPC code.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:50:05 +00:00
markjaquith 42ee855438 Doh. [16646] and [16650] were made against the wrong branch. Revert. see #13709. see #15621
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:39:15 +00:00
markjaquith b100afd510 Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:13:31 +00:00
ryan 3d0ffe642c 3.0.2
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 23:14:45 +00:00
ryan 8b1b159985 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 22:57:25 +00:00
markjaquith 9213060883 Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for 3.0.x
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 22:49:56 +00:00
nacin 7fea15206a Ensure we don't generate incorrect content types when files are requested with query strings. props chrisbliss18. fixes #14450 for the 3.0 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:44:08 +00:00
nacin f06897b0f4 Use map_meta_cap for multisite super admins in current_user_can_for_blog. props jamescollins, fixes #15122 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:40:25 +00:00
ryan 7cbe5e6860 Prepare properly. Props Vladimir Kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:04:38 +00:00
nacin e0423e924f Fix UPLOADS constant. fixes #14840 for the 3.0 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:58:17 +00:00
nacin 264ce306cc Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:44:56 +00:00
dd32 47aeefbea1 Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for 3.0 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 11:32:25 +00:00
nacin af4e453443 Fix the delete_user meta cap.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-04 12:25:44 +00:00
nacin 82e793ed18 Ensure we're checking when looking for is_super_admin() in map_meta_cap(). Bump DB version.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-29 21:54:41 +00:00
ryan 04be3b707b 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-29 20:32:45 +00:00
ryan 6c90919b39 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-27 14:23:32 +00:00
nacin fe45499ecf More curses on PHP 5.0.5. see #13757, fixes #14160. for 3.0.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:34:49 +00:00
westi 6c6ac9b63a 1up mushroom
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:51:55 +00:00
nacin f7faa5e8c7 Add unregister_nav_menu(). props jorbin, fixes #14001 for 3.0.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:49:47 +00:00
ryan 9481379309 Temp fix for canonical redirects of taxonomy links containing non-ASCII bases. Props nbachiyski. see #14201 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 20:08:45 +00:00
nacin 782221925a Disable the visual editor in iOS. props azaozz, simonwheatley. fixes #13326 for 3.0.1.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 17:35:18 +00:00
ryan 27b647093c Clean up wp_update_themes(). Fix reporting of active theme. Props josephscott. fixes #14381 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 13:25:23 +00:00
ryan 34e87a7286 Use get_current_user() and get_current_user_id() instead of global current_user object. Props filofo. fixes #13934 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 20:10:22 +00:00
ryan 192ea220d2 Bump
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 14:02:01 +00:00
ryan a031016c0a Hex octets are case-insenstive. Don't 301 when only the octet case differs. Props hakre. fixes #14292 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-18 13:47:24 +00:00
westi f5a8e46fc9 Remove debug cruft. See #14315 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-17 11:21:15 +00:00
westi f9dc340b74 Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for 3.0 branch
props dougal.


git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-16 09:44:49 +00:00
ryan 99da1c034d If category already exists, return its ID. Restores previous behavior. fixes #14067 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 14:13:17 +00:00
nacin 3ddc8159ae get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:57:05 +00:00
nacin 7eb1bcc594 Don't throw 404 in the backend. fixes #14088 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:48:28 +00:00
nacin 135d38bd8b Prevent the same menu item from receiving duplicate IDs if the menu is used twice. All menu items now get a class with their post ID; only the first item now gets an ID. fixes #13976 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:31:20 +00:00
ryan 563b901f42 Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:30:33 +00:00
nacin 6bd16888b1 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for 3.0.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-13 21:26:43 +00:00
ryan 7f6b818c17 Perform strict equality comparison. Props shawnparker. fixes #13350 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 15:28:54 +00:00
ryan 9c99e95703 Add equal sign to blacklist. Props Pádraic Brady. for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 14:31:22 +00:00
markjaquith a93b0d71c6 More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971 for 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-08 19:43:04 +00:00