Commit Graph

6449 Commits

Author SHA1 Message Date
Mark Jaquith 2878b0618a Bump versions for 3.0-beta1
git-svn-id: https://develop.svn.wordpress.org/trunk@13954 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 01:50:01 +00:00
Andrew Nacin 114cedbf17 Allow methods to be used as a callback in wp_unique_filename(). fixes #12824 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13952 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 23:54:56 +00:00
Andrew Nacin 5615e1ba93 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13951 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 23:27:23 +00:00
Ron Rennick 3a9d10480d have get_blog_prefix() default to the prefix of the current blog, see #12820
git-svn-id: https://develop.svn.wordpress.org/trunk@13949 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 22:47:51 +00:00
Ryan Boren af71e20215 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13946 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 17:07:30 +00:00
Dion Hulse af3a5edd74 Don't prevent 404'ing on tax/author pages when a paged page is requested which doesnt contain posts. For example, /category/animal/page/9999999/. Allows for /category/empty_cat/ to not 404. Fixes #11857
git-svn-id: https://develop.svn.wordpress.org/trunk@13944 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 08:16:20 +00:00
Dion Hulse 9b2113d8cd Match the separator style of get_category_parents() in get_the_category_list(), Respects the spacing of the provided separator. Fixes #10761
git-svn-id: https://develop.svn.wordpress.org/trunk@13943 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 07:30:20 +00:00
Dion Hulse c57a54f082 A better default except, Remove multiple white spaces from the except as well as splitting safely on UTF8 strings. Props Denis-de-Bernardy for the UTF8 split. Fixes #10376
git-svn-id: https://develop.svn.wordpress.org/trunk@13942 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 07:10:51 +00:00
Dion Hulse 842e844bc5 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: https://develop.svn.wordpress.org/trunk@13940 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 06:12:49 +00:00
Dion Hulse db55fa0abb Reduce Code duplication. Rely on parent class to do the heavy lifting, just tack the comment addition on the end. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13939 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:33:18 +00:00
Dion Hulse 393c94d1a5 Move children of nested levels not shown to after the current element, not inside it like children. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13938 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:13:57 +00:00
Andrew Nacin 7e33f4a479 Fix notice in wp_new_comment(). fixes #10854.
git-svn-id: https://develop.svn.wordpress.org/trunk@13937 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:01:13 +00:00
Andrew Nacin 1179f37584 Fix int cast usage in simplepie. see #12334, props rlerdorf.
git-svn-id: https://develop.svn.wordpress.org/trunk@13935 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:37:42 +00:00
Dion Hulse 5c306d5ca4 Fix out-of-order comments when comment nesting is reduced. Displays child comments on the same level after its "parent" in the case that the max_depth has been hit. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13932 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:05:01 +00:00
Andrew Nacin 9dab120905 Child theme support for theme header registrations. Second call to register_theme_headers() should add more headers, not replace existing headers. add unregister_theme_headers(). props jorbin. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13928 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 03:15:18 +00:00
Ron Rennick 736637fb27 rework syncing of global terms, see #12663
git-svn-id: https://develop.svn.wordpress.org/trunk@13925 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:26:44 +00:00
Dion Hulse 312438ad06 Use the taxonomy show_ui flag to control if all WordPress generated UI is exposed (Menu previously, This affects metaboxes). See #10437
git-svn-id: https://develop.svn.wordpress.org/trunk@13924 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:23:58 +00:00
Dion Hulse 4dcdc247f6 Handle uppercase html entities in get_next_posts_link() & get_next_comments_link() (and family) $labels. Fixes #4152
git-svn-id: https://develop.svn.wordpress.org/trunk@13922 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 00:07:59 +00:00
Dion Hulse eb6dba1f3a Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13920 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 23:17:53 +00:00
Mark Jaquith f1e8f1847b Regenerate production CSS and bump version for last commit
git-svn-id: https://develop.svn.wordpress.org/trunk@13919 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 21:22:48 +00:00
Andrew Nacin 9781730e1c s/hierarachical/hierarchical/g. Props JohnPBloch.
git-svn-id: https://develop.svn.wordpress.org/trunk@13915 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 14:37:38 +00:00
Dion Hulse 90dd44e0c2 Whitespace and coding standards cleanup for balanceTags(). See #11968
git-svn-id: https://develop.svn.wordpress.org/trunk@13914 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 13:18:34 +00:00
Dion Hulse 6edd892710 Recognise namespaces in tags for balanceTags(). Fixes #11968
git-svn-id: https://develop.svn.wordpress.org/trunk@13913 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 13:16:44 +00:00
Dion Hulse d9b935e3ce Delete _transient_timeout_$name and _site_transient_timeout_$name when specifically deleting transients. Fixes #12782
git-svn-id: https://develop.svn.wordpress.org/trunk@13911 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:42:03 +00:00
Dion Hulse b2aaeb8394 Small coding standards cleanup of wp_die();
git-svn-id: https://develop.svn.wordpress.org/trunk@13910 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:30:58 +00:00
Dion Hulse ff6575838c Use the correct slug value for reverting post slug inline editing. Props mitchoyoshitaka. Fixes #12788
git-svn-id: https://develop.svn.wordpress.org/trunk@13909 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 10:16:55 +00:00
Mark Jaquith 191c250172 Fix PHP notice
git-svn-id: https://develop.svn.wordpress.org/trunk@13908 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-01 07:43:04 +00:00
Peter Westwood ed9ee9a2da Ensure that apply_filters_ref_array passes the result of the filter to the next filter. Fixes #12723 props scribue.
git-svn-id: https://develop.svn.wordpress.org/trunk@13906 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 21:39:18 +00:00
Dion Hulse f653d1710a Dont pee on <option>. Prevents the addition of a <br/> following a </option>. Props akerem. Fixes #11947
git-svn-id: https://develop.svn.wordpress.org/trunk@13903 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 09:32:44 +00:00
Andrew Nacin 47d995c72a Add blacklist to remove_theme_support(). fixes #12739.
git-svn-id: https://develop.svn.wordpress.org/trunk@13902 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 09:06:11 +00:00
Dion Hulse a999fdc1a6 Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: https://develop.svn.wordpress.org/trunk@13900 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:45:51 +00:00
Andrew Nacin 96697adf96 Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743.
git-svn-id: https://develop.svn.wordpress.org/trunk@13899 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 08:20:28 +00:00
Andrew Nacin 20ebe2a218 File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@13897 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-31 07:54:09 +00:00
Ryan Boren fedb70e678 Filter robots.txt output
git-svn-id: https://develop.svn.wordpress.org/trunk@13891 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 15:48:52 +00:00
Dion Hulse 52269956a3 Whitespace only Cookie pairs are not permitted; Skip them. Props josephscott. Fixes #12761
git-svn-id: https://develop.svn.wordpress.org/trunk@13887 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 10:22:30 +00:00
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Ron Rennick 049fcf5b46 delete user cap in remove_all_caps(), props ocean90, see #12711
git-svn-id: https://develop.svn.wordpress.org/trunk@13883 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:35:06 +00:00
Ryan Boren 8b71175392 Don't stomp scheme arg. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13882 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:25:30 +00:00
Ron Rennick 430123a00c tweaks to network_*_url(), see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13881 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 19:57:17 +00:00
Ryan Boren 8392d79d1e network_site_url(), network_home_url(), network_admin_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13880 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 17:53:03 +00:00
Ryan Boren 0129bad3ef Check for urls that have a scheme but no host in wp_validate_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@13878 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 16:47:17 +00:00
Ron Rennick 580bd283fd add remove_theme_support(), props nathanrice, fixes #12739
git-svn-id: https://develop.svn.wordpress.org/trunk@13877 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 16:26:54 +00:00
Dion Hulse cc26a706e8 Slight Coding standards update
git-svn-id: https://develop.svn.wordpress.org/trunk@13866 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 06:05:50 +00:00
Dion Hulse b9682621d0 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: https://develop.svn.wordpress.org/trunk@13865 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 05:23:49 +00:00
Dion Hulse fd04241472 JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382
git-svn-id: https://develop.svn.wordpress.org/trunk@13864 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:48:20 +00:00
Dion Hulse 9393b90872 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: https://develop.svn.wordpress.org/trunk@13863 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:42:44 +00:00
Dion Hulse 0773ef03a6 Implement the 2nd parameter of json_decode() for back-compat purposes. Returns an associative array instead of an object. Fixes #11963
git-svn-id: https://develop.svn.wordpress.org/trunk@13862 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:35:42 +00:00
Dion Hulse 85b5a63f56 Fix notices in post_custom(). Props sirzooro. Fixes #11839
git-svn-id: https://develop.svn.wordpress.org/trunk@13861 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 04:19:44 +00:00
Dion Hulse c552d48674 Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279
git-svn-id: https://develop.svn.wordpress.org/trunk@13860 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:39:00 +00:00
Dion Hulse 6f02bf815c Do not allow empty option names. Trim leading and trailing whitespace from option names. Partial patch props ericmann. Fixes #11506
git-svn-id: https://develop.svn.wordpress.org/trunk@13858 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 03:10:37 +00:00
Dion Hulse dfee0416ec 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: https://develop.svn.wordpress.org/trunk@13857 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:57:09 +00:00
Dion Hulse d3eec153be 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: https://develop.svn.wordpress.org/trunk@13856 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:53:04 +00:00
Dion Hulse c23d49d135 Update wp_list_categories() to be custom taxonomy aware. Props jfarthing84. See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13854 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 02:07:31 +00:00
Dion Hulse c784614283 Avoid notices for requests with no body. Also fixes a few race conditions related to headers. Fixes #11872
git-svn-id: https://develop.svn.wordpress.org/trunk@13849 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:56:43 +00:00
Dion Hulse bc64064f82 Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13848 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:33:25 +00:00
Dion Hulse 0620459e8d Correct Array style for returning Multiple HTTP Headers. See #12045
git-svn-id: https://develop.svn.wordpress.org/trunk@13847 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 00:23:40 +00:00
Andrew Nacin 280b71b5e2 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: https://develop.svn.wordpress.org/trunk@13845 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 07:56:54 +00:00
Dion Hulse 99359a2b48 Remove Debug cruft.. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13839 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:03:58 +00:00
Dion Hulse 9cd846b401 Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13838 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 05:56:27 +00:00
Andrew Nacin a383d24d57 Remove 'Turbo' link from admin header. see #11301
git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 20:59:57 +00:00
Andrew Nacin 2ec8eace83 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: https://develop.svn.wordpress.org/trunk@13832 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:55:48 +00:00
Andrew Nacin 0459129e69 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13831 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:44:43 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Andrew Nacin d43df7123a Change @since 2.9 to @since 2.9.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13829 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:23:39 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Andrew Nacin 411e9a74f1 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: https://develop.svn.wordpress.org/trunk@13826 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 18:40:29 +00:00
Ryan Boren 3d69d47f63 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: https://develop.svn.wordpress.org/trunk@13824 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 17:09:53 +00:00
Andrew Nacin e721260a3b WP_I18N_* for .maintenance strings. fixes #12485
git-svn-id: https://develop.svn.wordpress.org/trunk@13822 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:06:12 +00:00
Andrew Nacin 84ba6e473e 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: https://develop.svn.wordpress.org/trunk@13821 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 14:00:17 +00:00
Andrew Nacin 28f8063d1f Introduce get_index_template(). Allows child themes to override a parent theme's index.php. Props koopersmith, fixes #12635
git-svn-id: https://develop.svn.wordpress.org/trunk@13819 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 13:52:43 +00:00
Peter Westwood 8003673862 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: https://develop.svn.wordpress.org/trunk@13815 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:02:45 +00:00
Ryan Boren 0286b0f2e5 Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@13814 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:00:36 +00:00
Ryan Boren 450110f9f2 Don't return WP_Error from term_description(). Props filosofo. fixes #12707
git-svn-id: https://develop.svn.wordpress.org/trunk@13813 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 17:28:16 +00:00
Nikolay Bachiyski cab7d51114 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: https://develop.svn.wordpress.org/trunk@13812 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 15:33:35 +00:00
Ryan Boren eeb49f6bef Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13810 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-24 18:35:31 +00:00
Andrew Nacin 5bcb23827d Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: https://develop.svn.wordpress.org/trunk@13806 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-23 19:13:58 +00:00
Andrew Nacin 0ac5c26d2d Prevent the nav menu walker from walking in circles. Don't allow an object from being a child of itself; if the functionality is desired, a workaround would be custom links. see #11817, see #12566. (Script loader bump for r13802, r13803). props ptahdunbar for the commits.
git-svn-id: https://develop.svn.wordpress.org/trunk@13804 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 22:33:12 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Andrew Nacin d53d09ca48 Fix notice without breaking comment notifications. See r13150, see #11830
git-svn-id: https://develop.svn.wordpress.org/trunk@13801 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 16:06:55 +00:00
Dion Hulse 1b219fcd7a Add some defensive checks to Canonical redirection of %category% to ensure notices are not thrown. Props jfarthing84 for pointing out possibility. See #11907
git-svn-id: https://develop.svn.wordpress.org/trunk@13798 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 07:05:50 +00:00
Nikolay Bachiyski 7fcffb8d12 Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 06:51:49 +00:00
Andrew Nacin 747fd91e0a Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
git-svn-id: https://develop.svn.wordpress.org/trunk@13793 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 03:11:15 +00:00
Dion Hulse 3ca4e60665 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13788 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 06:06:18 +00:00
Dion Hulse af3144f092 When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
git-svn-id: https://develop.svn.wordpress.org/trunk@13787 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:52:00 +00:00
Dion Hulse 6f62362b96 Use correct cap checks and nonces for custom post_type's
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:29:11 +00:00
Dion Hulse f24da9abad Fix WP_User::remove_role(). See #10285
git-svn-id: https://develop.svn.wordpress.org/trunk@13784 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:36:54 +00:00
Dion Hulse 691bd47301 Only allow %category% to be a valid category attached to the current post when using %category% in a permalink structure. Fixes #11807
git-svn-id: https://develop.svn.wordpress.org/trunk@13781 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 06:27:27 +00:00
Dion Hulse 9e75e9944d Update Canonical paging to reconise /page(\d+)/? as a valid paging path. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13780 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 03:22:08 +00:00
Dion Hulse 6be1550e75 Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:23:52 +00:00
Dion Hulse 513dc9d474 Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
git-svn-id: https://develop.svn.wordpress.org/trunk@13773 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:05:32 +00:00
Dion Hulse 60d2b654ac Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
git-svn-id: https://develop.svn.wordpress.org/trunk@13772 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 01:10:01 +00:00
Andrew Nacin dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin ddc506f01c Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Dion Hulse ef886dfdfe Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13766 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 09:37:36 +00:00
Andrew Nacin 997913449c Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@13761 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 01:11:21 +00:00
Peter Westwood f93010c7ff Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13758 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:55:25 +00:00
Peter Westwood 8d9aac849f Introduce apply_filters_ref_array(). See #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13756 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 21:24:07 +00:00
Andrew Nacin 21c4e3e30e Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630
git-svn-id: https://develop.svn.wordpress.org/trunk@13754 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 20:17:15 +00:00
Andrew Nacin 39547dbeb9 Check in the script version bump for [13752]
git-svn-id: https://develop.svn.wordpress.org/trunk@13753 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:25:55 +00:00
Andrew Nacin 6eb9146145 Fix notice for when no menus are located. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13743 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 21:34:24 +00:00
Andrew Nacin 2256bb9a70 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13742 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:44:59 +00:00
Mark Jaquith 23f3d3f190 nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13741 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:03:02 +00:00
Mark Jaquith f9c0a28884 Bump nav-menu JS version
git-svn-id: https://develop.svn.wordpress.org/trunk@13740 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 20:01:31 +00:00
Peter Westwood fc7db66476 Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13738 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:33:20 +00:00
Ryan Boren e89d1c5dcb Introduce WP_DEFAULT_THEME
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:42:49 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ryan Boren a62734b401 Fix menu item type labels. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13731 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:18:41 +00:00
Mark Jaquith a333213a6f No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13730 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:13:16 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Ryan Boren 5e9792f9f7 Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:01:49 +00:00
Ryan Boren 1bb04ed42a Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13719 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:20:10 +00:00
Ryan Boren 35236d8291 Introduce sanitize_key().
git-svn-id: https://develop.svn.wordpress.org/trunk@13718 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 19:19:32 +00:00
Andrew Nacin 39d8739a81 Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13717 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 18:36:26 +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 d6d03bf1a8 fix spelling/typo in nav menu message, props jorbin, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13712 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 22:46:30 +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 2f1c39ad75 fix warning on cookie_domain, see #12457
git-svn-id: https://develop.svn.wordpress.org/trunk@13707 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 17:43:18 +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
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 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 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
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
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 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 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
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 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
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 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
Ryan Boren 74ece7e880 Cache get_lastpostmodified() results. see #12575
git-svn-id: https://develop.svn.wordpress.org/trunk@13653 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 21:32:03 +00:00
Ryan Boren 1ca609f8d3 Move wp_shortlink_header to template_redirect. Props miqrogroove. see #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13652 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 21:19:54 +00:00
Ryan Boren 30bb2a68a1 Don't replace Link headers. Update phpdoc. see #10604
git-svn-id: https://develop.svn.wordpress.org/trunk@13650 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 20:10:32 +00:00
Ryan Boren f8a2a5ca31 Fix numeric entity logic in kses. Props miqrogroove. see #12284
git-svn-id: https://develop.svn.wordpress.org/trunk@13648 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 18:45:28 +00:00
Ryan Boren 78ef621011 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: https://develop.svn.wordpress.org/trunk@13647 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 18:37:03 +00:00
Ryan Boren 96ace89041 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13635 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:36:38 +00:00
Ron Rennick 59fe0e60fa Dont define BLOGUPLOADDIR if UPLOADS is defined, see #12558
git-svn-id: https://develop.svn.wordpress.org/trunk@13632 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 18:19:28 +00:00
Ron Rennick 29e618f33a additional checks on allow existing media path, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13631 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 18:08:25 +00:00
Dion Hulse 8aeef79822 Update 'edited_term_taxonomy' to pass the same args in all locations called. See #12348
git-svn-id: https://develop.svn.wordpress.org/trunk@13626 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:53:02 +00:00
Dion Hulse 586961f7aa Add custom post_type support to _update_post_term_coun(). Props momo360modena. Fixes #12348
git-svn-id: https://develop.svn.wordpress.org/trunk@13625 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:48:18 +00:00
Dion Hulse 242b49b6f2 Correct logic inversion in Canonical Taxonomy Term links. Fixes #12547
git-svn-id: https://develop.svn.wordpress.org/trunk@13623 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:07:03 +00:00
Andrew Nacin 91b380571d Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13622 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 06:14:42 +00:00
Ron Rennick 13aa99629a allow existing media path on main site when converting to multisite, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@13619 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 19:52:29 +00:00
Andrew Nacin 40b0dea470 Fix warning in users.php. Fixes #12555
git-svn-id: https://develop.svn.wordpress.org/trunk@13617 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 14:30:17 +00:00
Dion Hulse bcf8d7598e Check date_create() exists for automatic-timezone functionality. Props hakre. Fixes #12534
git-svn-id: https://develop.svn.wordpress.org/trunk@13616 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-07 02:51:55 +00:00
Dion Hulse d2232722ea Don't 404 for empty custom taxonomy terms. See #12533
git-svn-id: https://develop.svn.wordpress.org/trunk@13615 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-07 00:42:50 +00:00
Andrew Nacin 809684b754 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: https://develop.svn.wordpress.org/trunk@13611 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:01:32 +00:00
Andrew Nacin 8995a960b9 Move $base sanity check to from MS config template to ms-settings. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 19:36:35 +00:00
Ryan Boren 2cd7529b55 get_taxonomies(). Props ptahdunbar, scribu. fixes #12516
git-svn-id: https://develop.svn.wordpress.org/trunk@13608 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:20:11 +00:00
Dion Hulse 8dc67aa8f9 More whitespace & coding stadards cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13599 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 05:57:24 +00:00
Dion Hulse 89c01536de Coding Standards: no camelcase variables, use lowercase for variables. Props hakre. Fixes #12519
git-svn-id: https://develop.svn.wordpress.org/trunk@13598 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 05:53:20 +00:00
Dion Hulse ce6ac1f938 Fix double slashing on /index.php//taxonomy/term/ links. Props Scribu. Fixes #12508. Also Fixes #10445
git-svn-id: https://develop.svn.wordpress.org/trunk@13597 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 03:43:23 +00:00
Ron Rennick fce63decb9 update iis rewrite rules for MS, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13596 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 23:44:43 +00:00
Dion Hulse a8c6439c17 Bump the schema after [13576]. Props miqrogroove. Fixes #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13581 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 08:41:34 +00:00
Ron Rennick fff80a9035 use correct variable, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13580 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 02:23:30 +00:00
Andrew Nacin 7b7554b34d Fix notice. See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13578 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 23:07:23 +00:00
Ryan Boren 1604a2e58b Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ron Rennick a4399a2db5 remove __( calls from ms startup, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13575 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:13:38 +00:00
Ryan Boren 764b0e4068 Background color selection. Props lancewillett. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13574 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:10:43 +00:00
Andrew Nacin 89d20b2df3 Ignore custom user tables when checking whether the blog is installed. see #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13569 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:27:18 +00:00
Andrew Nacin 4ee4545c85 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: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Andrew Nacin f9e7db18bf Fix typo in remove_all_filters() that prevented hooks from being removed by priority. fixes #12492, props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@13567 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 06:41:19 +00:00
Ryan Boren 0253ec2a10 allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13563 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:55:02 +00:00
Ron Rennick feea30b2db allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13562 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:21:24 +00:00
Peter Westwood 64dce47ade Improve kses handling of attributes in valid XHTML self closed img tags. Fixes #12394 props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@13561 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:11:08 +00:00
Matt Mullenweg c9dfdbc8c6 Better subdomains for faster Gravatar loading. An update to [13385].
git-svn-id: https://develop.svn.wordpress.org/trunk@13560 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 21:59:15 +00:00
Andrew Nacin e7c35109d6 Add the_feed_link(). fixes #11794, props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@13557 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 19:00:21 +00:00
Andrew Nacin ae7037d39b Add id argument to wp_dropdown_users() and wp_dropdown_categories(). props johnbillion. Ensure we're escaping name and id in wp_dropdown_users(). fixes #12132
git-svn-id: https://develop.svn.wordpress.org/trunk@13553 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:36:49 +00:00
Ryan Boren 0a2d1ad6ec Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: https://develop.svn.wordpress.org/trunk@13551 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:06:14 +00:00
Ryan Boren d2dc5dd179 Fix is_nav_menu(). Props Utkarsh. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13550 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 17:56:24 +00:00
Dion Hulse b69c44c1f8 Add a 'pre_post_link' filter to get_permalink() before token replacement occurs. Fixes #12240
git-svn-id: https://develop.svn.wordpress.org/trunk@13549 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:57:32 +00:00
Dion Hulse fdf51312a0 Tabbing in Editors: Prevent certain browsers from Tabbing out of the field. Props filosofo. Fixes #12424
git-svn-id: https://develop.svn.wordpress.org/trunk@13548 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:49:06 +00:00
Dion Hulse 535f50f4ab Strip delete_themes from Multisite non-super-admins. Props Denis-de-Bernardy. Fixes #11802
git-svn-id: https://develop.svn.wordpress.org/trunk@13547 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:42:15 +00:00
Mark Jaquith a4acc65fb3 Remove arrows from Nav Menu items. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13543 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 03:58:02 +00:00
Andrew Nacin 8972671e78 Script bump from [13539]
git-svn-id: https://develop.svn.wordpress.org/trunk@13540 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 22:39:04 +00:00
Dion Hulse fcf2d321ab Fix notices inside wp_nav_menu(), Ensure echo => false is passed to fallback callbacks so the function doesnt print HTML directly. See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13532 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:53:51 +00:00
Dion Hulse 97bd9628d7 Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@13531 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:32:00 +00:00
Dion Hulse 38817d572b A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
git-svn-id: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Dion Hulse 9e3aaa0bf5 Add a front end Ajax handler. Props Denis-de-Bernardy. See #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13527 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:49:50 +00:00
Andrew Nacin cd9d4b8291 Add __return_true() to complement __return_false(). see #12381
git-svn-id: https://develop.svn.wordpress.org/trunk@13526 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 08:50:27 +00:00
Andrew Nacin a7ddb80402 Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
git-svn-id: https://develop.svn.wordpress.org/trunk@13520 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:50:55 +00:00
Andrew Nacin 463fb808cf Check in install.css for [13516]. Bump version, include version in readme.html. see #10835
git-svn-id: https://develop.svn.wordpress.org/trunk@13518 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 22:44:27 +00:00
Andrew Nacin 13d3a5bb5b Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Andrew Nacin 91b033f819 Provide filter to allow including comment author's URL in comment moderation link count. see #11684
git-svn-id: https://develop.svn.wordpress.org/trunk@13513 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:02:14 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Andrew Nacin 5c706700f3 Don't pass serialized values to hooks in options API. see #10788 see #12416
git-svn-id: https://develop.svn.wordpress.org/trunk@13508 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:32:17 +00:00
Dion Hulse 81b675575d Use $wp_query->get_queried_object() in single_post_title(). Fixes #11731
git-svn-id: https://develop.svn.wordpress.org/trunk@13502 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:00:27 +00:00
Dion Hulse 5f43ce3a7b Add meta_value_num meta_key ordering for WP_Query. Allows Natural numeric ordering of results. Props stencil & scribu for cleanups. Fixes #10649
git-svn-id: https://develop.svn.wordpress.org/trunk@13501 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:49:10 +00:00
Dion Hulse e86fe47537 Allow WP_FALLBACK_THEME to be overridden. Props Denis-de-Bernardy. Fixes #12425
git-svn-id: https://develop.svn.wordpress.org/trunk@13500 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:39:28 +00:00
Dion Hulse 4997601dd1 Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395.
git-svn-id: https://develop.svn.wordpress.org/trunk@13499 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 12:19:09 +00:00
Dion Hulse 0f638312f7 Fix Metadata deletion. See #12414 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13496 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 10:07:55 +00:00
Dion Hulse 0f8493b92b Revert part of r13486, is_tax() is false for tags||categories. See #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13495 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:45:52 +00:00
Dion Hulse bfe10ba981 Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
git-svn-id: https://develop.svn.wordpress.org/trunk@13494 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:40:42 +00:00
Dion Hulse e7721041df When using Page on front, Do not jump back to Blog listing when per-page query vars are set. Fixes #12047
git-svn-id: https://develop.svn.wordpress.org/trunk@13493 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 09:19:34 +00:00
Dion Hulse 4070e39a15 Initialise Search related query vars. Props scribu. Fixes #11480
git-svn-id: https://develop.svn.wordpress.org/trunk@13492 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:47:11 +00:00
Dion Hulse 0cba2f4429 Use get_terms() in wp_count_terms(). Props scribu. Fixes #10746
git-svn-id: https://develop.svn.wordpress.org/trunk@13491 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:37:24 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 10355ed13c More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13486 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 05:59:39 +00:00
Dion Hulse 913ab67ecb Fix spelling typo's in r13484. See #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13485 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:27:32 +00:00
Dion Hulse c74a4432b4 Support non-BASIC Authentication schemes in the HTTP API if server supports them. Props ssandison, See #4011, Fixes #12200
git-svn-id: https://develop.svn.wordpress.org/trunk@13484 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:24:04 +00:00
Dion Hulse 0b63979093 Add get_search_link() with Permastruct (/search/) support. Props jshreve. Update get_search_link(), get_search_feed_link() & get_search_comments_feed_link() to use it, as well as supporting Permastructs for those feeds. Fixes #10552
git-svn-id: https://develop.svn.wordpress.org/trunk@13483 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:15:02 +00:00
Dion Hulse 4b4c0c6cd2 Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 02:49:01 +00:00
Andrew Nacin 6f3f1d0806 Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:46:39 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin 5b05536235 Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 7c2178caba Escape mod_$theme option name. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin a7a3e94381 Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
git-svn-id: https://develop.svn.wordpress.org/trunk@13468 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:06:35 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Andrew Nacin f015c58d27 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:11:45 +00:00
Andrew Nacin 7eea49d9d1 Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
git-svn-id: https://develop.svn.wordpress.org/trunk@13462 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:49:49 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick 60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin 545d58b699 Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
git-svn-id: https://develop.svn.wordpress.org/trunk@13456 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:10:45 +00:00
Andrew Nacin 44051cfdb6 Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: https://develop.svn.wordpress.org/trunk@13454 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:45:09 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Dion Hulse bc2c6922cb New files svn:eol-style: native.
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:37:38 +00:00
Andrew Nacin 394430fbbe add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +00:00
Andrew Nacin 33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Andrew Nacin a62faa1ccf Small fix to [13433], see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13439 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:26:51 +00:00
Andrew Nacin e122f6d181 Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13438 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:23:58 +00:00
Andrew Nacin d2cfae455e s/cancelled/canceled/
git-svn-id: https://develop.svn.wordpress.org/trunk@13437 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:12:27 +00:00
Andrew Nacin b20651cc65 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: https://develop.svn.wordpress.org/trunk@13436 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:09:29 +00:00
Andrew Nacin 8f6c9e395f Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
git-svn-id: https://develop.svn.wordpress.org/trunk@13434 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:06:09 +00:00
Andrew Nacin 8271d92017 Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13433 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 18:51:37 +00:00
Andrew Nacin 19f50392f9 Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
git-svn-id: https://develop.svn.wordpress.org/trunk@13432 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:18:59 +00:00
Andrew Nacin 4464b5d33c Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: https://develop.svn.wordpress.org/trunk@13430 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:40:35 +00:00
Andrew Nacin aeebb3c2af Suppress potential is_readable() warning. Fixes #12148 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13429 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:25:10 +00:00
Andrew Nacin e7fa18385a Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Andrew Nacin 9a033bf679 @since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13426 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:14:26 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin e3b9237738 Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: https://develop.svn.wordpress.org/trunk@13424 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 04:53:30 +00:00
Andrew Nacin f62e8796d9 Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: https://develop.svn.wordpress.org/trunk@13422 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:37:20 +00:00
Ron Rennick c02cd1ebc8 always call set_blog_id after blog lookup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13421 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:05:11 +00:00
Ryan Boren 61ffa682c1 Note theme support for custom background, header, and menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Peter Westwood 9ad6dd41c7 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Ryan Boren 3e8d636d4d Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13415 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:00:26 +00:00
Peter Westwood d25e3fdf2c '>"
git-svn-id: https://develop.svn.wordpress.org/trunk@13414 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:57:38 +00:00
Peter Westwood fd0925a920 Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.

git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:56:28 +00:00
Ryan Boren cf9c66c4a5 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13411 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:53 +00:00
Peter Westwood fcd36216e0 Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13408 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:16:07 +00:00
Ryan Boren 2cc6791fe7 Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13407 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:13:13 +00:00
Ryan Boren 60cb61e54f Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00
Ryan Boren 4d3733bef0 Pass taxonomy when looking for duplicate term slug.
git-svn-id: https://develop.svn.wordpress.org/trunk@13405 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:04:02 +00:00
Ryan Boren 4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ron Rennick 899906649c move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
Ryan Boren 0489d40810 s/Custom Menu/Menu/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13401 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 16:57:57 +00:00
Dion Hulse 1fa94a6e1e Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13399 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 11:09:34 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Mark Jaquith 618803a53e Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13397 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:48:17 +00:00
Dion Hulse 922e3e828f Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: https://develop.svn.wordpress.org/trunk@13396 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 07:56:25 +00:00
Mark Jaquith 212cd616cb Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13395 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 05:40:03 +00:00
Ron Rennick ea97476b5c Warnings, code & UI/UX cleanup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13392 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 23:12:51 +00:00
Mark Jaquith ea659db305 Bump script version
git-svn-id: https://develop.svn.wordpress.org/trunk@13391 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:54:00 +00:00
Ryan Boren c5ed3410f1 Formatting cleanups for the nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13388 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:33:27 +00:00
Ron Rennick fcabf2c9df database code cleanup, See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13387 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:30:13 +00:00
Ron Rennick b2e6817220 update wpdb blogid using setter, See #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13386 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:07:23 +00:00
Ryan Boren 69021b5fc4 Hash to static gravatar domains. Props apokalyptik.
git-svn-id: https://develop.svn.wordpress.org/trunk@13385 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:50:40 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Mark Jaquith 1b01dd4ecd Some XSS escaping love for nav menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13381 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:10:12 +00:00
Ryan Boren 01566773be Rename nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13378 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:25:13 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Andrew Nacin 686c7fa0e4 More wpdb cleanups, see #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13376 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:58:52 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Mark Jaquith 56862a5741 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13372 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:37:00 +00:00
Mark Jaquith 2586813ba9 Use esc_js() so pages with quotes can be added to custom menu. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13371 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:20:45 +00:00
Mark Jaquith cee605ea34 Fix menu links. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13370 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 10:11:49 +00:00
Ryan Boren ed332ce2bd Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Andrew Nacin e6b37271cd Coil the kses entities whitelist. See #12284
git-svn-id: https://develop.svn.wordpress.org/trunk@13363 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 07:33:14 +00:00
Ryan Boren 2d86f12b6f Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13362 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:41:35 +00:00
Ryan Boren f6e79cc66c s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren 096ea9990a Whitelist entities. Props miqrogroove. see #12284
git-svn-id: https://develop.svn.wordpress.org/trunk@13358 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:37:20 +00:00
Ryan Boren ab58e705b9 Don't quote escaped strings. Props dd32. see #11608
git-svn-id: https://develop.svn.wordpress.org/trunk@13357 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:30:34 +00:00
Ron Rennick 7623fc24ac dont show items when menu empty, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13354 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:37:15 +00:00
Andrew Nacin fb4b78214b Don't use private wpdb vars. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13353 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 00:18:18 +00:00
Andrew Nacin 1b3f29f056 Proper RTL + .dev.css support, first pass. See #12292
git-svn-id: https://develop.svn.wordpress.org/trunk@13351 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:46:07 +00:00
Andrew Nacin ef2c401876 Add .type-{post_type} to post_class. fixes #11609
git-svn-id: https://develop.svn.wordpress.org/trunk@13350 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:32:17 +00:00
Andrew Nacin 4f3ffedba8 Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy
git-svn-id: https://develop.svn.wordpress.org/trunk@13349 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 23:26:30 +00:00
Andrew Nacin d37de180e1 Validate $object_id in *_metadata() functions. Props scribu fixes #11841
git-svn-id: https://develop.svn.wordpress.org/trunk@13347 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:42:54 +00:00
Ryan Boren 54ff8bf47c Fix php open tag. Props TobiasBg. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13345 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:07:33 +00:00
Ryan Boren a4b48f6d6a Some nav menu API. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13344 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:06:21 +00:00
Andrew Nacin 0c2fa545cd More wpdb cleanups, docs. see #11644 props hakre
git-svn-id: https://develop.svn.wordpress.org/trunk@13343 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 22:04:29 +00:00