Commit Graph

12282 Commits

Author SHA1 Message Date
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
Nikolay Bachiyski 6a0c16eab3 Add POT file and languages dir for twentyten. Louis, I think this is the beginning of a beautiful friendship.
git-svn-id: https://develop.svn.wordpress.org/trunk@13703 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 14:29:11 +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
Dion Hulse f80cc183fa Restore backwards compatibility of integer sidebars("sidebar-$i"). See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13701 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 12:12:23 +00:00
Dion Hulse 20a430c8fb Revert [13699], It breaks dynamic_sidebar(<int>) compatibility. Use a safer loop for clashes. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13700 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 11:58:53 +00:00
Dion Hulse bd619cdb60 Simplify the Id uniqueness loops. Guard against more use-cases which might cause ID conflicts. See #12606
git-svn-id: https://develop.svn.wordpress.org/trunk@13699 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 11:34:51 +00:00
Dion Hulse a486d9ed55 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: https://develop.svn.wordpress.org/trunk@13698 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 10:55:17 +00:00
Dion Hulse 47426465ed Limit redirect_guess_404_permalink() to the same post_type if it's specified in the query. See #12601
git-svn-id: https://develop.svn.wordpress.org/trunk@13697 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-14 05:06:47 +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
Ryan Boren 3cf21a9178 Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: https://develop.svn.wordpress.org/trunk@13695 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 20:01:02 +00:00
Ryan Boren d59218dbce Spacing between attributes. Props momo360modena. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13694 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 18:47:44 +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 e7b6cd83c7 Prevent PHP Notices on 404 pages
git-svn-id: https://develop.svn.wordpress.org/trunk@13691 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:47:20 +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 05889a6180 Whitespace additions to WP_Rewrite. A few coding standards too.
git-svn-id: https://develop.svn.wordpress.org/trunk@13689 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 07:29:10 +00:00
Dion Hulse 327d84d8f8 Add Endpoints for Attachments, Paging, Comment paging and custom Endpoints to custom post_type's. See #12597
git-svn-id: https://develop.svn.wordpress.org/trunk@13688 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 06:59:07 +00:00
Dion Hulse af2148aaf0 Force Theme update check on GUU. See #12528
git-svn-id: https://develop.svn.wordpress.org/trunk@13687 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 04:05:54 +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
Ryan Boren e215851f8d the_shortlink(). Props miqrogroove. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13683 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 16:08:37 +00:00
Andrew Nacin 363ba99066 Remove conditionally declared wp_check_filetype() from ms-files.php. It will always be defined in functions.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13682 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 00:38:04 +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 8a287c5c63 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@13678 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 23:33:01 +00:00
Andrew Nacin c5e62bc71b Fix typo in [13673]. see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13677 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 23:28:12 +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 c50eaee3d3 Fix a possible undefined offset warning in do_action. Fixes #11241 props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@13674 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 21:58:17 +00:00
Ryan Boren 9b019acfbe make *_option(), *_transient() functions consistently expect unslashed data. Props Denis-de-Bernardy. see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13673 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 21:49:56 +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 fe8462294a Ensure that wpdb::get_results() always returns an array when it should. Fixes #10607 props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@13671 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 21:30:29 +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 d14218fcd3 Add delete_user_option(). fixes #12573, props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@13667 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:28:31 +00:00
Andrew Nacin 781cbf67d8 Fix assignment in WP_User::for_blog(). props prettyboymp, fixes #12587
git-svn-id: https://develop.svn.wordpress.org/trunk@13666 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 18:24:37 +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
Ryan Boren 182873dfaa Restrict schemes allowed in wp_validate_redirect()
git-svn-id: https://develop.svn.wordpress.org/trunk@13657 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 14:54:11 +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