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
|
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 |
|
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
|
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
|
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
|
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
|
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 |
|
matt
|
210192f822
|
We don't think these are needed...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-29 00:44:02 +00:00 |
|
ryan
|
bec4057356
|
url_to_postid() fixes from Mark Jaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-27 22:02:57 +00:00 |
|
ryan
|
e2e3204fa0
|
Quote IDs in get queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-26 20:44:58 +00:00 |
|
ryan
|
8b55719431
|
Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-26 19:55:12 +00:00 |
|
ryan
|
ee2a1df296
|
Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: http://svn.automattic.com/wordpress/trunk@2657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-20 02:03:35 +00:00 |
|
ryan
|
b1a8620710
|
Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: http://svn.automattic.com/wordpress/trunk@2656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-20 01:40:52 +00:00 |
|
ryan
|
48035b638a
|
Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: http://svn.automattic.com/wordpress/trunk@2655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-20 01:30:39 +00:00 |
|
ryan
|
0b7373e0cc
|
Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-19 02:51:48 +00:00 |
|
ryan
|
477f109d97
|
Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-19 01:33:38 +00:00 |
|
ryan
|
eb91c8f770
|
Use default_category option if not cat specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-18 19:17:55 +00:00 |
|
ryan
|
5cfc1a248b
|
Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-18 19:08:38 +00:00 |
|
ryan
|
2c44f33f78
|
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: http://svn.automattic.com/wordpress/trunk@2644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-16 06:27:30 +00:00 |
|
matt
|
ee3e50ff3d
|
Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: http://svn.automattic.com/wordpress/trunk@2642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-15 18:49:47 +00:00 |
|
ryan
|
fa147528c6
|
Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-14 22:54:58 +00:00 |
|
matt
|
0ca51a3e5c
|
Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-13 08:38:42 +00:00 |
|
matt
|
1f9a608be9
|
User data migration should be complete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-13 08:32:44 +00:00 |
|
ryan
|
8f00d317de
|
Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-13 02:09:24 +00:00 |
|
matt
|
a08b652698
|
More user fixups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-13 00:05:41 +00:00 |
|
matt
|
10586c54bc
|
More user
git-svn-id: http://svn.automattic.com/wordpress/trunk@2633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-12 23:22:06 +00:00 |
|
matt
|
de9cc8b12c
|
More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-12 23:14:52 +00:00 |
|
matt
|
0c17753031
|
Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-12 20:49:13 +00:00 |
|
matt
|
a436e15576
|
Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-12 20:48:07 +00:00 |
|
ryan
|
1baf503d64
|
Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-10 23:15:13 +00:00 |
|
matt
|
1f7552af25
|
Fix for get_author_link, fixes #1430
git-svn-id: http://svn.automattic.com/wordpress/trunk@2626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-10 23:13:19 +00:00 |
|
matt
|
09adfadae0
|
Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-09 00:17:43 +00:00 |
|
matt
|
aa209f78de
|
Updating IXR to latest, fixes #1400
git-svn-id: http://svn.automattic.com/wordpress/trunk@2622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-07 07:39:39 +00:00 |
|
matt
|
c65f0168cd
|
Better pingback extraction, fixes #1268
git-svn-id: http://svn.automattic.com/wordpress/trunk@2619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-06-04 10:15:36 +00:00 |
|
matt
|
4beed03c65
|
Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-05-27 06:14:25 +00:00 |
|
matt
|
b3a5117b6d
|
Bad cat ID cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@2616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-05-27 06:10:41 +00:00 |
|