Commit Graph

2437 Commits

Author SHA1 Message Date
Ryan Boren d993430968 Add a prophylactic sanitize_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@5683 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 18:11:06 +00:00
Ryan Boren edeae9cc8e escapeshellarg the sender
git-svn-id: https://develop.svn.wordpress.org/trunk@5682 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 23:19:33 +00:00
rob1n f7d1916e11 Maintain "Page order" for consistency. fixes #4431
git-svn-id: https://develop.svn.wordpress.org/trunk@5677 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:11:40 +00:00
rob1n 96dac9ed94 Revert multiple category stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5675 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-09 00:59:14 +00:00
rob1n 1367219198 Some more multiple category widget stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5673 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 22:50:37 +00:00
rob1n 4726ebca94 Add support for multiple instances of the category widget. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5669 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 14:49:30 +00:00
Ryan Boren 163f22deb5 Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 00:20:22 +00:00
Ryan Boren e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
Ryan Boren 09c96b4292 Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5658 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:10:52 +00:00
Ryan Boren 400c2064ad Term sanitization. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5652 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 00:57:23 +00:00
Ryan Boren ce17f71ccb Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5642 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-03 17:28:27 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n 8998b56e76 wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5639 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:18:24 +00:00
rob1n 8dc0ba5036 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: https://develop.svn.wordpress.org/trunk@5638 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:04:01 +00:00
Ryan Boren 67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
rob1n 42a1f116d5 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5631 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:37:51 +00:00
rob1n e2513b5643 Keep greedy regex's in control. fixes #4165
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
rob1n e6d32e8761 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@5629 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:52:27 +00:00
rob1n 21ad1a92f8 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@5627 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:13:41 +00:00
rob1n a79b7c6772 Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:10:03 +00:00
rob1n 747a7a14f4 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5625 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 22:54:46 +00:00
Mark Jaquith 9a4c736b19 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: https://develop.svn.wordpress.org/trunk@5624 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 05:43:24 +00:00
rob1n d6bf26da3c Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: https://develop.svn.wordpress.org/trunk@5623 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:33:03 +00:00
Ryan Boren 9aae8013a8 query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5622 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:24:07 +00:00
Mark Jaquith 2731fd5a54 get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5619 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:44:21 +00:00
Mark Jaquith 3cc7b4cbe3 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5617 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:13:06 +00:00
Ryan Boren 0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
rob1n 46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n c92fe17918 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5614 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:22:06 +00:00
rob1n a1bedd8f11 Fix variable typo. Props schulte. fixes #4374
git-svn-id: https://develop.svn.wordpress.org/trunk@5613 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:51:03 +00:00
Ryan Boren b4d7d80744 If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5612 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:44:18 +00:00
rob1n 5d7ce647d2 Some more get_pagenum_link() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5611 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:36:40 +00:00
rob1n 3b60a5107b Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5610 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:29:44 +00:00
rob1n f0cd9cb22a Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:19:38 +00:00
rob1n 8233bb1c4f Add option to exclude pages to pages widget. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5605 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:57:10 +00:00
rob1n 7e281b4507 Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:38:11 +00:00
rob1n 91d0e796ef Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: https://develop.svn.wordpress.org/trunk@5602 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:24:31 +00:00
rob1n 4fec7327ed Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5601 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:21:55 +00:00
Ryan Boren 55e37c4843 Fix slug queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5599 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 21:50:57 +00:00
Ryan Boren 5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Ryan Boren 18c1cade87 Category hierarchy fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5597 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:39:47 +00:00
Ryan Boren 1bb6925679 Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5596 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:05:44 +00:00
Ryan Boren 7480586494 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5595 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 23:06:46 +00:00
Ryan Boren 479ecdf5f8 Fix listing of categories with parents. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5594 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:50:00 +00:00
Ryan Boren cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Mark Jaquith 1a08c04371 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
Ryan Boren 442ef7253a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5587 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:28:10 +00:00
Ryan Boren c4bb18caa6 Use API instead of SELECT. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5586 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:26:36 +00:00
Ryan Boren ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
Mark Jaquith d7ed90532a declare $user_ID global in load_template(). fixes #4354.
git-svn-id: https://develop.svn.wordpress.org/trunk@5581 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 21:32:35 +00:00
rob1n 6b9af86a5c Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 20:39:24 +00:00
rob1n b906e9dd95 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: https://develop.svn.wordpress.org/trunk@5577 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 19:30:05 +00:00
Ryan Boren 13dade0e8d Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5576 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:47:08 +00:00
Ryan Boren c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
rob1n 5b7256e644 Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:11:42 +00:00
rob1n d5816ce68b Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:05:46 +00:00
Mark Jaquith 4308eff227 permalink_link() is deprecated, and should reference its replacement.
git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 04:39:40 +00:00
rob1n 6e0db32ccc Add rel="tag" to tag links. fixes #4159
git-svn-id: https://develop.svn.wordpress.org/trunk@5568 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 02:07:59 +00:00
Ryan Boren 7baf9a0320 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: https://develop.svn.wordpress.org/trunk@5567 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 00:51:24 +00:00
Ryan Boren ed0d41fb04 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5563 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 19:32:45 +00:00
Ryan Boren 668f977343 Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5561 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:45:31 +00:00
Ryan Boren cb8250ff30 Link category fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
Ryan Boren bbcffa4c56 Delete term if no taxonomies use it. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5559 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:29:52 +00:00
Ryan Boren 6485c0e03f Change term count callback style. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5558 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:17:50 +00:00
Ryan Boren 2ea53fa534 Remove debug. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5557 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:28:30 +00:00
Ryan Boren b41b02db5d Fix object term relationship deletion and count updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@5556 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:15:18 +00:00
Ryan Boren 455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren 4c2cd543c1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5553 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 18:54:16 +00:00
Ryan Boren dc77043278 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5552 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 17:47:20 +00:00
rob1n a030294e1d Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5549 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 16:27:34 +00:00
rob1n cc0dcf4992 Fix Atom feeds' categories. fixes #4307
git-svn-id: https://develop.svn.wordpress.org/trunk@5548 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 15:55:30 +00:00
Ryan Boren 6bf777e1d9 Don't load category cache from old tables. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5544 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:45:55 +00:00
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
rob1n 222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n 9abc3c9374 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5425 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:31:12 +00:00
rob1n ea71ef4d71 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: https://develop.svn.wordpress.org/trunk@5424 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:26:56 +00:00
Ryan Boren d213ecdab4 Obey show_post_count for dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 21:54:30 +00:00
rob1n 13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren 23018b434d Make sure wp_actions is set before counting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5413 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-08 17:59:52 +00:00
Ryan Boren 3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren 622bc51507 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: https://develop.svn.wordpress.org/trunk@5409 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:22:50 +00:00
Ryan Boren 7c1f56b9b7 attribute_escape for widgets. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5403 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 02:16:28 +00:00
Ryan Boren e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
Ryan Boren 0568d96794 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5399 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 07:08:11 +00:00
rob1n e191edb9ca 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: https://develop.svn.wordpress.org/trunk@5393 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 23:27:12 +00:00
Ryan Boren 18bb3b4811 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5390 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 21:28:50 +00:00
rob1n 7929eca3cc Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: https://develop.svn.wordpress.org/trunk@5383 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 03:52:11 +00:00
Ryan Boren 7c61a32074 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 02:23:49 +00:00
rob1n c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
rob1n d03a237b24 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:31:30 +00:00
rob1n ae87af4ce8 Spring cleaning, extreme edition.
git-svn-id: https://develop.svn.wordpress.org/trunk@5374 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:26:57 +00:00
rob1n 00c7a213a0 Clean that mess up so it's more easily managed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5373 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:17:43 +00:00
Ryan Boren 9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
Ryan Boren 4b4d4d9bb5 Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5366 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 22:51:52 +00:00
rob1n 0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n 3f99d19cc3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5362 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:27:46 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren 9b87344634 Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5358 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 20:02:02 +00:00
Ryan Boren 3c6b689f0e 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: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 17:43:11 +00:00