Commit Graph

2974 Commits

Author SHA1 Message Date
matt fd16cda0a7 Note character restrictions, fixes #910
git-svn-id: http://svn.automattic.com/wordpress/trunk@2745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:46:57 +00:00
matt 40a7d9d2dd Fixes #1488
git-svn-id: http://svn.automattic.com/wordpress/trunk@2744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:42:52 +00:00
matt 5ebbcc659b Adding some hooks, fixes #1489
git-svn-id: http://svn.automattic.com/wordpress/trunk@2743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:40:42 +00:00
matt 0e15d15f9b Fixes #1541
git-svn-id: http://svn.automattic.com/wordpress/trunk@2742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:30:40 +00:00
matt 12cd19ce22 More hooks, fixes #1535
git-svn-id: http://svn.automattic.com/wordpress/trunk@2741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:28:09 +00:00
matt a8e34ba8e9 Fixes #1370
git-svn-id: http://svn.automattic.com/wordpress/trunk@2740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:24:13 +00:00
matt e270daf352 Make sure it's an array first.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:21:53 +00:00
matt d62ae6b368 Better name
git-svn-id: http://svn.automattic.com/wordpress/trunk@2738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-01 20:24:11 +00:00
matt 60327b0ca2 It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-26 20:11:41 +00:00
matt 086e5b4c29 Uncheck by default, fixes #1537
git-svn-id: http://svn.automattic.com/wordpress/trunk@2736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-26 20:02:42 +00:00
matt 4c1fa286cc Setting native eol:style
git-svn-id: http://svn.automattic.com/wordpress/trunk@2735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 16:16:03 +00:00
matt 84611d5844 Typo was making everyone admins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 16:14:29 +00:00
matt 97a426b19c Remember me button on login, fixes #379
git-svn-id: http://svn.automattic.com/wordpress/trunk@2733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:56:59 +00:00
matt 7fb99dd853 Validation error, fixes #1462
git-svn-id: http://svn.automattic.com/wordpress/trunk@2732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:39:57 +00:00
matt bbd789660a Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:29:46 +00:00
matt ba19c859f9 A few CSS polishes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:22:48 +00:00
matt 54f46d875a Fixing tab order, adding publish access key.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-21 23:45:12 +00:00
ryan 5f18302c9c Remove extra comma. Props: isharra
git-svn-id: http://svn.automattic.com/wordpress/trunk@2728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-19 15:26:34 +00:00
ryan 9bca3f5db6 Refactor level to cap upgrade code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-19 14:24:06 +00:00
matt 6a30e8033f More cookie catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 20:12:48 +00:00
matt 41afea2f94 Let advanced users override cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 19:55:24 +00:00
ryan 5ac98a6fba Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 21:21:50 +00:00
ryan 63073bc4fe Fix draft list and publish button. fixes #1514
git-svn-id: http://svn.automattic.com/wordpress/trunk@2723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 21:08:47 +00:00
ryan 44644cbb6c Add temporary cap/roles updater. Define RESET_CAPS to enable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:57:41 +00:00
ryan 8226fb2239 get_usermeta() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:55:19 +00:00
ryan 1e5d0b0736 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:29:55 +00:00
ryan 4260709314 touch_time() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:02:05 +00:00
ryan ed3d0a7589 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 18:59:14 +00:00
ryan 5177196b10 Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: http://svn.automattic.com/wordpress/trunk@2717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 18:41:11 +00:00
ryan 0282a8fc0c in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: http://svn.automattic.com/wordpress/trunk@2716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 16:58:13 +00:00
matt 253221dbb2 Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-16 21:13:14 +00:00
ryan 508e55acd2 More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 02:16:45 +00:00
ryan 40a99fc9a1 Move user_can_*() functions to capabilities.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:27:01 +00:00
ryan 2f6ae330c0 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:24:08 +00:00
ryan 27174a151b Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-14 22:58:58 +00:00
ryan 04a3dc4c03 Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-14 22:53:56 +00:00
ryan 02523f59d3 Migrate to caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 22:26:26 +00:00
ryan 88183ca9eb Fill out level caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 20:16:06 +00:00
ryan e0b97e8a20 Setup admin's role during install. Props: Owen Winkler. fixes #1505
git-svn-id: http://svn.automattic.com/wordpress/trunk@2707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 19:55:05 +00:00
ryan 98aa7f597a Rearrange load order. Init classes before loading the text domain and setting the template path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 19:29:18 +00:00
ryan 0218d1e198 Move menus from levels to capabilities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 16:04:14 +00:00
ryan 7af36168cb Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-12 15:53:13 +00:00
ryan a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
matt 13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
matt 233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
ryan 6cbb6fecb3 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: http://svn.automattic.com/wordpress/trunk@2700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-06 01:12:38 +00:00
ryan 91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan a79476f1e7 wp_delete_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 22:03:42 +00:00
ryan cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
ryan 20ae785c4c Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 06:27:04 +00:00