Commit Graph

2264 Commits

Author SHA1 Message Date
Ryan Boren c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Ryan Boren d8f42243a9 Category/tag to taxonomy upgrade. First cut.
git-svn-id: https://develop.svn.wordpress.org/trunk@5539 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 22:40:24 +00:00
rob1n 4fd95fab28 the_search_query() revamp. fixes #4327
git-svn-id: https://develop.svn.wordpress.org/trunk@5536 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 03:37:10 +00:00
rob1n 2bc1518cb8 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5535 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 00:29:51 +00:00
Ryan Boren 9cee075e30 No more TAXONOMY bit fiels. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5534 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:11:02 +00:00
Ryan Boren 5bfabcf2d3 wp_delete_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5533 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:03:24 +00:00
Ryan Boren 510799abe8 More rel_type elimination. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5532 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 20:59:11 +00:00
Ryan Boren 3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +00:00
Ryan Boren 2b134cc1f7 Set and get post cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5529 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:07:53 +00:00
Ryan Boren a0e6f06194 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5528 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 17:28:13 +00:00
rob1n 7a394a909e Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5526 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 14:58:32 +00:00
Ryan Boren 4c2f2563a9 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5525 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 10:32:33 +00:00
Ryan Boren 3502ab6a8e Add some term hooks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5524 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:26:52 +00:00
Ryan Boren feb66bda9c Start moving link categories to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5523 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:15:10 +00:00
Ryan Boren 7f3e74ffca wp_insert_term() and wp_update_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5522 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 05:42:31 +00:00
Ryan Boren 0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n a24222a0f0 Run it through the filter. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:36:56 +00:00
Ryan Boren d575d01059 Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 21:32:07 +00:00
Ryan Boren 9aa94b995b Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5515 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 20:39:26 +00:00
Ryan Boren 523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00
rob1n d0c8498d66 Don't show title if user leaves it blank. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5509 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 00:25:44 +00:00
rob1n 62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren 137da349c3 Fix theme template field. fixes #4310 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 20:11:53 +00:00
Ryan Boren e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n d713e47401 Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 13:13:22 +00:00
rob1n 1a25ba4bdb Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: https://develop.svn.wordpress.org/trunk@5498 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 12:56:39 +00:00
rob1n ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
rob1n 2a8574bd7b Select the option if it's set to that. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5490 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:26:02 +00:00
Ryan Boren 986653124a Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5487 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 00:10:24 +00:00
rob1n aec72baa24 Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5486 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-18 02:29:11 +00:00
Ryan Boren 3e813379d0 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5485 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:49:32 +00:00
rob1n ab415652d9 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: https://develop.svn.wordpress.org/trunk@5483 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:37:55 +00:00
rob1n 97209ba734 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: https://develop.svn.wordpress.org/trunk@5482 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 03:27:07 +00:00
rob1n 5357b1a0af Fix get_pagenum_link(). fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5481 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 02:47:24 +00:00
Ryan Boren 2b002dfab6 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5476 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 23:30:17 +00:00
Ryan Boren 25e659472d Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5474 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 05:13:39 +00:00
Ryan Boren fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n 9688bcaff3 Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5459 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:47:47 +00:00
rob1n 0aa8cebe86 Don't make useless status_header() call. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:30:38 +00:00
rob1n 6508eb9d47 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5455 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 16:24:17 +00:00
rob1n 031cf54afe Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5454 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 00:17:34 +00:00
rob1n 90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n e6c570e45e Ugh. I thought I had fixed all of these.
git-svn-id: https://develop.svn.wordpress.org/trunk@5450 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 04:01:54 +00:00
rob1n c9fc18c591 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: https://develop.svn.wordpress.org/trunk@5447 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:44:03 +00:00
rob1n 3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren 90cd098abe Escapage
git-svn-id: https://develop.svn.wordpress.org/trunk@5441 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 00:56:12 +00:00
Ryan Boren 7073026058 Add missing preg delimiter. see #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5433 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 16:37:44 +00:00
rob1n d679f06b33 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: https://develop.svn.wordpress.org/trunk@5429 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:42:00 +00:00