Commit Graph

2523 Commits

Author SHA1 Message Date
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
e40774a349 Remove HERE document. xgettext doesn't like it. http://mosquito.wordpress.org/view.php?id=1221 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2521 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 04:32:38 +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
Ryan Boren
f031e1a762 Fix comment feed queries for pages. http://mosquito.wordpress.org/view.php?id=1216 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2519 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-07 19:17:28 +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
36639a2b71 Active plugins array sanity check. If the array isn't an array, reset it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2514 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 02:48:18 +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
bda54f37b2 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2512 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 16:39:41 +00:00
Ryan Boren
c15860e0ba Don't put query description in sidebar if is_404.
git-svn-id: https://develop.svn.wordpress.org/trunk@2511 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:45:01 +00:00
Ryan Boren
2047222551 Path info permalinks weren't getting 404 treatment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2510 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:43:42 +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
41ab29d8ec Add a precautionary is_array() check around the plugin loading loop. http://mosquito.wordpress.org/view.php?id=1015
git-svn-id: https://develop.svn.wordpress.org/trunk@2501 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:04:14 +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
6abd89a643 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2496 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 19:24:37 +00:00
Ryan Boren
3e484233f4 Check for failed socket open in update-links. http://mosquito.wordpress.org/view.php?id=1025 Props: ColdForged
git-svn-id: https://develop.svn.wordpress.org/trunk@2495 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 16:58:30 +00:00
Ryan Boren
bb00ba2e95 If home changes, write rewrite rules to new location. http://mosquito.wordpress.org/view.php?id=1143
git-svn-id: https://develop.svn.wordpress.org/trunk@2494 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 16:36:08 +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
7243fc1ae3 USe absolute paths in require to avoid problems with wonky include paths. http://mosquito.wordpress.org/view.php?id=1169 Props: roxeteer
git-svn-id: https://develop.svn.wordpress.org/trunk@2491 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:05:19 +00:00
Ryan Boren
c5646b894e Trim comment info. http://mosquito.wordpress.org/view.php?id=1183 Props: ryanduff
git-svn-id: https://develop.svn.wordpress.org/trunk@2490 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:52:41 +00:00
Ryan Boren
57fe641ff1 Don't throw 'typed only once' error when both password entries are blank. http://mosquito.wordpress.org/view.php?id=1178
git-svn-id: https://develop.svn.wordpress.org/trunk@2489 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:48:49 +00:00
Ryan Boren
56b9394fb8 Tweak to 2487.
git-svn-id: https://develop.svn.wordpress.org/trunk@2488 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:39:23 +00:00
Ryan Boren
28ff7f84e1 Use private, install/upgrade safe version of get_option() in upgrade-functions.php. Fixes http://mosquito.wordpress.org/view.php?id=1165
git-svn-id: https://develop.svn.wordpress.org/trunk@2487 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:34:30 +00:00
Ryan Boren
4252fbeab2 And not or when checking if installing. Props: donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2486 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:06:10 +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
Matt Mullenweg
3a0af0fb6a Quicktag enhancements
git-svn-id: https://develop.svn.wordpress.org/trunk@2476 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-24 01:26:22 +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
faed798153 Gracefully handle the lack of themes in get_page_templates(). http://mosquito.wordpress.org/view.php?id=1153 Props: donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2474 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-23 01:14:05 +00:00