Commit Graph

12297 Commits

Author SHA1 Message Date
ryan
b98f319bcf Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 19:20:10 +00:00
ryan
6f27182cf1 Introduce sanitize_key().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 19:19:32 +00:00
nacin
a237b80e0b Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 18:36:26 +00:00
ryan
c49ec29fdb Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:22:24 +00:00
wpmuguru
47302e0188 first pass on optional global terms, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 17:17:55 +00:00
ryan
10656cb1eb Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 16:34:30 +00:00
wpmuguru
0c2ab53136 introduce global_terms_enabled site option, see #12589
git-svn-id: http://svn.automattic.com/wordpress/trunk@13713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 15:31:50 +00:00
wpmuguru
6d942a39d9 fix spelling/typo in nav menu message, props jorbin, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 22:46:30 +00:00
wpmuguru
b1bcab8963 more descriptive message on blocking unregistered setting, see #11644, related #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 22:00:48 +00:00
ryan
81d6e1e8b3 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: http://svn.automattic.com/wordpress/trunk@13710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 21:16:41 +00:00
wpmuguru
1aa48c2677 block unregistered settings in multisite, see #11644, related #11730
git-svn-id: http://svn.automattic.com/wordpress/trunk@13709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 18:10:34 +00:00
wpmuguru
a51777ea84 move allow registration setting to registration settings in ms options, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 17:48:55 +00:00
wpmuguru
aa5acc9224 fix warning on cookie_domain, see #12457
git-svn-id: http://svn.automattic.com/wordpress/trunk@13707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 17:43:18 +00:00
wpmuguru
5ce50c73d9 suppress htaccess update message in multisite, props ocean90, fixes #12604
git-svn-id: http://svn.automattic.com/wordpress/trunk@13706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 17:32:34 +00:00
nacin
cb22e5b10a 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: http://svn.automattic.com/wordpress/trunk@13705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 17:18:00 +00:00
ryan
f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
nbachiyski
e2bee8f908 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 14:29:11 +00:00
ryan
4794db9966 Fix DST/Standard transition display.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 01:57:36 +00:00
dd32
95029985a6 Restore backwards compatibility of integer sidebars("sidebar-$i"). See #12606
git-svn-id: http://svn.automattic.com/wordpress/trunk@13701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 12:12:23 +00:00
dd32
a9ff74237a Revert [13699], It breaks dynamic_sidebar(<int>) compatibility. Use a safer loop for clashes. See #12606
git-svn-id: http://svn.automattic.com/wordpress/trunk@13700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 11:58:53 +00:00
dd32
2a7375a600 Simplify the Id uniqueness loops. Guard against more use-cases which might cause ID conflicts. See #12606
git-svn-id: http://svn.automattic.com/wordpress/trunk@13699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 11:34:51 +00:00
dd32
c6daeea61e Ensure that for multiple sidebar additions, the ID is unique (even if specified). Append -2.. for > 1 sidebars. Props minusfive. Fixes #12606
git-svn-id: http://svn.automattic.com/wordpress/trunk@13698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 10:55:17 +00:00
dd32
9b0e7e79d0 Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
git-svn-id: http://svn.automattic.com/wordpress/trunk@13697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 05:06:47 +00:00
nacin
4ebde35485 install.php password UI cleanup. see #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 02:30:50 +00:00
ryan
63302cae08 Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: http://svn.automattic.com/wordpress/trunk@13695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 20:01:02 +00:00
ryan
f3707c7791 Spacing between attributes. Props momo360modena. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 18:47:44 +00:00
dd32
2209054062 Fix no-redirect on no-js taxonomy term additions
git-svn-id: http://svn.automattic.com/wordpress/trunk@13693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 10:37:41 +00:00
dd32
70897d7898 s/Upgrade WordPress/WordPress Updates/ title for GUU
git-svn-id: http://svn.automattic.com/wordpress/trunk@13692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 08:19:35 +00:00
dd32
c4d0bd8f0c Prevent PHP Notices on 404 pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@13691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:47:20 +00:00
dd32
5f8dc97924 Move 'restrict_manage_posts' to a more useful place for uploads. Props jfarthing84. Fixes #12325
git-svn-id: http://svn.automattic.com/wordpress/trunk@13690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:40:50 +00:00
dd32
b2a312d1e5 Whitespace additions to WP_Rewrite. A few coding standards too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 07:29:10 +00:00
dd32
e8dd01bb1b Add Endpoints for Attachments, Paging, Comment paging and custom Endpoints to custom post_type's. See #12597
git-svn-id: http://svn.automattic.com/wordpress/trunk@13688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 06:59:07 +00:00
dd32
4ca0960178 Force Theme update check on GUU. See #12528
git-svn-id: http://svn.automattic.com/wordpress/trunk@13687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 04:05:54 +00:00
dd32
f07052a516 Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
git-svn-id: http://svn.automattic.com/wordpress/trunk@13686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-13 03:59:40 +00:00
ryan
08cf9f0d98 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 21:57:52 +00:00
nacin
df2588c68d Fix assignment. Props Rasmus Lerdorf via ConFoo presentation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 19:32:48 +00:00
ryan
97e3559079 the_shortlink(). Props miqrogroove. fixes #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 16:08:37 +00:00
nacin
aa92bfad14 Remove conditionally declared wp_check_filetype() from ms-files.php. It will always be defined in functions.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 00:38:04 +00:00
nacin
9492517abd Check for empty(), not !is_array(), when trying to determine if wpdb::get_results() returned results. See #10607
git-svn-id: http://svn.automattic.com/wordpress/trunk@13681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 00:26:31 +00:00
nacin
03eac5614c Fix notice on users admin panel. More or less reverts earlier fix, [13617]. props miqrogroove. fixes #12555
git-svn-id: http://svn.automattic.com/wordpress/trunk@13680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 00:03:44 +00:00
nacin
1cb0f9042b 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: http://svn.automattic.com/wordpress/trunk@13679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:53:03 +00:00
nacin
92166b22f6 Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: http://svn.automattic.com/wordpress/trunk@13678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:33:01 +00:00
nacin
f2a177c418 Fix typo in [13673]. see #12416
git-svn-id: http://svn.automattic.com/wordpress/trunk@13677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:28:12 +00:00
nacin
a4776498d3 Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: http://svn.automattic.com/wordpress/trunk@13676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 22:58:43 +00:00
nacin
561e044ab2 Improve multisite rewrite rules. Construct rules dynamically and skip subdirectory-specific rules for subdomain installs. see #12136
git-svn-id: http://svn.automattic.com/wordpress/trunk@13675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 22:33:52 +00:00
westi
c71c407fd2 Fix a possible undefined offset warning in do_action. Fixes #11241 props chrisbliss18.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:58:17 +00:00
ryan
f91e95f100 make *_option(), *_transient() functions consistently expect unslashed data. Props Denis-de-Bernardy. see #12416
git-svn-id: http://svn.automattic.com/wordpress/trunk@13673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:49:56 +00:00
westi
92edc853a6 Tidy up the text which describes pingbacks. Fixes #12504 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:34:53 +00:00
westi
bb2fb8cb34 Ensure that wpdb::get_results() always returns an array when it should. Fixes #10607 props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 21:30:29 +00:00
westi
da3765da55 Make the sanitity check html in the installer more poetic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 20:45:24 +00:00