rob1n
8638b7ab3a
Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
...
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:27:12 +00:00
ryan
b33a7e9cfb
Set eol-style
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
rob1n
0a8b69c947
Don't take out class attribute for <abbr />, for hReview. fixes #3420
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 03:52:11 +00:00
ryan
2cc75dbc63
Add 'Select' text to the dropdowns. Props Joseph Scott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
rob1n
f8b2a63e57
Load order fixed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n
ab530a67d5
Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n
2fff1e5671
Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:31:30 +00:00
rob1n
37745efcae
Spring cleaning, extreme edition.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:26:57 +00:00
rob1n
e5fb2523b4
Clean that mess up so it's more easily managed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:17:43 +00:00
ryan
9e54a128b8
Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:22 +00:00
ryan
b159bcacff
Remove wp_ prefix from default widget class names. For back compat.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:51:52 +00:00
rob1n
b21f9bdc98
New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n
5339481434
Typo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:27:46 +00:00
rob1n
58d8ed1284
Move widget stuff around. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan
72a19935ff
Widget registration fixes from Andy. For 2.3. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:02 +00:00
ryan
8efa935340
When using the traditional list view of the categories,
...
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget. Props Jospeh Scott
git-svn-id: http://svn.automattic.com/wordpress/trunk@5356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 17:43:11 +00:00
ryan
6c0b1d6a5f
Fix typo breaking recent comment cache deletion for widgets.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 16:45:23 +00:00
ryan
247d22682a
Remove debug
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:47:14 +00:00
ryan
5fe0bd0c61
Don't use deprecated category API.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:32:33 +00:00
rob1n
a50e0e4c41
Bring back old behavior for sidebar ID's. Props filosofo. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 02:35:28 +00:00
ryan
df9d590cbc
Fix widget control registration where id is not passed in.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 17:04:16 +00:00
ryan
e5ea802c0c
Fix edit comment links
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 16:45:47 +00:00
ryan
72f35d050c
Create widget id from widget name when id not specified.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 06:08:27 +00:00
ryan
a59fcf3c3a
Kick widgets init from init hook.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
ryan
b028d6eaa3
Some widgets gettext.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:29:27 +00:00
rob1n
638337cf4a
Don't double encode gzip output if gzip is already set in php.ini. Props
...
welcomb. fixes #4205
git-svn-id: http://svn.automattic.com/wordpress/trunk@5333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 20:55:05 +00:00
ryan
8aaa48e041
Use the right field name ya idjit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 04:34:44 +00:00
ryan
d44752d2ca
Consult global comment in get_comment(). Don't show empty edit links.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 03:51:36 +00:00
ryan
cb6d5b0c4b
Fix text and rss widget registration. fixes #4204 for 2.3
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:49:11 +00:00
ryan
6a307367a8
Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:17:30 +00:00
rob1n
85902939a7
Links widget fixes from Otto42. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 03:43:59 +00:00
rob1n
309491de6d
WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
...
Props foolswisdom. fixes #4200
git-svn-id: http://svn.automattic.com/wordpress/trunk@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
rob1n
2a03779965
Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:02:59 +00:00
rob1n
1657ad3db3
Housekeeping -- a misspelling.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 03:14:11 +00:00
rob1n
d3f52c3b45
Allow number_format to be internationalized. Props nbachiyski. fixes #3677
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n
56add54053
Housekeeping -- clean out debug calls.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:58:51 +00:00
rob1n
559fa91b8d
Add ODT to allowed file types. Props Nazgul. fixes #4136
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:28:39 +00:00
rob1n
ea9d389751
Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:27:20 +00:00
rob1n
534eeaf7bc
get_edit_*_link() functions. fixes #4153
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:21:56 +00:00
ryan
c03e74ab48
Update widgets to latest bits. see #4169
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 21:36:17 +00:00
ryan
a0985c387b
widgets.php be doubling down. Once is enough.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 18:41:42 +00:00
rob1n
03e6c2ed9a
Widgets for 2.3. fixes #4186
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
ryan
c28054301c
Fix variable collission in _get_cat_children. see #3985
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-23 20:28:38 +00:00
rob1n
2e72244bde
has_excerpt() template tag. fixes #4177 for 2.3
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 04:25:47 +00:00
ryan
978cf8aee5
2.3-alpha
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 04:05:39 +00:00
rob1n
ceb60d8af8
Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:53:19 +00:00
rob1n
f2d8504d16
Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:49:19 +00:00
ryan
8cbe134f81
Add url_to_postid filter. Props Alex King. fixes #4160
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-18 22:51:54 +00:00
ryan
49166ab920
Revert [5275] - [5277]. Fix it later. see #4153
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 23:00:35 +00:00
ryan
b4fd79f281
AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 20:56:41 +00:00
rob1n
47de90d17a
Fix another typo. Not a good day at all.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:17:45 +00:00
rob1n
37d7ae825b
Fix typo. Thanks Lloyd.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 00:53:58 +00:00
rob1n
763828ed10
Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 23:53:34 +00:00
ryan
02cfbbe93b
Use wp_hash to create cron's check hash.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 20:47:23 +00:00
ryan
f651ce93c3
tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:26:26 +00:00
rob1n
d7a828c373
Add in another trim(), just in case $frag is actually something.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:19:01 +00:00
rob1n
999e232f12
trim() question marks *after* concatenating the string. fixes #4134
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:11:47 +00:00
rob1n
62f5c944dc
Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:29:47 +00:00
rob1n
24e1d66471
Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
rob1n
ae0d54317c
Don't treat object and param as block elements in wpautop. fixes #3854
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 23:19:16 +00:00
rob1n
30d6c1ad15
Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 22:00:22 +00:00
rob1n
0e669f143d
Replace some stristr's with stripos'.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:59:31 +00:00
ryan
5fae2af843
Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:15:44 +00:00
rob1n
dbda3aabaa
Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 17:04:03 +00:00
rob1n
75efedc528
Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 16:31:47 +00:00
ryan
0e28e967ad
Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:27:12 +00:00
rob1n
43c0541e81
<!--more--> regex fixes. Props Nazgul. fixes #3698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 22:47:36 +00:00
ryan
b6c49e3023
Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 18:04:49 +00:00
rob1n
f0da57ee4e
Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 16:52:58 +00:00
rob1n
61e18c550e
Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 05:38:30 +00:00
rob1n
25191fabb8
Rollback wonky part of [5193]. see #4084
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:41:42 +00:00
rob1n
d40f03754d
Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 03:12:11 +00:00
rob1n
879a091a06
Run make_clickable before texturize. Props Nazgul. fixes #4116
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 23:21:00 +00:00
ryan
45f4a1870e
Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 21:23:11 +00:00
ryan
77cdde3f87
Tag clouds from mdawaffe. fixes #4129
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:52:15 +00:00
ryan
f32f812fa9
Bumpage
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 19:08:49 +00:00
ryan
de91343f51
Add get_tags(). See #3723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:55:51 +00:00
ryan
246db4315f
s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 18:30:55 +00:00
rob1n
d76a895798
Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 17:01:52 +00:00
matt
b5b01a4976
Missing change from last commit.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 07:39:47 +00:00
rob1n
a24ee4902a
empty() only takes variables. Props filosofo. fixes #4118
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 04:28:40 +00:00
rob1n
404dd03317
Don't autop <script> blocks. Props Nazgul. fixes #3854
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:49:18 +00:00
rob1n
7507125fd3
Don't autop <hr />. fixes #3952
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:47:08 +00:00
rob1n
dd96826c34
Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:33:43 +00:00
ryan
9442a8806b
Google spell connect fix. Props Nazgul. see #3857
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 00:09:42 +00:00
rob1n
96535f8d01
Fix typo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:31:54 +00:00
rob1n
1948792ee1
Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:00:19 +00:00
ryan
c3508de5be
Avoid php notices.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 05:24:37 +00:00
rob1n
f826cb98cc
Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 01:24:40 +00:00
rob1n
4a4d37f9f3
Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:42:38 +00:00
ryan
9e6ab0a59d
Relocate get_post_tags.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan
142582999e
Typo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
ryan
ab510803f4
Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:22:53 +00:00
rob1n
b5eab92808
Add AND. fixes #4101
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 14:53:46 +00:00
rob1n
a7d8f6aa74
Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 04:21:21 +00:00
rob1n
b557846efd
Add the argument back in. Whoops.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:34:01 +00:00
rob1n
3f0fa28e19
Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:29:44 +00:00
rob1n
7bb92d3873
Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
...
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.
Props molecularbear. fixes #3861
git-svn-id: http://svn.automattic.com/wordpress/trunk@5189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:25:41 +00:00
rob1n
4a5335aee6
Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:54:12 +00:00
rob1n
2d799e437b
Add DBX to link-add.php. Props Nazgul. fixes #3922
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 00:56:28 +00:00
ryan
00e9ff778a
Bit twiddling. Add type bitfield to categories table. see #3723
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
ryan
2c31712d3a
Category listing speedups. see #3985
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 22:32:24 +00:00
ryan
7f0a905ee6
Cache category hierarchy to make cat listing faster. Phase 1. see #3985
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 20:44:45 +00:00
markjaquith
923ba23e88
Fix category_name=foo WP_Queries. fixes #4069
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 19:40:15 +00:00
matt
06d577a539
Because of the next we should always do a reset.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:46:05 +00:00
matt
fde70e7623
Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:03:38 +00:00
ryan
99f1babe59
i18n for quicktags.js. Props Nazgul. fixes #3958
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 16:06:19 +00:00
rob1n
2a035cdab8
Add CSS class in if it's not empty when there's no comments. fixes #2180
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:57:13 +00:00
rob1n
fa33be1162
Run the post titles through the the_title filter. fixes #3366
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:40:50 +00:00
matt
afb8aafcbf
Don't forget the tag_cache
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 08:44:10 +00:00
matt
9784d05317
Make most of the buttons a map, helps the write page load faster.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:12:35 +00:00
rob1n
eaac63e0d0
Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 21:41:08 +00:00
rob1n
090c138591
Add link rating to wp_list_bookmarks(). fixes #3916
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 19:43:49 +00:00
matt
c86599b85c
Now tag pretty permalinks should work, and support custom tag bases.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt
14f1c622ff
All the query stuff we need for tag= URLs to work.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 06:16:12 +00:00
rob1n
7cb4185f04
Add https:// support to script loader. Props abtime. fixes #4046
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 02:47:23 +00:00
rob1n
7dac9e0a80
Add missing the_title filter call. Props jhodgdon. fixes #4050
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-30 23:46:17 +00:00
rob1n
29eb1e9a2b
Fix typo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 04:08:54 +00:00
rob1n
fe50a59120
PHPdoc for plugin.php. Props Martin10. fixes #3852
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:45:34 +00:00
rob1n
347657de7e
Add back in a question mark. Props foolswisdom. fixes #3143
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:24:25 +00:00
rob1n
cb7570b4cc
Fix months in wp_title(). fixes #4043
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 02:06:16 +00:00
rob1n
19649b35f7
Add get_sidebar action to get_sidebar(). fixes #1445
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:45:29 +00:00
rob1n
4a6743b54c
Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:39:05 +00:00
rob1n
e5b562a070
Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:35:50 +00:00
rob1n
b4de51f25c
Sorry, a little tester got in there. Didn't expect to be committing ;).
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:30:27 +00:00
rob1n
5b446f7cf7
Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 01:29:09 +00:00
ryan
5248f2a89b
Set EP_ALL to 4095. Props jhodgdon. fixes #3963
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:19:42 +00:00
ryan
d92c0fa794
Rewrit endpoint fixes from westi. see #3964
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-29 00:17:40 +00:00
ryan
9ca2d36ada
Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-28 18:10:03 +00:00
ryan
68ef70bf19
Change bookmark to link. Props foolswisdom. fixes #3143
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:54:48 +00:00
ryan
4de9ca69c2
More clean_url and int casts for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 23:45:41 +00:00
ryan
f24f716775
Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 21:20:16 +00:00
ryan
3d9418194f
Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-27 16:44:36 +00:00
ryan
5520239138
Add trackback_url filter. Props jhodgdon. fixes #4032
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 23:40:49 +00:00
ryan
4400fe6e32
Fallback to loading english for tinyMCE if requested locale is not there. see #3882
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 22:05:36 +00:00
matt
3eb1182967
If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 18:05:28 +00:00
matt
2f391a1ad4
Don't show tags on the category page.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 17:25:15 +00:00
matt
cbe226d621
Basic theme support for tags.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 08:08:31 +00:00
matt
613dbfcffa
A backend interface for tagging.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 07:28:29 +00:00
ryan
ee323a457b
Revert [5102]
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 06:13:19 +00:00
ryan
ee5f8a4944
Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-26 03:44:35 +00:00
ryan
7f9aa3c350
Fix day display in title. Props phKU. fixes #3801
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:47:48 +00:00
ryan
37c1e764de
Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:39:14 +00:00
ryan
3f82bf5819
Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:23:52 +00:00
ryan
9a6630ed11
Deprecate number argument to comments_number. No longer used. fixes #2687
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-25 23:18:19 +00:00
ryan
bb7d61596d
Fix relative link mangling in clean_url. fixes #4017 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 23:31:44 +00:00
ryan
eed1eedc5f
Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 17:45:40 +00:00
ryan
e9e3e0787d
Castaways on Gilligan's Isle
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt
3d21925922
Ryan slays the dragon. (Some of these return WP_Error objects.)
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
ryan
4cfeed615c
Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 01:45:24 +00:00