Commit Graph

2760 Commits

Author SHA1 Message Date
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
ryan
740381afdf wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 19:26:51 +00:00
ryan
6b0cc52fe1 Remove extra logIOs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:34:04 +00:00
ryan
54766eade4 XMLRPC category fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:33:03 +00:00
matt
e2d9a4c765 Ugly escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@2692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:42:11 +00:00
ryan
5edea3a5cd Fix ID in confirmdeletecomment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:34:55 +00:00
matt
d4cdb47503 Wrong translation and indentation fix, fixes #1373
git-svn-id: http://svn.automattic.com/wordpress/trunk@2689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:44:35 +00:00
matt
f8a51d856b Unecessary query, fixes #1456
git-svn-id: http://svn.automattic.com/wordpress/trunk@2688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:41:07 +00:00
matt
df98e352ac Update includes in import files, fixes #1427
git-svn-id: http://svn.automattic.com/wordpress/trunk@2687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:39:29 +00:00
matt
e065df406a Output not echo, fixes #1465
git-svn-id: http://svn.automattic.com/wordpress/trunk@2686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:37:08 +00:00
matt
f048ab7b0a Indentation and correct response link when no comments, fixes #1408
git-svn-id: http://svn.automattic.com/wordpress/trunk@2685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:35:36 +00:00
matt
76fd741767 Better escaping from class, fixes #1394
git-svn-id: http://svn.automattic.com/wordpress/trunk@2684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:31:43 +00:00
ryan
56c304f8bb Make sure cat list is an array. Props: Peter Westwood
git-svn-id: http://svn.automattic.com/wordpress/trunk@2683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 17:28:06 +00:00
ryan
bdfab81fd0 Default category and pingback check fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-30 16:07:42 +00:00
ryan
c26724062a Don't escape image bits.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-30 00:12:18 +00:00