Commit Graph

1168 Commits

Author SHA1 Message Date
Matt Mullenweg def9d039f4 Fixes #1186 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2831 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:25:34 +00:00
Matt Mullenweg 3f1fe52b6e Make posting faster. Fixes #1580 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2828 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:19:32 +00:00
Matt Mullenweg 5ce87df525 Fixes #1578 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2827 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:17:42 +00:00
Ryan Boren 514c36a3bc Make sure extra_query_vars is an array instead of an empty string to avoid weird bug that can cause all query vars to be stomped in certain envs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2824 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 19:01:45 +00:00
Ryan Boren 4680f618c3 Allow query strings at the end of cruftless URIs. Props Owen and Mark. fixes #1581
git-svn-id: https://develop.svn.wordpress.org/trunk@2823 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:17:52 +00:00
Ryan Boren 61409382ad url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: https://develop.svn.wordpress.org/trunk@2822 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:07:12 +00:00
Matt Mullenweg 9cc35e21c4 More and nextpage, from ringmaster. Fixes #1564
git-svn-id: https://develop.svn.wordpress.org/trunk@2820 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 01:25:19 +00:00
Matt Mullenweg aa4db5d4ef Parse
git-svn-id: https://develop.svn.wordpress.org/trunk@2816 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-28 17:35:06 +00:00
Matt Mullenweg 938ebec83a Enter now works for popups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2815 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-28 08:30:21 +00:00
Matt Mullenweg a7f34532cf Move images
git-svn-id: https://develop.svn.wordpress.org/trunk@2813 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 19:10:56 +00:00
Matt Mullenweg eb5e5c8e14 Big JS move
git-svn-id: https://develop.svn.wordpress.org/trunk@2812 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 18:48:56 +00:00
Matt Mullenweg a1e2c715b7 Errors are broken.
git-svn-id: https://develop.svn.wordpress.org/trunk@2810 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 18:31:42 +00:00
Matt Mullenweg cfed5d658f Optimization from Skippy, fixes #1393
git-svn-id: https://develop.svn.wordpress.org/trunk@2806 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:51:14 +00:00
Matt Mullenweg dde5ccd8ef Don't hardcode file type, fixes #1553
git-svn-id: https://develop.svn.wordpress.org/trunk@2805 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:48:23 +00:00
Matt Mullenweg d40e12b750 Fixes #1357
git-svn-id: https://develop.svn.wordpress.org/trunk@2803 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:43:11 +00:00
Ryan Boren 91c19c4060 Call time pass by reference not allowed. Use the array trick. fixes #1583
git-svn-id: https://develop.svn.wordpress.org/trunk@2798 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 02:01:44 +00:00
Ryan Boren 59b1ba40c8 get_links() purtification. Props MaThIbUs. fixes #1244
git-svn-id: https://develop.svn.wordpress.org/trunk@2795 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 01:46:18 +00:00
Ryan Boren 720b7c5d36 Capabilities fixes from the O man. fixes #1561
git-svn-id: https://develop.svn.wordpress.org/trunk@2793 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 01:37:41 +00:00
Matt Mullenweg 355b4acec9 Disabled in safe mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@2790 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 21:21:24 +00:00
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
Ryan Boren 1b4bc53f13 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +00:00
Matt Mullenweg 6f9483fbe4 Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2637 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:38:42 +00:00
Matt Mullenweg f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Ryan Boren 8a2da7e506 Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@2635 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 02:09:24 +00:00
Matt Mullenweg 8d1546d25f More user fixups
git-svn-id: https://develop.svn.wordpress.org/trunk@2634 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 00:05:41 +00:00
Matt Mullenweg 7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00
Matt Mullenweg 47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg 1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Matt Mullenweg d535fac9bf Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2630 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:48:07 +00:00
Ryan Boren 7d6fc8af08 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: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg 7212a28e17 Fix for get_author_link, fixes #1430
git-svn-id: https://develop.svn.wordpress.org/trunk@2626 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:13:19 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 61e7a703d1 Updating IXR to latest, fixes #1400
git-svn-id: https://develop.svn.wordpress.org/trunk@2622 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-07 07:39:39 +00:00
Matt Mullenweg 472b800ab4 Better pingback extraction, fixes #1268
git-svn-id: https://develop.svn.wordpress.org/trunk@2619 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-04 10:15:36 +00:00
Matt Mullenweg f0f4effd6e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2617 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:14:25 +00:00
Matt Mullenweg 64e674dad8 Bad cat ID cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Matt Mullenweg a2f90488a0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2613 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-19 17:44:58 +00:00
Ryan Boren 0edec9ae9e Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren 239462c326 More url_to_postid() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2611 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 02:27:43 +00:00
Ryan Boren ec2938185d More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2610 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 00:04:30 +00:00
Ryan Boren c7783bbda4 Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2609 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:59:42 +00:00
Ryan Boren 7a561d0d00 Make sure cache is primed before use in get_category_children().
git-svn-id: https://develop.svn.wordpress.org/trunk@2608 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:57:47 +00:00
Matt Mullenweg 23be7d16b7 Newline regression - http://mosquito.wordpress.org/view.php?id=263 - Hat tip: mlittle
git-svn-id: https://develop.svn.wordpress.org/trunk@2607 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 00:22:30 +00:00
Matt Mullenweg 7d07dc1201 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg 4b6aa188cd http://mosquito.wordpress.org/view.php?id=1331 - Hat tip: Mike the Magnificant
git-svn-id: https://develop.svn.wordpress.org/trunk@2603 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:13:13 +00:00
Matt Mullenweg 07fc6d5bac http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?
git-svn-id: https://develop.svn.wordpress.org/trunk@2602 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:11:26 +00:00
Matt Mullenweg 16e3eb7431 http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: https://develop.svn.wordpress.org/trunk@2601 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:09:21 +00:00
Matt Mullenweg 49a583cdcc About to start the patchfest
git-svn-id: https://develop.svn.wordpress.org/trunk@2599 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 20:59:10 +00:00
Matt Mullenweg 0fcdf99bae http://mosquito.wordpress.org/view.php?id=1353 - Hat tip MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2598 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 20:31:59 +00:00
Matt Mullenweg 83412e8dfe Boop
git-svn-id: https://develop.svn.wordpress.org/trunk@2596 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 19:04:43 +00:00
Matt Mullenweg c9b76b0cf4 Use correct category ID variable - http://mosquito.wordpress.org/view.php?id=1319
git-svn-id: https://develop.svn.wordpress.org/trunk@2589 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 10:59:36 +00:00
Matt Mullenweg 58917f8be1 Use class instead of ID - http://mosquito.wordpress.org/view.php?id=1320
git-svn-id: https://develop.svn.wordpress.org/trunk@2588 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 10:58:14 +00:00
Matt Mullenweg c0fdcbaa7c Version numbers are always irrational anyway
git-svn-id: https://develop.svn.wordpress.org/trunk@2585 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-05 23:13:24 +00:00
Matt Mullenweg e749e54a6b Add filter to page list
git-svn-id: https://develop.svn.wordpress.org/trunk@2583 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-04 20:57:12 +00:00
Matt Mullenweg 58ee37098a Don't P on address
git-svn-id: https://develop.svn.wordpress.org/trunk@2582 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 22:31:20 +00:00
Matt Mullenweg 9648173c70 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00
Matt Mullenweg ec343a0155 Texturize tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@2578 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-01 19:21:42 +00:00
Ryan Boren e932142953 Fix comment auto-approval for authors/admins. http://mosquito.wordpress.org/view.php?id=1291 Props: kim, coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2576 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-27 23:55:06 +00:00
Ryan Boren 41b7c1ba73 Fix WP version in pingbacks. http://mosquito.wordpress.org/view.php?id=1285 Props: error
git-svn-id: https://develop.svn.wordpress.org/trunk@2575 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-26 05:51:25 +00:00
Matt Mullenweg 9843451d11 Extended ping support
git-svn-id: https://develop.svn.wordpress.org/trunk@2572 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-22 21:17:10 +00:00
Ryan Boren 685705d9f4 Handle theme name collisions more elegantly.
git-svn-id: https://develop.svn.wordpress.org/trunk@2568 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 01:35:52 +00:00
Matt Mullenweg 9859c8dc9f Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: https://develop.svn.wordpress.org/trunk@2567 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:55:30 +00:00
Ryan Boren b7c7267534 Add echo option to wp_list_pages() and subordinates. http://mosquito.wordpress.org/view.php?id=1270 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2566 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:49:15 +00:00
Matt Mullenweg aff97a560f Whitelist from own domain. http://mosquito.wordpress.org/view.php?id=999
git-svn-id: https://develop.svn.wordpress.org/trunk@2562 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 22:01:24 +00:00
Matt Mullenweg acf9076fc0 Dupe comment check - http://mosquito.wordpress.org/view.php?id=1265
git-svn-id: https://develop.svn.wordpress.org/trunk@2561 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:56:28 +00:00
Matt Mullenweg 1589419508 Don't enclose different things multiple times - http://mosquito.wordpress.org/view.php?id=1197
git-svn-id: https://develop.svn.wordpress.org/trunk@2560 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:07:19 +00:00
Matt Mullenweg 2e3c23045c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 03:37:23 +00:00
Ryan Boren d1978523e8 Remove svn:executable from streams.php and gettext.php http://mosquito.wordpress.org/view.php?id=1261
git-svn-id: https://develop.svn.wordpress.org/trunk@2554 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 02:46:48 +00:00
Matt Mullenweg a1ac3e7120 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: https://develop.svn.wordpress.org/trunk@2552 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:24:05 +00:00
Matt Mullenweg d0af63764e More consistent use of cat_ID vs category_id
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +00:00
Matt Mullenweg d7c18937a1 Optimiation from Denis
git-svn-id: https://develop.svn.wordpress.org/trunk@2550 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 05:27:24 +00:00
Matt Mullenweg 4ea0b88e54 Missing backslash, fixes http://mosquito.wordpress.org/view.php?id=1224
git-svn-id: https://develop.svn.wordpress.org/trunk@2549 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:41:22 +00:00
Matt Mullenweg 399e9acf58 Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: https://develop.svn.wordpress.org/trunk@2548 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:35:48 +00:00
Matt Mullenweg 2d24171b3a Better message.
git-svn-id: https://develop.svn.wordpress.org/trunk@2547 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:25:14 +00:00
Matt Mullenweg e4b3c5f46d Test for true.
git-svn-id: https://develop.svn.wordpress.org/trunk@2546 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:11:55 +00:00
Matt Mullenweg e9d456ef46 Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254
git-svn-id: https://develop.svn.wordpress.org/trunk@2545 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:10:12 +00:00
Ryan Boren bd7d179803 Use UTC in comments rss feed. http://mosquito.wordpress.org/view.php?id=1256 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2543 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 00:23:55 +00:00
Ryan Boren 79ee1c30f1 In same category support for next and previous post navigation. http://mosquito.wordpress.org/view.php?id=1252 Props: skippy
git-svn-id: https://develop.svn.wordpress.org/trunk@2542 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-18 21:47:35 +00:00
Ryan Boren f558669a6e Filter the title in next_post() and previous_post(). Mark next_post() and previous_post() as deprecated. Update the default theme to use next_post_link() and previous_post_link(). http://mosquito.wordpress.org/view.php?id=1241 Hat tip: wyrfel
git-svn-id: https://develop.svn.wordpress.org/trunk@2538 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-17 17:09:19 +00:00
Ryan Boren 5cf9bdb5ae Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
git-svn-id: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Ryan Boren 5256ab4601 LIMIT 1 in the whitelist query. Props: Brian Dupuis
git-svn-id: https://develop.svn.wordpress.org/trunk@2531 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:50:13 +00:00
Ryan Boren 4d31612412 Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2527 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-12 21:12:28 +00:00
Ryan Boren 1c623ee737 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren 8324f6962a Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
git-svn-id: https://develop.svn.wordpress.org/trunk@2525 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:30:57 +00:00
Ryan Boren 2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren 16a3144b00 Use comment count cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@2522 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 07:09:26 +00:00
Ryan Boren ace6f68c14 Don't escape broken vertical bar.
git-svn-id: https://develop.svn.wordpress.org/trunk@2520 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-08 14:16:29 +00:00
Matt Mullenweg be9bd11994 Adding new comment template hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@2518 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-06 15:13:56 +00:00
Ryan Boren 181201a4d6 Add entity 2 ncr converter. http://mosquito.wordpress.org/view.php?id=929 Props: Kaf Oseo
git-svn-id: https://develop.svn.wordpress.org/trunk@2517 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-05 17:25:57 +00:00
Ryan Boren 0dd2abae98 Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren eca5d88e60 Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
git-svn-id: https://develop.svn.wordpress.org/trunk@2515 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 22:36:09 +00:00
Ryan Boren a004444b56 Recognize level 0 users in wp_loginout() and wp_register(). http://mosquito.wordpress.org/view.php?id=1202 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2513 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 17:38:41 +00:00
Ryan Boren b6b4c04371 In get_category(), check for empty category id so that we do not create a malformed SQL query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2509 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:09:31 +00:00
Ryan Boren 185dbb4e7a Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2508 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-02 19:51:12 +00:00
Ryan Boren 01d17183e2 Add query string style API support to wp_get_linksbyname(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2507 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:45:26 +00:00
Ryan Boren db62c48897 add_query_arg() dropped the passed in query string if the string did not contain any path elements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2506 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:42:46 +00:00
Ryan Boren 02ef551922 Add query string style API support to wp_get_links(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2505 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:15:18 +00:00
Ryan Boren e2826065e4 More category cache cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2504 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:25:54 +00:00
Ryan Boren 78d13aebb6 You can't index an array with an object ref. Silly Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2503 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:00:39 +00:00
Ryan Boren 3122bbc8d2 Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
git-svn-id: https://develop.svn.wordpress.org/trunk@2502 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:44:50 +00:00
Ryan Boren 7d59187e7a Add some more cache handling to get_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2500 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 23:33:37 +00:00
Ryan Boren 92bfcd3e37 Fix Manage->Posts paging when running WP in a subdir. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2499 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 06:51:55 +00:00
Ryan Boren 2b8aad1549 Accidentally dropped admin_email var. http://mosquito.wordpress.org/view.php?id=1190 Props: MtDewVirus
git-svn-id: https://develop.svn.wordpress.org/trunk@2498 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 05:45:30 +00:00
Ryan Boren 8c461095fc Remove old, unused variables. http://mosquito.wordpress.org/view.php?id=1187 Props: Alex Parkhomenko
git-svn-id: https://develop.svn.wordpress.org/trunk@2497 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 22:35:15 +00:00
Ryan Boren 3213f820c9 Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: https://develop.svn.wordpress.org/trunk@2493 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:19:50 +00:00
Ryan Boren 3ddc18abb9 Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
git-svn-id: https://develop.svn.wordpress.org/trunk@2492 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:11:36 +00:00
Ryan Boren 198665bef2 get_post(): Don't use for cache lookup when a post id is passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2485 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:33:56 +00:00
Ryan Boren c5b906d680 Add Latin Extended-A decompositions to remove_accents(). http://mosquito.wordpress.org/view.php?id=836
git-svn-id: https://develop.svn.wordpress.org/trunk@2484 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:12:24 +00:00
Ryan Boren cd81a83c07 Decompose U+00DF LATIN SMALL LETTER SHARP S to U+0073 LATIN SMALL LETTER S. Reindent decomposition table. http://mosquito.wordpress.org/view.php?id=1180
git-svn-id: https://develop.svn.wordpress.org/trunk@2483 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:38:29 +00:00
Ryan Boren 5f3362fbf5 Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2482 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:04:16 +00:00
Ryan Boren 82d89d8d7c Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2481 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-28 02:34:16 +00:00
Ryan Boren 7413ccfe72 Get all generations of page children, not just the first, when using child_of. http://mosquito.wordpress.org/view.php?id=1171
git-svn-id: https://develop.svn.wordpress.org/trunk@2480 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 22:17:23 +00:00
Ryan Boren 9536835eb4 Split post and page caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@2479 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 21:56:10 +00:00
Ryan Boren 8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren 8480784cda Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-25 21:41:45 +00:00
Ryan Boren e3aa5de539 Feeds should always show x posts, not x days. http://mosquito.wordpress.org/view.php?id=1159
git-svn-id: https://develop.svn.wordpress.org/trunk@2475 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-23 21:39:22 +00:00
Ryan Boren e3728e7b6a Respect post password protection for enclosures. http://mosquito.wordpress.org/view.php?id=1040
git-svn-id: https://develop.svn.wordpress.org/trunk@2472 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 17:49:19 +00:00
Ryan Boren f4e023b68a Add posts_orderby filter. http://mosquito.wordpress.org/view.php?id=1149 Props: davidchait
git-svn-id: https://develop.svn.wordpress.org/trunk@2466 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 01:55:07 +00:00
Ryan Boren 2e2dde0944 Honor echo var in get_links(). http://mosquito.wordpress.org/view.php?id=1023 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2461 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 00:08:57 +00:00
Matt Mullenweg 91bae528d5 Missing UA - http://mosquito.wordpress.org/view.php?id=1086
git-svn-id: https://develop.svn.wordpress.org/trunk@2457 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 15:48:30 +00:00
Matt Mullenweg 408ca99efe Fix from Kimmo/Craig
git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 06:07:36 +00:00
Matt Mullenweg 5b52ad1017 Use installing variable (from Donncha)
git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 23:34:06 +00:00
Ryan Boren 85c7025241 Fix fallback case for __ngettext(). http://mosquito.wordpress.org/view.php?id=1125
git-svn-id: https://develop.svn.wordpress.org/trunk@2454 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 18:15:18 +00:00
Ryan Boren d381ae36da Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: https://develop.svn.wordpress.org/trunk@2453 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 03:39:02 +00:00
Ryan Boren 95e5d37a0d Fix all/none handling in dropdown_cats(). http://mosquito.wordpress.org/view.php?id=1120 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2450 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-16 21:36:18 +00:00
Ryan Boren 6d44a0cac3 Exclude admin from author list based on user_login instead of user_nickname since user_nickname can be changed. http://mosquito.wordpress.org/view.php?id=1090 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2444 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 01:09:49 +00:00
Ryan Boren 310589c667 Apply filters to auto excerpt before tags are stripped. http://mosquito.wordpress.org/view.php?id=918 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2443 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 01:02:04 +00:00
Ryan Boren 1e268f40ac Apply filters to trackback content. http://mosquito.wordpress.org/view.php?id=1085 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2442 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 00:55:21 +00:00
Ryan Boren af3b90cc1e Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Ryan Boren df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Ryan Boren 73b0feb5b8 Don't allow a page to be its own parent. http://mosquito.wordpress.org/view.php?id=1095
git-svn-id: https://develop.svn.wordpress.org/trunk@2435 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 01:24:18 +00:00
Ryan Boren 57f958a020 Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2432 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:41:04 +00:00
Ryan Boren 96c87298e8 Fix do_action arg handling. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2430 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 00:57:34 +00:00
Matt Mullenweg cac1655fae Past and future time diffs, hat tip Eric Meyer. http://mosquito.wordpress.org/view.php?id=1059
git-svn-id: https://develop.svn.wordpress.org/trunk@2428 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 08:01:02 +00:00
Ryan Boren 9e7ef95b4c Cache the max number of pages to avoid multiple queries. http://mosquito.wordpress.org/view.php?id=1063
git-svn-id: https://develop.svn.wordpress.org/trunk@2422 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 04:15:30 +00:00
Ryan Boren 3bacf431ae Page caching fixes. Mosquito bugs 920, 927, and 934.
git-svn-id: https://develop.svn.wordpress.org/trunk@2421 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 03:16:30 +00:00
Ryan Boren d2b598c1c3 Add missing globals to post_custom(). http://mosquito.wordpress.org/view.php?id=1058 Props: kellan
git-svn-id: https://develop.svn.wordpress.org/trunk@2420 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 16:28:57 +00:00
Ryan Boren 35be0f6333 Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp
git-svn-id: https://develop.svn.wordpress.org/trunk@2419 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 01:20:08 +00:00
Matt Mullenweg d22dd5f1bd http://mosquito.wordpress.org/view.php?id=1049
git-svn-id: https://develop.svn.wordpress.org/trunk@2418 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 15:20:56 +00:00
Matt Mullenweg 6470c3f14f Cleaned up enclosures, factored out header code, fixed validation -
http://mosquito.wordpress.org/view.php?id=963


git-svn-id: https://develop.svn.wordpress.org/trunk@2416 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 08:56:47 +00:00
Matt Mullenweg 794f7cf7fe Fix for http://mosquito.wordpress.org/view.php?id=980
git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 06:48:57 +00:00
Ryan Boren e706104b8b Do not skip whitelist checking if moderation keys are empty. http://mosquito.wordpress.org/view.php?id=1028 Props: ColdForged
git-svn-id: https://develop.svn.wordpress.org/trunk@2414 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 00:16:06 +00:00
Ryan Boren 346d169130 Fix %post_id% and date collision avoidance. http://mosquito.wordpress.org/view.php?id=1027
git-svn-id: https://develop.svn.wordpress.org/trunk@2410 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 18:13:31 +00:00
Matt Mullenweg 440dbf0efa Missing;
git-svn-id: https://develop.svn.wordpress.org/trunk@2408 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 02:02:15 +00:00
Matt Mullenweg 651f4d0631 Fix from Michel for XML-RPC error - http://mosquito.wordpress.org/view.php?id=829
git-svn-id: https://develop.svn.wordpress.org/trunk@2407 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-04 20:43:57 +00:00
Matt Mullenweg 2bacf5606e Don't count drafts/etc against post count - http://mosquito.wordpress.org/view.php?id=1010
git-svn-id: https://develop.svn.wordpress.org/trunk@2403 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:59:19 +00:00
Matt Mullenweg 48b52b3aa9 Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: https://develop.svn.wordpress.org/trunk@2402 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:56:21 +00:00
Ryan Boren 7f5937bc6b apply_filter fixes from michel. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2398 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 15:28:32 +00:00
Matt Mullenweg 2155d47334 Fix for emergent whitelisting, hat tip MtDewVirus - http://mosquito.wordpress.org/view.php?id=995
git-svn-id: https://develop.svn.wordpress.org/trunk@2397 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 10:10:59 +00:00
Matt Mullenweg a0eba624c5 Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
git-svn-id: https://develop.svn.wordpress.org/trunk@2396 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 09:10:12 +00:00
Matt Mullenweg 0de297805a Change require to include so the files are only parsed if the statement is evaluated true.
git-svn-id: https://develop.svn.wordpress.org/trunk@2395 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-28 17:15:53 +00:00
Ryan Boren 0634c589f1 Bump php-gettext to version 1.0.3. http://mosquito.wordpress.org/view.php?id=1001 Mad props to Nico Kaiser.
git-svn-id: https://develop.svn.wordpress.org/trunk@2394 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-28 16:31:01 +00:00
Ryan Boren 361994da2e Pass arg from bloginfo_rss() to get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=992 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2389 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 16:42:57 +00:00
Ryan Boren 4aa9fdc013 Make sure get_the_category() returns an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@2387 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 04:47:38 +00:00
Ryan Boren 87bbe3b04f Use index.php for feed links instead of wp-*.php http://mosquito.wordpress.org/view.php?id=915
git-svn-id: https://develop.svn.wordpress.org/trunk@2384 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-26 06:12:16 +00:00
Matt Mullenweg 1fb1868801 Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: https://develop.svn.wordpress.org/trunk@2382 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 17:46:27 +00:00
Ryan Boren e9298b1772 Add get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=971 Hat tip: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2380 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 15:52:28 +00:00
Ryan Boren f0b153775a Add get_the_category_list(). http://mosquito.wordpress.org/view.php?id=970 Hat tip: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2379 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 15:50:55 +00:00
Matt Mullenweg fd9ab661fe Version bump, testing new list
git-svn-id: https://develop.svn.wordpress.org/trunk@2371 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 07:02:12 +00:00
Ryan Boren f22a3f3283 Do not translate dates in feeds. http://mosquito.wordpress.org/view.php?id=924. Reviewed by morganiq.
git-svn-id: https://develop.svn.wordpress.org/trunk@2366 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 04:19:43 +00:00
Ryan Boren 7ba461a96c Remove option from wp_mail(). The additional parameters argument to mail() is non-portable and not useful to us. Props: dalziel. http://mosquito.wordpress.org/view.php?id=855
git-svn-id: https://develop.svn.wordpress.org/trunk@2365 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-19 04:17:34 +00:00
michelvaldrighi 4b4f99f127 reverting the previous patch: it made it impossible to sort the list by category name
git-svn-id: https://develop.svn.wordpress.org/trunk@2364 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-18 16:42:49 +00:00
Matt Mullenweg 0f15eb8785 Trackback ending http://mosquito.wordpress.org/view.php?id=884
git-svn-id: https://develop.svn.wordpress.org/trunk@2361 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 09:03:23 +00:00
michelvaldrighi 7a45d0e309 whoops, make wp_list_pages not spew a warning when there are no pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2360 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 00:11:35 +00:00
Dougal Campbell 0a24ddec5a Oops. Stupid typo. Thanks, Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2358 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 22:01:52 +00:00
Dougal Campbell 586092fa0a This really deserves to be in a separate function so that plugins can get at it more easily, don't you think?
git-svn-id: https://develop.svn.wordpress.org/trunk@2357 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 21:35:58 +00:00
michelvaldrighi 523757d3e6 getting the list of categories from cat_counts if hide_empty is true, saves one query
git-svn-id: https://develop.svn.wordpress.org/trunk@2356 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 16:06:07 +00:00
michelvaldrighi 8150ffc1a3 if permalink_structure doesn't have %category%, don't bother querying categories
git-svn-id: https://develop.svn.wordpress.org/trunk@2355 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:49:02 +00:00
michelvaldrighi efc4b4e54d added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2354 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:12:04 +00:00
michelvaldrighi 68d7c93974 unified cache_userdata indexes by referencing user_login to ID, got rid of the useless, and broken, get_userid (get_userdatabylogin provides the same functionnality anyway)
git-svn-id: https://develop.svn.wordpress.org/trunk@2353 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 14:29:55 +00:00
Dougal Campbell 83a9308954 I'm pretty sure that this should be get_theme_root(), not get_theme_base()
git-svn-id: https://develop.svn.wordpress.org/trunk@2350 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 19:55:12 +00:00
Ryan Boren f35d0429c3 Fix category links when permalinks are not enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@2347 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 06:52:38 +00:00
Matt Mullenweg 1a35f3c783 *cough*
git-svn-id: https://develop.svn.wordpress.org/trunk@2345 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 01:24:11 +00:00
Matt Mullenweg 28fb881767 Wrong line
git-svn-id: https://develop.svn.wordpress.org/trunk@2344 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:50:23 +00:00
Matt Mullenweg 9b6518f605 Make excerpt stuff a filter
git-svn-id: https://develop.svn.wordpress.org/trunk@2341 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:21:21 +00:00
Ryan Boren fe2c881868 Make wp_setcookie() and wp_clearcookie() replaceable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2340 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:17:21 +00:00
Matt Mullenweg 8c0bda2b91 Accidentally removed H2
git-svn-id: https://develop.svn.wordpress.org/trunk@2339 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 23:37:28 +00:00
Matt Mullenweg bb46173adf User agent in trackbacks, good idea - http://mosquito.wordpress.org/view.php?id=873
git-svn-id: https://develop.svn.wordpress.org/trunk@2334 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:48:48 +00:00
Ryan Boren 35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Matt Mullenweg 128ee4de8a http://mosquito.wordpress.org/view.php?id=871
git-svn-id: https://develop.svn.wordpress.org/trunk@2330 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 07:09:51 +00:00
Matt Mullenweg 60c3b346cd Fix for single_month_title - http://mosquito.wordpress.org/view.php?id=867
git-svn-id: https://develop.svn.wordpress.org/trunk@2327 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 06:48:51 +00:00
Matt Mullenweg a5fec00554 Don't let there be duplicate post_names
git-svn-id: https://develop.svn.wordpress.org/trunk@2323 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:51:14 +00:00
Matt Mullenweg ed8a84e4cd html_type to allow for true XHTML.
git-svn-id: https://develop.svn.wordpress.org/trunk@2321 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:36:57 +00:00
Matt Mullenweg b217e56e28 More efficient get_category_link - http://mosquito.wordpress.org/view.php?id=590
git-svn-id: https://develop.svn.wordpress.org/trunk@2316 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:27:50 +00:00
Matt Mullenweg bb8f038992 Removal of changes.xml bloat.
git-svn-id: https://develop.svn.wordpress.org/trunk@2313 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:11:23 +00:00
Matt Mullenweg 1fb676a13d Better pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 01:57:48 +00:00
Matt Mullenweg 3b25d5706b Support for categories - http://mosquito.wordpress.org/view.php?id=52
git-svn-id: https://develop.svn.wordpress.org/trunk@2311 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:58:51 +00:00
Matt Mullenweg a84ebfeaa1 Show post count in dropdown - http://mosquito.wordpress.org/view.php?id=596
git-svn-id: https://develop.svn.wordpress.org/trunk@2306 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 23:46:33 +00:00
Ryan Boren 3d321e23a5 Use the object's is_* vars instead of the global is_* functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@2300 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:45:04 +00:00
Ryan Boren 6ee469cf88 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: https://develop.svn.wordpress.org/trunk@2299 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:42:22 +00:00
Ryan Boren 709c503d60 Make adding new feeds to rewrite rules easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@2297 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:42:40 +00:00
Ryan Boren 59e46cbb3e /archives/%post_id% permalinks break for post ids over 1000. http://mosquito.wordpress.org/view.php?id=847
git-svn-id: https://develop.svn.wordpress.org/trunk@2296 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:26:50 +00:00
Ryan Boren 093d13ed1c Allow category and date filtering to coincide. Allow any number of spaces or commas to serve as item separators in the category and author arrays. http://mosquito.wordpress.org/view.php?id=221
git-svn-id: https://develop.svn.wordpress.org/trunk@2295 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 17:52:58 +00:00
Ryan Boren e5ba4f2302 Add theme directory location hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@2292 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 19:06:06 +00:00
Matt Mullenweg ddc38cc3cf Allow custom comment template - http://mosquito.wordpress.org/view.php?id=632
git-svn-id: https://develop.svn.wordpress.org/trunk@2289 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:27 +00:00
Matt Mullenweg fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg f116d6b4f0 Styleme - http://mosquito.wordpress.org/view.php?id=856
git-svn-id: https://develop.svn.wordpress.org/trunk@2283 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 07:31:56 +00:00
Matt Mullenweg 4bfdef5908 Don't show pages or objects in recent posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@2281 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 05:25:09 +00:00
Matt Mullenweg 5352fe6dbe Invalid XHTML possibility - http://mosquito.wordpress.org/view.php?id=518
git-svn-id: https://develop.svn.wordpress.org/trunk@2280 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 02:05:58 +00:00
Matt Mullenweg dd7a83f22c We send the charset so we shouldn't need to do character conversion
git-svn-id: https://develop.svn.wordpress.org/trunk@2277 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 01:22:36 +00:00