Commit Graph

12441 Commits

Author SHA1 Message Date
nacin
2164f43949 Simplify hackish logic. props miqrogroove. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:30:02 +00:00
nacin
f6415fc7eb Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:21:18 +00:00
nacin
20eae9d24a Use disabled() form helper. fixes #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:12:23 +00:00
ryan
c8756014d2 Allow custom post types to have custom icons. Props ptahdunbar, Denis-de-Bernardy. fixes #12434
git-svn-id: http://svn.automattic.com/wordpress/trunk@13660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:05:16 +00:00
ryan
5d6cd5deb5 Use page icon for page menus. fixes #12583
git-svn-id: http://svn.automattic.com/wordpress/trunk@13659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:54:47 +00:00
nacin
1f422200ee Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: http://svn.automattic.com/wordpress/trunk@13658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 16:34:27 +00:00
ryan
2486cc70f7 Restrict schemes allowed in wp_validate_redirect()
git-svn-id: http://svn.automattic.com/wordpress/trunk@13657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 14:54:11 +00:00
nacin
97a8320fe7 Remove dummy contextual help from network.php. We'll need some real docs. #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 03:15:09 +00:00
nacin
00c591591c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 01:51:24 +00:00
nacin
622a4084fc Fix typo, trim whitespace. see #12460
git-svn-id: http://svn.automattic.com/wordpress/trunk@13654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 23:38:05 +00:00
ryan
2d2cb240df Cache get_lastpostmodified() results. see #12575
git-svn-id: http://svn.automattic.com/wordpress/trunk@13653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 21:32:03 +00:00
ryan
d0ccd6b2ee Move wp_shortlink_header to template_redirect. Props miqrogroove. see #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 21:19:54 +00:00
ryan
4fa5b08842 Menu editor fixes. Props yoavf. fixes #12545 #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 20:27:42 +00:00
ryan
f8c42e40d7 Don't replace Link headers. Update phpdoc. see #10604
git-svn-id: http://svn.automattic.com/wordpress/trunk@13650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 20:10:32 +00:00
wpmuguru
363a752373 network options UI cleanup, see #12465
git-svn-id: http://svn.automattic.com/wordpress/trunk@13649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 19:00:43 +00:00
ryan
624731b93f Fix numeric entity logic in kses. Props miqrogroove. see #12284
git-svn-id: http://svn.automattic.com/wordpress/trunk@13648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 18:45:28 +00:00
ryan
fbd13a185a Add no_found_rows argument to WP_Query::get_posts() to allow forcibly defeating SQL_CALC_FOUND_ROWS. Use no_found_rows for the query in get_boundary_post(). fixes #12557
git-svn-id: http://svn.automattic.com/wordpress/trunk@13647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 18:37:03 +00:00
wpmuguru
c1b0c8e8c9 Display a warning when processing an unregistered setting, see #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 17:44:32 +00:00
wpmuguru
0cbe9fd4c1 Delete blog to Delete site, props markmcwilliams, see #12572, code cleanup, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 16:06:53 +00:00
nacin
55e6976d96 Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:46:05 +00:00
dd32
035485998f Fix paging links "Displaying x–y of z" for Pages. Props Utkarsh. Fixes #12552
git-svn-id: http://svn.automattic.com/wordpress/trunk@13643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:41:09 +00:00
nacin
0069db858c Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:34:42 +00:00
nacin
df48ab984f Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:17:07 +00:00
westi
28930c1e2e Opt out of content sniffing for front end AJAX endpoint as well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 08:08:27 +00:00
nacin
31e7a3234f Bringing some order to the ms-options dumping ground. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 23:40:38 +00:00
nacin
1586596d2f Expose a read-only network.php once multisite is enabled, to ensure access to original configuration such as rewrite rules. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 22:42:36 +00:00
nacin
299183fa8d Check and error out on port numbers in Tools > Network, which aren't allowed in multisite. see #11816, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 22:01:49 +00:00
nacin
4f23fbe1c7 Don't page comments by default. fixes #12562
git-svn-id: http://svn.automattic.com/wordpress/trunk@13636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 21:04:41 +00:00
ryan
fcbca58853 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 19:36:38 +00:00
nacin
c42b0e50ea Rename WP_ENABLE_MULTISITE to WP_ALLOW_MULTISITE to minimize confusion. Prevent direct access to network.php without the constant unless the install process was already started. see #11816 for network.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 19:10:07 +00:00
nacin
5648e048c7 Jump right to network.php step 2 when an existing network is present. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 18:58:05 +00:00
wpmuguru
8c9d21d3c5 Dont define BLOGUPLOADDIR if UPLOADS is defined, see #12558
git-svn-id: http://svn.automattic.com/wordpress/trunk@13632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 18:19:28 +00:00
wpmuguru
6c39dc36e4 additional checks on allow existing media path, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@13631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 18:08:25 +00:00
wpmuguru
bfe35227d3 block invalid site names/urls in add site, see #11777
git-svn-id: http://svn.automattic.com/wordpress/trunk@13630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 17:06:58 +00:00
wpmuguru
a40011fbb5 add actions before and after signup form, see #12199
git-svn-id: http://svn.automattic.com/wordpress/trunk@13629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 16:27:02 +00:00
dd32
208f98f762 Load WP_HTTP dependencies (translation support) for setup-config.php. Prevents a WSOD on attempted installs where external HTTP requests are blocked and/or timeout. Fixes #12514
git-svn-id: http://svn.automattic.com/wordpress/trunk@13628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 12:03:13 +00:00
dd32
c21bb61eaf Cleanup of options.php. Adds concise&early wp_die()'s, reformats some poorly chosen branching. See #12455
git-svn-id: http://svn.automattic.com/wordpress/trunk@13627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:57:49 +00:00
dd32
829cc698b9 Update 'edited_term_taxonomy' to pass the same args in all locations called. See #12348
git-svn-id: http://svn.automattic.com/wordpress/trunk@13626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:53:02 +00:00
dd32
078706399a Add custom post_type support to _update_post_term_coun(). Props momo360modena. Fixes #12348
git-svn-id: http://svn.automattic.com/wordpress/trunk@13625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:48:18 +00:00
dd32
0d385b1408 Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
git-svn-id: http://svn.automattic.com/wordpress/trunk@13624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:23:03 +00:00
dd32
099defbada Correct logic inversion in Canonical Taxonomy Term links. Fixes #12547
git-svn-id: http://svn.automattic.com/wordpress/trunk@13623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 10:07:03 +00:00
nacin
5be468ea5f Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 06:14:42 +00:00
ryan
af1e54596c Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 22:14:11 +00:00
ryan
689fb2674e Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 22:10:53 +00:00
wpmuguru
a7011c50ca allow existing media path on main site when converting to multisite, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@13619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 19:52:29 +00:00
wpmuguru
6b18130fb2 move multisite upgrade functions to upgrade.php, see #11771
git-svn-id: http://svn.automattic.com/wordpress/trunk@13618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 16:31:12 +00:00
nacin
9c3f4265ab Fix warning in users.php. Fixes #12555
git-svn-id: http://svn.automattic.com/wordpress/trunk@13617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 14:30:17 +00:00
dd32
a9e3eb84e8 Check date_create() exists for automatic-timezone functionality. Props hakre. Fixes #12534
git-svn-id: http://svn.automattic.com/wordpress/trunk@13616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-07 02:51:55 +00:00
dd32
84618548d7 Don't 404 for empty custom taxonomy terms. See #12533
git-svn-id: http://svn.automattic.com/wordpress/trunk@13615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-07 00:42:50 +00:00
nacin
64105ec06d Add nag for missing authentication keys in network.php. See #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 21:01:58 +00:00