Commit Graph

6174 Commits

Author SHA1 Message Date
dd32
ea03f2272d Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:16:55 +00:00
markjaquith
9817fca789 Fix PHP notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@13908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 07:43:04 +00:00
westi
c3a6bea231 Ensure that apply_filters_ref_array passes the result of the filter to the next filter. Fixes #12723 props scribue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 21:39:18 +00:00
dd32
165d200ced Dont pee on <option>. Prevents the addition of a <br/> following a </option>. Props akerem. Fixes #11947
git-svn-id: http://svn.automattic.com/wordpress/trunk@13903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 09:32:44 +00:00
nacin
370f6a43b9 Add blacklist to remove_theme_support(). fixes #12739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 09:06:11 +00:00
dd32
db0706ea0e Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: http://svn.automattic.com/wordpress/trunk@13900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:45:51 +00:00
nacin
5f50e18c0b Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:20:28 +00:00
nacin
4c5ce060ac File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 07:54:09 +00:00
ryan
cb0854bfdb Filter robots.txt output
git-svn-id: http://svn.automattic.com/wordpress/trunk@13891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 15:48:52 +00:00
dd32
33b86da7ce Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
git-svn-id: http://svn.automattic.com/wordpress/trunk@13887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 10:22:30 +00:00
ryan
8e4859a35c Use network_*_url(). see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 21:45:31 +00:00
wpmuguru
fbf3ee6abc delete user cap in remove_all_caps(), props ocean90, see #12711
git-svn-id: http://svn.automattic.com/wordpress/trunk@13883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:35:06 +00:00
ryan
3a69eacbbe Don't stomp scheme arg. see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 20:25:30 +00:00
wpmuguru
27b9ed12f8 tweaks to network_*_url(), see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 19:57:17 +00:00
ryan
2a13a4a888 network_site_url(), network_home_url(), network_admin_url(). see #12736
git-svn-id: http://svn.automattic.com/wordpress/trunk@13880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 17:53:03 +00:00
ryan
11dc8e15c9 Check for urls that have a scheme but no host in wp_validate_redirect().
git-svn-id: http://svn.automattic.com/wordpress/trunk@13878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:47:17 +00:00
wpmuguru
175c104baa add remove_theme_support(), props nathanrice, fixes #12739
git-svn-id: http://svn.automattic.com/wordpress/trunk@13877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-29 16:26:54 +00:00
dd32
8ad6b78d44 Slight Coding standards update
git-svn-id: http://svn.automattic.com/wordpress/trunk@13866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 06:05:50 +00:00
dd32
f3e9d332d2 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: http://svn.automattic.com/wordpress/trunk@13865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 05:23:49 +00:00
dd32
a2a1a3c9f0 JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382
git-svn-id: http://svn.automattic.com/wordpress/trunk@13864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:48:20 +00:00
dd32
ceb1acf3f7 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. For the recursive object handling, Props carbolineum. Fixes #11963
git-svn-id: http://svn.automattic.com/wordpress/trunk@13863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:42:44 +00:00
dd32
adb825f6d0 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
git-svn-id: http://svn.automattic.com/wordpress/trunk@13862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:35:42 +00:00
dd32
8abdcecbfe Fix notices in post_custom(). Props sirzooro. Fixes #11839
git-svn-id: http://svn.automattic.com/wordpress/trunk@13861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:19:44 +00:00
dd32
bf6510abd1 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: http://svn.automattic.com/wordpress/trunk@13860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:39:00 +00:00
dd32
a0d734beea Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
git-svn-id: http://svn.automattic.com/wordpress/trunk@13858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 03:10:37 +00:00
dd32
47c064b890 Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297
git-svn-id: http://svn.automattic.com/wordpress/trunk@13857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:57:09 +00:00
dd32
f0088e38eb Add Repeat-x/repeat-y support to Custom Backgrounds, Add Live preview of Repeat option, Use Thumbnail of background for Background Preview. Props jshreve. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:53:04 +00:00
dd32
0e4aaa13d3 Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 02:07:31 +00:00
dd32
c0974fb518 Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
git-svn-id: http://svn.automattic.com/wordpress/trunk@13849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:56:43 +00:00
dd32
5a42dae784 Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
git-svn-id: http://svn.automattic.com/wordpress/trunk@13848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:33:25 +00:00
dd32
334670a67a Correct Array style for returning Multiple HTTP Headers. See #12045
git-svn-id: http://svn.automattic.com/wordpress/trunk@13847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 00:23:40 +00:00
nacin
fca5b63772 Bail in wp_unique_term_slug if the slug is unique and we don't need to come up with a new one. fixes #10712.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 07:56:54 +00:00
dd32
644427dd63 Remove Debug cruft.. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:03:58 +00:00
dd32
f6129316ef Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 05:56:27 +00:00
nacin
2794e060dc Remove 'Turbo' link from admin header. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 20:59:57 +00:00
nacin
39b3db4e20 Move ajax spinner to be adjacent to the Quick Edit Update button. also, the dashboard recent comments Submit Reply button. fixes #12345
git-svn-id: http://svn.automattic.com/wordpress/trunk@13832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:55:48 +00:00
nacin
7957161819 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: http://svn.automattic.com/wordpress/trunk@13831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:44:43 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
3918b75cbe Change @since 2.9 to @since 2.9.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:23:39 +00:00
nacin
a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
nacin
d138bc1f38 Remove one-pixel white bottom border off new light gray header. After some discussion, mainly due to screen options/help tabs. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 18:40:29 +00:00
ryan
6dcc05bd54 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:09:53 +00:00
nacin
82720ead31 WP_I18N_* for .maintenance strings. fixes #12485
git-svn-id: http://svn.automattic.com/wordpress/trunk@13822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:06:12 +00:00
nacin
258430405b Correct inline docs and parameter names for get_objects_in_term() to reflect that it uses term ids, not term slugs. fixes #11835
git-svn-id: http://svn.automattic.com/wordpress/trunk@13821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:00:17 +00:00
nacin
1eabd22805 Introduce get_index_template(). Allows child themes to override a parent theme's index.php. Props koopersmith, fixes #12635
git-svn-id: http://svn.automattic.com/wordpress/trunk@13819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 13:52:43 +00:00
westi
4f46d6537c Rename get_specific_template as get_template_part so as to make it clearer as to the point of the function. See #12371
git-svn-id: http://svn.automattic.com/wordpress/trunk@13815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:02:45 +00:00
ryan
39fbccfd56 Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 22:00:36 +00:00
ryan
f607113b29 Don't return WP_Error from term_description(). Props filosofo. fixes #12707
git-svn-id: http://svn.automattic.com/wordpress/trunk@13813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 17:28:16 +00:00
nbachiyski
e1ecbc841a Set some $_SERVER values to empty strings if missing. Fixes notices if WordPress is run from the command-line and is far more pleasant than using isset() all over the place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 15:33:35 +00:00
ryan
c2a6f28bf5 Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-24 18:35:31 +00:00