Commit Graph

24998 Commits

Author SHA1 Message Date
saxmatt 69c2ef5a35 Strip slashes of draft titles, XHTML and formatting updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-10 19:28:03 +00:00
saxmatt 1aaef103e2 Don't need no stinkin' tables.
git-svn-id: http://svn.automattic.com/wordpress/trunk@197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-10 19:27:08 +00:00
saxmatt 0e07af22b6 Only get titles of published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-09 01:02:00 +00:00
saxmatt 02fdd8cab2 It *did* need to be an object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 15:45:37 +00:00
saxmatt 70e29f987e Typo! Whoops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 10:15:17 +00:00
saxmatt 0e1ccae1a1 fixed bug in comment_author_link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 10:12:50 +00:00
mikelittle faadf27271 More fixes to weekly archive mode, links now work sql slightly simpler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 01:12:38 +00:00
mikelittle fce35f099c Updated archive mode. Default is now admin setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 00:15:39 +00:00
mikelittle 9e3d334434 Fixed other archive modes in get_archives.Removed standalone archives files.
However limit does not work as expected in weekly mode.


git-svn-id: http://svn.automattic.com/wordpress/trunk@190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-08 00:10:07 +00:00
mikelittle b8bd0d129f Converted to ezsql
git-svn-id: http://svn.automattic.com/wordpress/trunk@189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 23:19:42 +00:00
mikelittle c3a063a614 Fixed problem with story permalink. passed in filename was relative not absolute.
git-svn-id: http://svn.automattic.com/wordpress/trunk@188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 21:58:38 +00:00
saxmatt f571fecf39 use DB_NAME instead of $dbname
git-svn-id: http://svn.automattic.com/wordpress/trunk@187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 21:24:42 +00:00
mikelittle 971d1ac178 indentation
git-svn-id: http://svn.automattic.com/wordpress/trunk@186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 17:24:02 +00:00
mikelittle 4f9744cb80 Fix to showing too many posts when in days mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 17:21:08 +00:00
mikelittle c89dde17f4 return is not a function!
git-svn-id: http://svn.automattic.com/wordpress/trunk@184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 17:19:38 +00:00
saxmatt 5755d4d4e6 RSS didn't work!
git-svn-id: http://svn.automattic.com/wordpress/trunk@183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 06:27:13 +00:00
saxmatt 6e08cdf772 Fixed variable name conflict.
git-svn-id: http://svn.automattic.com/wordpress/trunk@182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 04:23:09 +00:00
saxmatt 94dc7e0391 Added rel=bookmark
git-svn-id: http://svn.automattic.com/wordpress/trunk@181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-07 04:22:56 +00:00
mikelittle d4cc232280 Added extra html escaping to title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 23:59:25 +00:00
mikelittle 4b4315310e Also ping when going from private to published.
git-svn-id: http://svn.automattic.com/wordpress/trunk@179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 23:45:50 +00:00
mikelittle 8bf3591d67 Implemented, only ping weblogs, pingback and trackback when creating a published (not draft) post
OR when editing a post from draft to published


git-svn-id: http://svn.automattic.com/wordpress/trunk@178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 23:21:45 +00:00
saxmatt fc0546cf02 We need the ampersand fixer in the loop too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 22:51:33 +00:00
mikelittle 3d3a37ed5a RE-fixed mis-mat hed quote type in popup comment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 21:58:24 +00:00
saxmatt f014d377f5 Fixed missing tr
git-svn-id: http://svn.automattic.com/wordpress/trunk@175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 21:44:16 +00:00
saxmatt 67b6947894 Ampersand fixer should be called outside of the texturize loop.
git-svn-id: http://svn.automattic.com/wordpress/trunk@174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-06 21:19:30 +00:00
saxmatt f9ed08d4c8 $post conflict.
git-svn-id: http://svn.automattic.com/wordpress/trunk@173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-05 21:47:18 +00:00
saxmatt 22d5889475 $url to $tb_url fix from Dougal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-05 19:57:26 +00:00
mikelittle cab1c1b3e7 Removed erroneous require of wp-db its now in b2config
git-svn-id: http://svn.automattic.com/wordpress/trunk@171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 21:24:13 +00:00
mikelittle e10068e83d Test we have some posts to avoid foreach error.
Capitalisation of WordPress


git-svn-id: http://svn.automattic.com/wordpress/trunk@170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 21:21:14 +00:00
saxmatt f232508e3d Unecessary queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 21:11:15 +00:00
saxmatt 1d67fa97e6 Wrong filename and typo in title. Thanks Mike :).
git-svn-id: http://svn.automattic.com/wordpress/trunk@168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 21:07:20 +00:00
saxmatt 6df6bcd5e2 Upgrade script.
git-svn-id: http://svn.automattic.com/wordpress/trunk@167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 20:05:58 +00:00
saxmatt 4cb49de3d8 Forgot post_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 20:04:47 +00:00
saxmatt dc8d5836cf New database fields.
git-svn-id: http://svn.automattic.com/wordpress/trunk@165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:55:33 +00:00
saxmatt 167c3e4c1b Altered with new database fields.
git-svn-id: http://svn.automattic.com/wordpress/trunk@164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:55:21 +00:00
saxmatt e8ba6971ab Version up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:36:53 +00:00
saxmatt 2768a4eab3 New comment status code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:36:35 +00:00
saxmatt a2b5bf6171 Version change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 19:03:13 +00:00
saxmatt 2ff38fe8d6 Check if pings are allowed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 18:50:21 +00:00
saxmatt 8f107092d9 Check for comment status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 18:17:48 +00:00
saxmatt d9ef79d24d Typo in title. Speling rox.
git-svn-id: http://svn.automattic.com/wordpress/trunk@158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 17:42:41 +00:00
saxmatt 2c22aa86d4 Comments off is now faded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 17:40:05 +00:00
saxmatt 37d1bf52e2 Don't show the comment form if comments are closed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 17:32:14 +00:00
saxmatt 5a28e9a345 Markup fixes. Removed weblogs.com updater by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 17:12:41 +00:00
saxmatt 97a6e33103 Multiviews.
git-svn-id: http://svn.automattic.com/wordpress/trunk@154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 16:47:19 +00:00
mikelittle 1aebecad96 Fix remote SQL injection exploit.
"b2 0.6.2 and prior" allow sql injection in ./blog.header.php. $posts isn�t
convert to integer, so we can inject a sql in this variable. In MySQL 4.x
UNION and subselects can be used to obtain privileges.


git-svn-id: http://svn.automattic.com/wordpress/trunk@153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-04 00:14:49 +00:00
mikelittle 3b1ee8f5ab Removed erroneous require of wp-db
Added missing require of wp-db to b2config
Moved links tables tt b2config
Fixed definition of extra db vars


git-svn-id: http://svn.automattic.com/wordpress/trunk@152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-03 23:15:14 +00:00
mikelittle 73c4f8cfad Check for no links returned stops error
git-svn-id: http://svn.automattic.com/wordpress/trunk@151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-03 22:42:13 +00:00
mikelittle 6a80aa6395 Updated admin levels to match page requirements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-03 22:29:11 +00:00
mikelittle 8b549dcb12 Fixed admin level security problem.
Plus an user -> a user


git-svn-id: http://svn.automattic.com/wordpress/trunk@149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-06-03 00:08:51 +00:00