Commit Graph

12367 Commits

Author SHA1 Message Date
Dion Hulse df84c657f9 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Dion Hulse 1a258ebff7 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: https://develop.svn.wordpress.org/trunk@13488 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:38:15 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 10355ed13c More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13486 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 05:59:39 +00:00
Dion Hulse 913ab67ecb Fix spelling typo's in r13484. See #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13485 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:27:32 +00:00
Dion Hulse c74a4432b4 Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011, Fixes #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13484 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:24:04 +00:00
Dion Hulse 0b63979093 Add get_search_link() with Permastruct (/search/) support. Props jshreve. Update get_search_link(), get_search_feed_link() & get_search_comments_feed_link() to use it, as well as supporting Permastructs for those feeds. Fixes #10552
git-svn-id: https://develop.svn.wordpress.org/trunk@13483 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:15:02 +00:00
Dion Hulse 0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Dion Hulse fa082ecca5 add a wp_loaded action that fires once WordPress init has finished. Props Denis-de-Bernardy. See #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13481 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:08:16 +00:00
Dion Hulse 4b4c0c6cd2 Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 02:49:01 +00:00
Andrew Nacin 6f3f1d0806 Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:46:39 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin 09f09e4852 Clean up repetitive string. fixes #11850, props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13477 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:31:54 +00:00
Andrew Nacin 969f13bfa6 Add link to dashboard after core upgrade. props Simek, fixes #11629 see #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@13476 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:12:43 +00:00
Andrew Nacin 5b05536235 Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 7bf76c1e79 Fix typo in [13471]. Props miqrogroove, see #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13472 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:54:40 +00:00
Andrew Nacin ae12391427 Make it more obvious we're escaping values in options.php. fixes #12417
git-svn-id: https://develop.svn.wordpress.org/trunk@13471 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:50:00 +00:00
Andrew Nacin 50fe60235b When deleting plugins, check for uninstall hooks and warn of data deletion. Props cyberhobo. Pluralize some string(s). fixes #11850
git-svn-id: https://develop.svn.wordpress.org/trunk@13470 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 22:01:22 +00:00
Andrew Nacin 7c2178caba Escape mod_$theme option name. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin a7a3e94381 Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
git-svn-id: https://develop.svn.wordpress.org/trunk@13468 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:06:35 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Ron Rennick 7f3a30a9c0 add full file paths in network install, see #12332
git-svn-id: https://develop.svn.wordpress.org/trunk@13466 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:48:43 +00:00
Andrew Nacin 58b59e038f Add redirect_to and associated filters to registration and password recovery. fixes #12282
git-svn-id: https://develop.svn.wordpress.org/trunk@13465 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:21:03 +00:00
Andrew Nacin f015c58d27 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:11:45 +00:00
Ron Rennick bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Andrew Nacin 7eea49d9d1 Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
git-svn-id: https://develop.svn.wordpress.org/trunk@13462 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:49:49 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick 60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin 5c8e788197 Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13459 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:44:26 +00:00
Andrew Nacin ddb16a0d4a Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13458 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:35:41 +00:00
Andrew Nacin 6e071efc20 Fix include paths. props nadavvin fixes #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:15:46 +00:00
Andrew Nacin 545d58b699 Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
git-svn-id: https://develop.svn.wordpress.org/trunk@13456 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:10:45 +00:00
Andrew Nacin 3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin 44051cfdb6 Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: https://develop.svn.wordpress.org/trunk@13454 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:45:09 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Mark Jaquith 039b7de070 Plugin activation attempt goes through a function to show the same errors as the test. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13452 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:24:41 +00:00
Andrew Nacin 92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Dion Hulse 279f93647a Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634
git-svn-id: https://develop.svn.wordpress.org/trunk@13450 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 04:04:36 +00:00
Dion Hulse a8e7d29ca1 set svn:eol-style:native on remaining Core files. Props Denis-de-Bernardy. Fixes #12403
git-svn-id: https://develop.svn.wordpress.org/trunk@13449 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:43:09 +00:00
Dion Hulse bc2c6922cb New files svn:eol-style: native.
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:37:38 +00:00
Ron Rennick e9ab8b9216 sanitize domains in ms-options, fixes #11775
git-svn-id: https://develop.svn.wordpress.org/trunk@13447 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 23:36:26 +00:00
Andrew Nacin 4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Ron Rennick 8513d92a8b cleanup warnings - add site, See #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@13445 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:13:24 +00:00
Andrew Nacin 394430fbbe add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +00:00
Ron Rennick e0307be84c add second set of Network admin buttons, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13443 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:23:25 +00:00
Ron Rennick 8c7c126923 switch super admin to network admin in multisite UI, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13442 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:16:16 +00:00
Andrew Nacin 33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Ron Rennick 280e43154d remove WP rewrite rules from multisite options-permalink, props ocean90, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13440 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:59:04 +00:00