Commit Graph

949 Commits

Author SHA1 Message Date
Matt Mullenweg fe3daa060e Adding personal options
git-svn-id: https://develop.svn.wordpress.org/trunk@2760 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 19:23:41 +00:00
Matt Mullenweg 2165c50e82 Making the presentation page a little more intuitive
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg 593b6b49ab You should be able to change the defaults
git-svn-id: https://develop.svn.wordpress.org/trunk@2753 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-05 20:44:18 +00:00
Matt Mullenweg 5d84ad90d1 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2750 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-05 00:16:18 +00:00
Matt Mullenweg b480c75559 Adding some hooks, fixes #1489
git-svn-id: https://develop.svn.wordpress.org/trunk@2743 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:40:42 +00:00
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 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 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 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
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 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 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 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
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 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 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 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 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
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
Ryan Boren 03997fb239 url_to_postid() fixes from Mark Jaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@2665 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 22:02:57 +00:00
Ryan Boren dfe87eb5f7 Quote IDs in get queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +00:00
Ryan Boren 706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren 62366e5403 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Ryan Boren c8b7b7e47b Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: https://develop.svn.wordpress.org/trunk@2656 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:40:52 +00:00
Ryan Boren 337a17904f Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: https://develop.svn.wordpress.org/trunk@2655 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:30:39 +00:00
Ryan Boren 2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Ryan Boren 67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren f2d1f8460f Use default_category option if not cat specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@2648 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:17:55 +00:00
Ryan Boren 15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Ryan Boren 80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Matt Mullenweg cd7cb0c110 Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +00:00