Commit Graph

6297 Commits

Author SHA1 Message Date
Ryan Boren d1603a4246 Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13716 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:22:24 +00:00
Ron Rennick 9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ryan Boren 586b69b6f6 Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 16:34:30 +00:00
Ron Rennick accb84ed22 introduce global_terms_enabled site option, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13713 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 15:31:50 +00:00
Ron Rennick 8cbf25a155 more descriptive message on blocking unregistered setting, see #11644, related #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13711 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 22:00:48 +00:00
Ryan Boren b8fb00fc92 Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: https://develop.svn.wordpress.org/trunk@13710 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 21:16:41 +00:00
Ron Rennick feb6eacff1 block unregistered settings in multisite, see #11644, related #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13709 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 18:10:34 +00:00
Ron Rennick 14ebed05f1 move allow registration setting to registration settings in ms options, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13708 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:48:55 +00:00
Ron Rennick 5c18ec70f6 suppress htaccess update message in multisite, props ocean90, fixes #12604
git-svn-id: https://develop.svn.wordpress.org/trunk@13706 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:32:34 +00:00
Andrew Nacin a56fef6907 Only show multisite admin email notice if the email was changed. Add a "Cancel" link so the nag doesn't stay forever if the admin ends up not changing the email. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13705 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:18:00 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Ryan Boren 9d7ec14d5b Fix DST/Standard transition display.
git-svn-id: https://develop.svn.wordpress.org/trunk@13702 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 01:57:36 +00:00
Andrew Nacin 22506c9721 install.php password UI cleanup. see #10396
git-svn-id: https://develop.svn.wordpress.org/trunk@13696 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 02:30:50 +00:00
Dion Hulse 6e43a2610d Fix no-redirect on no-js taxonomy term additions
git-svn-id: https://develop.svn.wordpress.org/trunk@13693 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 10:37:41 +00:00
Dion Hulse b687c2463c s/Upgrade WordPress/WordPress Updates/ title for GUU
git-svn-id: https://develop.svn.wordpress.org/trunk@13692 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 08:19:35 +00:00
Dion Hulse fa7d038cae Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325
git-svn-id: https://develop.svn.wordpress.org/trunk@13690 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:40:50 +00:00
Dion Hulse 34e135fa81 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: https://develop.svn.wordpress.org/trunk@13686 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 03:59:40 +00:00
Ryan Boren 8ed4a506c4 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13685 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 21:57:52 +00:00
Andrew Nacin 3a5b7f065b Fix assignment. Props Rasmus Lerdorf via ConFoo presentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@13684 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 19:32:48 +00:00
Andrew Nacin f367a78cb7 Check for empty(), not !is_array(), when trying to determine if wpdb::get_results() returned results. See #10607
git-svn-id: https://develop.svn.wordpress.org/trunk@13681 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 00:26:31 +00:00
Andrew Nacin b1ab90b3b3 Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13680 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 00:03:44 +00:00
Andrew Nacin 0e567e38f1 Don't allow access to network.php if running an MU network. It is only for networks created in 3.0. see #11816. Also, fix MS htaccess logic, see #12136
git-svn-id: https://develop.svn.wordpress.org/trunk@13679 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 23:53:03 +00:00
Andrew Nacin 403bf947e1 Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: https://develop.svn.wordpress.org/trunk@13676 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 22:58:43 +00:00
Andrew Nacin 0d3634ecbd Improve multisite rewrite rules. Construct rules dynamically and skip subdirectory-specific rules for subdomain installs. see #12136
git-svn-id: https://develop.svn.wordpress.org/trunk@13675 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 22:33:52 +00:00
Peter Westwood 09fdceae63 Tidy up the text which describes pingbacks. Fixes #12504 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13672 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 21:34:53 +00:00
Peter Westwood bb7b2b24a8 Make the sanitity check html in the installer more poetic.
git-svn-id: https://develop.svn.wordpress.org/trunk@13670 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:45:24 +00:00
Ryan Boren c55c95bbb0 Revert accidental junk. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13669 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:26:24 +00:00
Ryan Boren a1d788a893 Custom background color fixes. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13668 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 20:21:58 +00:00
Andrew Nacin 727e407dcb Add valign, and formatting and i18n improvement.
git-svn-id: https://develop.svn.wordpress.org/trunk@13665 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:16:26 +00:00
Andrew Nacin 26890f0131 get_blog_count() returns a number, not an object. Also, i18n fixes -- add plural string, and translator context. see #12531 for get_blog_count() discussion. see #12409 for ms-sites cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@13664 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:02:40 +00:00
Andrew Nacin 82bc5eb308 Simplify hackish logic. props miqrogroove. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13663 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:30:02 +00:00
Andrew Nacin e22682a5dc Fix logic and pull static code out of a loop. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13662 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:21:18 +00:00
Andrew Nacin 8d0a3589c9 Use disabled() form helper. fixes #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Ryan Boren a4ac7f25ee Allow custom post types to have custom icons. Props ptahdunbar, Denis-de-Bernardy. fixes #12434
git-svn-id: https://develop.svn.wordpress.org/trunk@13660 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:05:16 +00:00
Ryan Boren e333b6925a Use page icon for page menus. fixes #12583
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:54:47 +00:00
Andrew Nacin 90182075c0 Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Andrew Nacin ef7e0ef243 Remove dummy contextual help from network.php. We'll need some real docs. #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13656 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 03:15:09 +00:00
Andrew Nacin d6adc0701c First pass at error handling for populate_network() and network.php. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13655 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 01:51:24 +00:00
Andrew Nacin 10a2ebb829 Fix typo, trim whitespace. see #12460
git-svn-id: https://develop.svn.wordpress.org/trunk@13654 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 23:38:05 +00:00
Ryan Boren 970bda3701 Menu editor fixes. Props yoavf. fixes #12545 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13651 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 20:27:42 +00:00
Ron Rennick 0b9d0bbfe0 network options UI cleanup, see #12465
git-svn-id: https://develop.svn.wordpress.org/trunk@13649 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 19:00:43 +00:00
Ron Rennick 8de3d20dc2 Display a warning when processing an unregistered setting, see #11730
git-svn-id: https://develop.svn.wordpress.org/trunk@13646 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 17:44:32 +00:00
Ron Rennick c466a4bf82 Delete blog to Delete site, props markmcwilliams, see #12572, code cleanup, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13645 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 16:06:53 +00:00
Andrew Nacin f59126029d Remove unused MU function and unnecessary separate includes file. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13644 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:46:05 +00:00
Dion Hulse 0b6f00c0c1 Fix paging links "Displaying x–y of z" for Pages. Props Utkarsh. Fixes #12552
git-svn-id: https://develop.svn.wordpress.org/trunk@13643 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:41:09 +00:00
Andrew Nacin c2bb5992ee Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13642 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:34:42 +00:00
Andrew Nacin 62569595aa Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13641 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:17:07 +00:00
Andrew Nacin cb3661a145 Bringing some order to the ms-options dumping ground. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13639 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 23:40:38 +00:00
Andrew Nacin 93f0c5ee6a 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: https://develop.svn.wordpress.org/trunk@13638 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 22:42:36 +00:00
Andrew Nacin 7b324417fb Check and error out on port numbers in Tools > Network, which aren't allowed in multisite. see #11816, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13637 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 22:01:49 +00:00