Commit Graph

1979 Commits

Author SHA1 Message Date
rboren 9490d5bef2 Fix wp_title() for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-03 17:07:53 +00:00
rboren 0584402e9f Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 19:24:40 +00:00
emc3 8fca0cb926 Security: Clean up user inputs before using.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 00:46:30 +00:00
rboren d5c9465fa9 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 17:56:16 +00:00
donncha e531de6f04 Changed length of ID field in posts table so it matches the post_id
field in other tables.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 12:25:49 +00:00
michelvaldrighi 20fc6e6625 typo/confusion, earlier patch committed in haste
git-svn-id: http://svn.automattic.com/wordpress/trunk@1724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 00:34:46 +00:00
michelvaldrighi e8a1744ac0 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: http://svn.automattic.com/wordpress/trunk@1723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-29 20:33:05 +00:00
rboren 67a8328356 Use stylesheet_url.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-29 02:13:58 +00:00
rboren f16701674d Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-28 17:55:52 +00:00
rboren 71ee7bb747 Use superglobals for m and s. Bug 321. Hat tip: christoph.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-28 01:22:35 +00:00
michelvaldrighi 877f81d625 convert trackbacks and pingbacks to use comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 13:52:46 +00:00
michelvaldrighi 171c617521 ok, I can't believe I forgot to add that in
git-svn-id: http://svn.automattic.com/wordpress/trunk@1718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 12:42:36 +00:00
michelvaldrighi 9d428766b0 fixed url_to_postid (it was the cause of pingbacks to the first post when a simple link to the blog was done)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 12:41:39 +00:00
michelvaldrighi 802bd72016 whoops, we forgot to store the comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 11:45:15 +00:00
rboren 217dd27ea9 Do not attemp to load marker data from a non-existent htaccess. Bug 308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 02:32:51 +00:00
rboren 7f5ef5c1d3 Use get_query_var to get the search terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:46:42 +00:00
rboren e61cfd4b02 Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:45:53 +00:00
michelvaldrighi 5a22f20cab fix for #317: part two, avoid including the same plugin file twice
git-svn-id: http://svn.automattic.com/wordpress/trunk@1712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-26 18:12:55 +00:00
michelvaldrighi be1a61f241 fix for #317: part one, avoid activating the same plugin twice
git-svn-id: http://svn.automattic.com/wordpress/trunk@1711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-26 18:12:12 +00:00
saxmatt 8379f2deed Typo. Hat tip: Marc van Veen
git-svn-id: http://svn.automattic.com/wordpress/trunk@1710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-26 02:26:12 +00:00
michelvaldrighi f6c1bcc60b added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: http://svn.automattic.com/wordpress/trunk@1709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-24 17:29:25 +00:00
michelvaldrighi ee856b3497 moved die() command, fixes bug #309
git-svn-id: http://svn.automattic.com/wordpress/trunk@1708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-23 12:27:52 +00:00
michelvaldrighi 25a0cec898 added From: header to the mail notification
git-svn-id: http://svn.automattic.com/wordpress/trunk@1707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-23 11:42:40 +00:00
michelvaldrighi 75caf09741 make pingback.ping use wp_new_comment
git-svn-id: http://svn.automattic.com/wordpress/trunk@1706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:45:29 +00:00
michelvaldrighi 00d3d3fec9 fixes for bug #311, by bronski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:44:35 +00:00
michelvaldrighi 93674897fc dateCreated typos
git-svn-id: http://svn.automattic.com/wordpress/trunk@1704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 12:11:05 +00:00
saxmatt b903edacea Some file editor improvements. New: Recently edited and editor sidebar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 06:33:54 +00:00
saxmatt d7364bbf70 Usability enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 23:41:27 +00:00
saxmatt 7825f763df Usability enhancements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 23:36:27 +00:00
saxmatt 43e90ca510 No longer used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 19:47:00 +00:00
saxmatt d077a61bd2 No longer used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 19:41:13 +00:00
donncha 958dd144e9 Fix by Michael Leuchtenburg so that bookmarklet respects pingback setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-20 09:37:30 +00:00
rboren 0cdc3aaff5 If we attempt path info matching but do not match, set 404. Also, retabify some code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-19 04:19:16 +00:00
rboren 75d974639b Trackback fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 22:47:43 +00:00
rboren 76d4882921 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 20:04:29 +00:00
rboren a88c2a9db9 Test for feed and trackback at the beginning of the template redirection code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 19:01:18 +00:00
michelvaldrighi 06d0270928 I was stupidly parsing dateCreated even when it was empty -- hence the crash in mw_newPost
git-svn-id: http://svn.automattic.com/wordpress/trunk@1693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 18:10:16 +00:00
michelvaldrighi 4fe649501d whoops, a dot that was removed yesterday came back when restoring the file
git-svn-id: http://svn.automattic.com/wordpress/trunk@1692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 17:03:08 +00:00
rboren dcb4808bfc Do not try to link to theme and author uris that are not there. Bug 295.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 06:08:40 +00:00
rboren 6cfc34b013 Fix boulk comment delete. Bug 291. Patch from ringmaster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:56:28 +00:00
rboren 884ebec4f5 Remove extra slashes from permalink structure.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:49:10 +00:00
rboren 3ec0bc86c0 Do not sanitize an empty title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:38:47 +00:00
rboren 120f11f4ed Do not sanitize an empty title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:36:18 +00:00
rboren 8db1ca2dfa htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 03:04:27 +00:00
michelvaldrighi a7322e87b5 big oopsie related to moving the xmlrpc.php file: somehow it got replaced by the old one. you can ignore version 1.21
git-svn-id: http://svn.automattic.com/wordpress/trunk@1685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 20:53:18 +00:00
michelvaldrighi 7c7e0fb36d moved wp-admin/xmlrpc.php to the root dir
git-svn-id: http://svn.automattic.com/wordpress/trunk@1684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 20:48:43 +00:00
michelvaldrighi 4133fc887d reverting wp-admin/xmlrpc.php changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:57:15 +00:00
michelvaldrighi 1ae5d673e4 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: http://svn.automattic.com/wordpress/trunk@1682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:11:28 +00:00
donncha b28a9e34b0 The two flags "default_ping_status" and "default_comment_status" weren't being
recorded properly.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 13:05:06 +00:00
donncha c83efe02ea When there's only one user on a blog edit.php displays an error. Fixed.
http://wordpress.org/support/6/12915


git-svn-id: http://svn.automattic.com/wordpress/trunk@1680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 10:51:23 +00:00