Commit Graph

2708 Commits

Author SHA1 Message Date
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
Ryan Boren
12d6518279 Fix ID in confirmdeletecomment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2691 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 17:34:55 +00:00
Matt Mullenweg
a2bb87e071 Wrong translation and indentation fix, fixes #1373
git-svn-id: https://develop.svn.wordpress.org/trunk@2689 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:44:35 +00:00
Matt Mullenweg
a990a51b42 Unecessary query, fixes #1456
git-svn-id: https://develop.svn.wordpress.org/trunk@2688 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:41:07 +00:00
Matt Mullenweg
60ce1eb0d9 Update includes in import files, fixes #1427
git-svn-id: https://develop.svn.wordpress.org/trunk@2687 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:39:29 +00:00
Matt Mullenweg
08ab1b910a Output not echo, fixes #1465
git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:37:08 +00:00
Matt Mullenweg
8addfabdd7 Indentation and correct response link when no comments, fixes #1408
git-svn-id: https://develop.svn.wordpress.org/trunk@2685 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:35:36 +00:00
Matt Mullenweg
8ed932864f Better escaping from class, fixes #1394
git-svn-id: https://develop.svn.wordpress.org/trunk@2684 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:31:43 +00:00
Ryan Boren
15a525e6dc Make sure cat list is an array. Props: Peter Westwood
git-svn-id: https://develop.svn.wordpress.org/trunk@2683 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 17:28:06 +00:00
Ryan Boren
545507c3b6 Default category and pingback check fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2680 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 16:07:42 +00:00
Ryan Boren
34808989fb Don't escape image bits.
git-svn-id: https://develop.svn.wordpress.org/trunk@2676 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-30 00:12:18 +00:00
Ryan Boren
a2e8b43f54 Don't escape objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@2674 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 17:01:11 +00:00
Matt Mullenweg
90afdb5e98 We don't think these are needed...
git-svn-id: https://develop.svn.wordpress.org/trunk@2671 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 00:44:02 +00:00