Commit Graph

7771 Commits

Author SHA1 Message Date
Ryan Boren 76e77b1790 Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Andrew Nacin 15efc0fa0a Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17083 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:21:42 +00:00
Andrew Nacin ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren 3df8f3d4a5 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17080 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 13:30:39 +00:00
Ryan Boren 75028c8b48 @since additions and updates. Props demetris. fixes #15867
git-svn-id: https://develop.svn.wordpress.org/trunk@17079 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:49:18 +00:00
Ryan Boren c460268d15 Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
git-svn-id: https://develop.svn.wordpress.org/trunk@17077 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:57:25 +00:00
Ryan Boren 2423095bc1 Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
git-svn-id: https://develop.svn.wordpress.org/trunk@17076 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:41:08 +00:00
Andrew Nacin 1df12424d1 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: https://develop.svn.wordpress.org/trunk@17075 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:06:54 +00:00
Andrew Nacin 9dd606211b Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.
git-svn-id: https://develop.svn.wordpress.org/trunk@17074 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:44:14 +00:00
Andrew Nacin 23339857e5 Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: https://develop.svn.wordpress.org/trunk@17073 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 10:22:06 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin 9a5687bdfd Don't fatal error when conditional tags are called before init. fixes #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17068 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:17:52 +00:00
Andrew Nacin 28604faac7 Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900.
git-svn-id: https://develop.svn.wordpress.org/trunk@17067 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:52 +00:00
Andrew Nacin d8871ce771 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: https://develop.svn.wordpress.org/trunk@17066 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:14:09 +00:00
Andrew Nacin 9aaa805cfb Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17064 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 21:11:24 +00:00
Ryan Boren 99bd388ef3 Fix guid generation for page auto drafts. Props shawnparker. fixes #15041
git-svn-id: https://develop.svn.wordpress.org/trunk@17061 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 14:42:17 +00:00
Peter Westwood b334556bbf Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@17057 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 09:54:13 +00:00
Andrew Nacin f660585656 Allow dfault post format selections. fixes #15882.
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Dion Hulse 17c58ec609 Revert debug cruft from r17052. See #15885
git-svn-id: https://develop.svn.wordpress.org/trunk@17053 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:58:09 +00:00
Dion Hulse e2024b81fc Fix Pings/Trackback comment table filter. Props greuben. Fixes #15885
git-svn-id: https://develop.svn.wordpress.org/trunk@17052 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 04:55:46 +00:00
Andrew Nacin e3c2e17aee Don't limit total_users. props scribu, fixes #15479.
git-svn-id: https://develop.svn.wordpress.org/trunk@17034 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 22:07:26 +00:00
Ryan Boren bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Mark Jaquith 3373f98da0 Strip partial name= parameters when doing canonical redirection on them with default permalinks. props filosofo. fixes #15775
git-svn-id: https://develop.svn.wordpress.org/trunk@17031 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:57:03 +00:00
Mark Jaquith 381f8eeed1 Do not add URL query args twice in certain Canonical Redirect situations. Use add_query_arg(). props filosofo. fixes #15774
git-svn-id: https://develop.svn.wordpress.org/trunk@17030 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 20:23:34 +00:00
Andrew Nacin 537d726a7c Make get_the_taxonomies() take an array of arguments. props scribu, fixes #14740.
git-svn-id: https://develop.svn.wordpress.org/trunk@17028 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 16:33:16 +00:00
scribu e58993fe2e Disable sorting by post count for now. See #15861
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood 373ed6ae4e -- bad white space part deux
git-svn-id: https://develop.svn.wordpress.org/trunk@17023 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:42:37 +00:00
Peter Westwood ee16fbfe00 -- bad white space
git-svn-id: https://develop.svn.wordpress.org/trunk@17022 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:40:15 +00:00
Peter Westwood 99aa874270 Ensure show_admin_bar( false ) works after init. Fixes #15856.
git-svn-id: https://develop.svn.wordpress.org/trunk@17021 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:34:36 +00:00
Peter Westwood 6853258d19 If we are previewing don't show the admin bar. See #15856
git-svn-id: https://develop.svn.wordpress.org/trunk@17020 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:53 +00:00
Andrew Nacin 5ee410fd40 NULL isn't set.
git-svn-id: https://develop.svn.wordpress.org/trunk@17019 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:32:43 +00:00
Andrew Nacin 1f6ecacf22 More admin bar css reset. props JohnONolan, see #15851.
git-svn-id: https://develop.svn.wordpress.org/trunk@17017 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 04:51:14 +00:00
scribu e452616f40 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu 08ffc2d291 Get only required fields in wp_getAuthors(). Props duck_. See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17011 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 23:43:24 +00:00
Ryan Boren 748f5f0154 phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Ryan Boren d56880f092 Revert [16987]. This pollutes home and siteurl during signup and blog creation. see #14867
git-svn-id: https://develop.svn.wordpress.org/trunk@17005 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:48:00 +00:00
scribu c9c1be7e78 Remove placeholder row when adding first term. See #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17003 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:13:47 +00:00
scribu 96e692baed Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren de072fe02a Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Ryan Boren c561de13d4 Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830
git-svn-id: https://develop.svn.wordpress.org/trunk@17000 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:23:54 +00:00
Ryan Boren c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Peter Westwood b8d51ca378 Bumpity Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16997 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 11:32:08 +00:00
Andrew Nacin 4db50ee643 The user description field should be esc_textarea when context is edit. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@16995 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 10:04:21 +00:00
Andrew Nacin 541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Mark Jaquith dda708677e Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16993 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:24:22 +00:00
Andrew Nacin 8c7a9647fc Add scheme arguments to get_blogaddress_by_domain and get_blogaddress_by_id. props adambackstrom for initial patch, fixes #14867.
git-svn-id: https://develop.svn.wordpress.org/trunk@16987 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 07:58:57 +00:00
Andrew Nacin 3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Andrew Nacin 8cf8f3380c maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16977 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:06:59 +00:00
scribu c12c44db5e Fetch only the required field in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@16974 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:56:53 +00:00
Andrew Nacin 98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00