Commit Graph

2770 Commits

Author SHA1 Message Date
Matt Mullenweg
7eb46808e7 More hooks, fixes #1535
git-svn-id: https://develop.svn.wordpress.org/trunk@2741 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:28:09 +00:00
Matt Mullenweg
42b54bdd1c Fixes #1370
git-svn-id: https://develop.svn.wordpress.org/trunk@2740 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:24:13 +00:00
Matt Mullenweg
c37be4f535 Make sure it's an array first.
git-svn-id: https://develop.svn.wordpress.org/trunk@2739 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:21:53 +00:00
Matt Mullenweg
9a3dfe5815 Better name
git-svn-id: https://develop.svn.wordpress.org/trunk@2738 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-01 20:24:11 +00:00
Matt Mullenweg
7af1145a9d It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling.
git-svn-id: https://develop.svn.wordpress.org/trunk@2737 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-26 20:11:41 +00:00
Matt Mullenweg
2c7be48b87 Uncheck by default, fixes #1537
git-svn-id: https://develop.svn.wordpress.org/trunk@2736 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-26 20:02:42 +00:00
Matt Mullenweg
5880f1a3ad Setting native eol:style
git-svn-id: https://develop.svn.wordpress.org/trunk@2735 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 16:16:03 +00:00
Matt Mullenweg
c3694be892 Typo was making everyone admins.
git-svn-id: https://develop.svn.wordpress.org/trunk@2734 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 16:14:29 +00:00
Matt Mullenweg
fc89fd51ca Remember me button on login, fixes #379
git-svn-id: https://develop.svn.wordpress.org/trunk@2733 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:56:59 +00:00
Matt Mullenweg
d091c277ce Validation error, fixes #1462
git-svn-id: https://develop.svn.wordpress.org/trunk@2732 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:39:57 +00:00
Matt Mullenweg
b8f6638196 Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2731 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:29:46 +00:00
Matt Mullenweg
b81fef690d A few CSS polishes
git-svn-id: https://develop.svn.wordpress.org/trunk@2730 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:22:48 +00:00
Matt Mullenweg
cf204d01e5 Fixing tab order, adding publish access key.
git-svn-id: https://develop.svn.wordpress.org/trunk@2729 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-21 23:45:12 +00:00
Ryan Boren
6a90de4d12 Remove extra comma. Props: isharra
git-svn-id: https://develop.svn.wordpress.org/trunk@2728 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 15:26:34 +00:00
Ryan Boren
1785b5aae3 Refactor level to cap upgrade code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2727 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 14:24:06 +00:00
Matt Mullenweg
3bb5555bb2 More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00
Matt Mullenweg
6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren
38677d2e8d Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2724 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 21:21:50 +00:00
Ryan Boren
60bc7f83f4 Fix draft list and publish button. fixes #1514
git-svn-id: https://develop.svn.wordpress.org/trunk@2723 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 21:08:47 +00:00
Ryan Boren
96e237124e Add temporary cap/roles updater. Define RESET_CAPS to enable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2722 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:57:41 +00:00
Ryan Boren
d44131b1b7 get_usermeta() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2721 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:55:19 +00:00
Ryan Boren
268fc9f7a1 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2720 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:29:55 +00:00
Ryan Boren
21a150eefa touch_time() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2719 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:02:05 +00:00
Ryan Boren
3b6dbfb88a Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2718 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:59:14 +00:00
Ryan Boren
1fdc779439 Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: https://develop.svn.wordpress.org/trunk@2717 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:41:11 +00:00
Ryan Boren
7623634aaf in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 16:58:13 +00:00
Matt Mullenweg
4d6ecc4943 Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: https://develop.svn.wordpress.org/trunk@2715 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-16 21:13:14 +00:00
Ryan Boren
9527e184fe More cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Ryan Boren
235345a916 Move user_can_*() functions to capabilities.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@2713 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:27:01 +00:00
Ryan Boren
7e94ba45c5 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2712 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:24:08 +00:00
Ryan Boren
6059fcf644 Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2711 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:58:58 +00:00
Ryan Boren
ffdd8033aa Inverted logic. Should fix problem where user display name is stomped during upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@2710 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:53:56 +00:00
Ryan Boren
5dbb58cd91 Migrate to caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 22:26:26 +00:00
Ryan Boren
645de9da17 Fill out level caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@2708 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 20:16:06 +00:00
Ryan Boren
90d7668a03 Setup admin's role during install. Props: Owen Winkler. fixes #1505
git-svn-id: https://develop.svn.wordpress.org/trunk@2707 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 19:55:05 +00:00
Ryan Boren
92bfe7a248 Rearrange load order. Init classes before loading the text domain and setting the template path.
git-svn-id: https://develop.svn.wordpress.org/trunk@2706 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 19:29:18 +00:00
Ryan Boren
3c68ad0b0f Move menus from levels to capabilities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2705 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 16:04:14 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren
19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg
810e0018f4 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: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Matt Mullenweg
5bd6027fbd Drafts clean up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2701 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-08 22:59:15 +00:00
Ryan Boren
537b91b582 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: https://develop.svn.wordpress.org/trunk@2700 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-06 01:12:38 +00:00
Ryan Boren
b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren
bcb1e84446 wp_delete_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@2698 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 22:03:42 +00:00
Ryan Boren
37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Ryan Boren
11c44b277c Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2696 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 06:27:04 +00:00
Ryan Boren
01fef613ff wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2695 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 19:26:51 +00:00
Ryan Boren
31e3ad71be Remove extra logIOs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2694 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:34:04 +00:00
Ryan Boren
506091a710 XMLRPC category fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2693 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:33:03 +00:00
Matt Mullenweg
b5675c3c05 Ugly escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@2692 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:42:11 +00:00