Commit Graph

6072 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
ryan
59873d0b4f Custom background color fixes. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 20:21:58 +00:00
nacin
54bc1d84c2 Add delete_user_option(). fixes #12573, props TobiasBg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 18:28:31 +00:00
nacin
52979cc4d5 Fix assignment in WP_User::for_blog(). props prettyboymp, fixes #12587
git-svn-id: http://svn.automattic.com/wordpress/trunk@13666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 18:24:37 +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
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
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
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
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
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
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
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
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
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
a2aad1bb00 More network.php refinements. Bring wp-config and htaccess inline. Rename BLOGID_CURRENT_SITE to BLOG_ID_CURRENT_SITE for consistency with SITE_ID_CURRENT_SITE. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 20:01:32 +00:00
nacin
f210aed76d Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 19:36:35 +00:00
ryan
e35acd21f7 get_taxonomies(). Props ptahdunbar, scribu. fixes #12516
git-svn-id: http://svn.automattic.com/wordpress/trunk@13608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 18:20:11 +00:00
dd32
715188a970 More whitespace & coding stadards cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 05:57:24 +00:00
dd32
4917e5b375 Coding Standards: no camelcase variables, use lowercase for variables. Props hakre. Fixes #12519
git-svn-id: http://svn.automattic.com/wordpress/trunk@13598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 05:53:20 +00:00
dd32
2ecc414b32 Fix double slashing on /index.php//taxonomy/term/ links. Props Scribu. Fixes #12508. Also Fixes #10445
git-svn-id: http://svn.automattic.com/wordpress/trunk@13597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 03:43:23 +00:00
wpmuguru
6abc4ea0fa update iis rewrite rules for MS, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 23:44:43 +00:00
dd32
a1fc891e15 Bump the schema after [13576]. Props miqrogroove. Fixes #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 08:41:34 +00:00
wpmuguru
dc5aa67d84 use correct variable, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 02:23:30 +00:00
nacin
779a3e76dd Fix notice. See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 23:07:23 +00:00
ryan
086ad7d933 Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 19:08:30 +00:00
wpmuguru
097b18b559 remove __( calls from ms startup, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 17:13:38 +00:00
ryan
4b766eb312 Background color selection. Props lancewillett. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 17:10:43 +00:00
nacin
2db57edcad Ignore custom user tables when checking whether the blog is installed. see #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:27:18 +00:00
nacin
8b87777391 Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-03 07:04:25 +00:00