Commit Graph

1729 Commits

Author SHA1 Message Date
Ryan Boren
466a81805d Fix wp_title() for pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1729 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-03 17:07:53 +00:00
Ryan Boren
1268dcb29b 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: https://develop.svn.wordpress.org/trunk@1728 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 19:24:40 +00:00
Dougal Campbell
d2ed07b4bf Security: Clean up user inputs before using.
git-svn-id: https://develop.svn.wordpress.org/trunk@1727 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 00:46:30 +00:00
Ryan Boren
ebbf002430 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1726 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 17:56:16 +00:00
Donncha O Caoimh
af25d70842 Changed length of ID field in posts table so it matches the post_id
field in other tables.


git-svn-id: https://develop.svn.wordpress.org/trunk@1725 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 12:25:49 +00:00
michelvaldrighi
c2e6a2fb55 typo/confusion, earlier patch committed in haste
git-svn-id: https://develop.svn.wordpress.org/trunk@1724 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 00:34:46 +00:00
michelvaldrighi
5f1af068d7 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: https://develop.svn.wordpress.org/trunk@1723 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-29 20:33:05 +00:00
Ryan Boren
eac4b6e090 Use stylesheet_url.
git-svn-id: https://develop.svn.wordpress.org/trunk@1722 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-29 02:13:58 +00:00
Ryan Boren
b4af651dcb Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: https://develop.svn.wordpress.org/trunk@1721 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-28 17:55:52 +00:00
Ryan Boren
bbbd99a6db Use superglobals for m and s. Bug 321. Hat tip: christoph.
git-svn-id: https://develop.svn.wordpress.org/trunk@1720 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-28 01:22:35 +00:00
michelvaldrighi
85be69ad6d convert trackbacks and pingbacks to use comment_type
git-svn-id: https://develop.svn.wordpress.org/trunk@1719 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 13:52:46 +00:00
michelvaldrighi
4fe532990f ok, I can't believe I forgot to add that in
git-svn-id: https://develop.svn.wordpress.org/trunk@1718 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:42:36 +00:00
michelvaldrighi
93a21b3596 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: https://develop.svn.wordpress.org/trunk@1717 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:41:39 +00:00
michelvaldrighi
bb232bd2d9 whoops, we forgot to store the comment_type
git-svn-id: https://develop.svn.wordpress.org/trunk@1716 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 11:45:15 +00:00
Ryan Boren
43a8441b9c Do not attemp to load marker data from a non-existent htaccess. Bug 308.
git-svn-id: https://develop.svn.wordpress.org/trunk@1715 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 02:32:51 +00:00
Ryan Boren
c6ee28749c Use get_query_var to get the search terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@1714 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:46:42 +00:00
Ryan Boren
606c252dce Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: https://develop.svn.wordpress.org/trunk@1713 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:45:53 +00:00
michelvaldrighi
a1ac2bfa35 fix for #317: part two, avoid including the same plugin file twice
git-svn-id: https://develop.svn.wordpress.org/trunk@1712 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-26 18:12:55 +00:00
michelvaldrighi
636c018384 fix for #317: part one, avoid activating the same plugin twice
git-svn-id: https://develop.svn.wordpress.org/trunk@1711 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-26 18:12:12 +00:00
Matt Mullenweg
e199349fb8 Typo. Hat tip: Marc van Veen
git-svn-id: https://develop.svn.wordpress.org/trunk@1710 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-26 02:26:12 +00:00
michelvaldrighi
9292898d64 added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: https://develop.svn.wordpress.org/trunk@1709 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-24 17:29:25 +00:00
michelvaldrighi
4e644c8b52 moved die() command, fixes bug #309
git-svn-id: https://develop.svn.wordpress.org/trunk@1708 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-23 12:27:52 +00:00
michelvaldrighi
24deadc930 added From: header to the mail notification
git-svn-id: https://develop.svn.wordpress.org/trunk@1707 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-23 11:42:40 +00:00
michelvaldrighi
2b1066d6d7 make pingback.ping use wp_new_comment
git-svn-id: https://develop.svn.wordpress.org/trunk@1706 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 19:45:29 +00:00
michelvaldrighi
65a78d2dd6 fixes for bug #311, by bronski
git-svn-id: https://develop.svn.wordpress.org/trunk@1705 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 19:44:35 +00:00
michelvaldrighi
0115e0cd00 dateCreated typos
git-svn-id: https://develop.svn.wordpress.org/trunk@1704 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 12:11:05 +00:00
Matt Mullenweg
6213488be3 Some file editor improvements. New: Recently edited and editor sidebar.
git-svn-id: https://develop.svn.wordpress.org/trunk@1703 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 06:33:54 +00:00
Matt Mullenweg
9524e9134c Usability enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1702 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 23:41:27 +00:00
Matt Mullenweg
562bb9223b Usability enhancements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1701 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 23:36:27 +00:00
Matt Mullenweg
c3bcbc395e No longer used.
git-svn-id: https://develop.svn.wordpress.org/trunk@1700 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 19:47:00 +00:00
Matt Mullenweg
2c08301539 No longer used.
git-svn-id: https://develop.svn.wordpress.org/trunk@1699 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 19:41:13 +00:00
Donncha O Caoimh
ae0602d974 Fix by Michael Leuchtenburg so that bookmarklet respects pingback setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1698 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-20 09:37:30 +00:00
Ryan Boren
fee2d2df3c If we attempt path info matching but do not match, set 404. Also, retabify some code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1697 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-19 04:19:16 +00:00
Ryan Boren
d278d6b8ae Trackback fix ups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1696 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 22:47:43 +00:00
Ryan Boren
cf529fe462 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: https://develop.svn.wordpress.org/trunk@1695 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 20:04:29 +00:00
Ryan Boren
1583a85abc Test for feed and trackback at the beginning of the template redirection code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1694 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 19:01:18 +00:00
michelvaldrighi
e2200573b9 I was stupidly parsing dateCreated even when it was empty -- hence the crash in mw_newPost
git-svn-id: https://develop.svn.wordpress.org/trunk@1693 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 18:10:16 +00:00
michelvaldrighi
581f1a26d7 whoops, a dot that was removed yesterday came back when restoring the file
git-svn-id: https://develop.svn.wordpress.org/trunk@1692 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 17:03:08 +00:00
Ryan Boren
15d8a376f7 Do not try to link to theme and author uris that are not there. Bug 295.
git-svn-id: https://develop.svn.wordpress.org/trunk@1691 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 06:08:40 +00:00
Ryan Boren
85acf6cfc4 Fix boulk comment delete. Bug 291. Patch from ringmaster.
git-svn-id: https://develop.svn.wordpress.org/trunk@1690 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:56:28 +00:00
Ryan Boren
de9329d95b Remove extra slashes from permalink structure.
git-svn-id: https://develop.svn.wordpress.org/trunk@1689 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:49:10 +00:00
Ryan Boren
f7d9aadc28 Do not sanitize an empty title.
git-svn-id: https://develop.svn.wordpress.org/trunk@1688 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:38:47 +00:00
Ryan Boren
8b407a6db1 Do not sanitize an empty title.
git-svn-id: https://develop.svn.wordpress.org/trunk@1687 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:36:18 +00:00
Ryan Boren
1efe0af8c3 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: https://develop.svn.wordpress.org/trunk@1686 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 03:04:27 +00:00
michelvaldrighi
0e1a09470b 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: https://develop.svn.wordpress.org/trunk@1685 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 20:53:18 +00:00
michelvaldrighi
38116183dd moved wp-admin/xmlrpc.php to the root dir
git-svn-id: https://develop.svn.wordpress.org/trunk@1684 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 20:48:43 +00:00
michelvaldrighi
d190b9453c reverting wp-admin/xmlrpc.php changes
git-svn-id: https://develop.svn.wordpress.org/trunk@1683 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:57:15 +00:00
michelvaldrighi
511ff56068 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: https://develop.svn.wordpress.org/trunk@1682 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:11:28 +00:00
Donncha O Caoimh
7e597f05a4 The two flags "default_ping_status" and "default_comment_status" weren't being
recorded properly.


git-svn-id: https://develop.svn.wordpress.org/trunk@1681 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 13:05:06 +00:00
Donncha O Caoimh
febf75f50d When there's only one user on a blog edit.php displays an error. Fixed.
http://wordpress.org/support/6/12915


git-svn-id: https://develop.svn.wordpress.org/trunk@1680 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:51:23 +00:00