Commit Graph

6445 Commits

Author SHA1 Message Date
nacin
6bad016e80 Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:49:19 +00:00
nacin
144af9f1a4 Allow orberby in wp_list_bookmarks to accept a comma-delimited list of fields, per docs. fixes #12421, props sorich87, scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:45:09 +00:00
dd32
cf0e90578e Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995
git-svn-id: http://svn.automattic.com/wordpress/trunk@14129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 04:01:19 +00:00
dd32
7058bb3db8 Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874
git-svn-id: http://svn.automattic.com/wordpress/trunk@14128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:45:24 +00:00
dd32
f4c48adc7f Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: http://svn.automattic.com/wordpress/trunk@14125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:54:44 +00:00
dd32
87bd780ca9 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 01:46:28 +00:00
dd32
eb74c91d9f Do not exclude inherit post_status from query results, Fixes Attachment listing in Gallery tab as well as displaying galleries on the front end (get_children() & friends). See #13031
git-svn-id: http://svn.automattic.com/wordpress/trunk@14122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 10:30:46 +00:00
dd32
41c63bd520 Respect the post_type param for Taxonomy Queries, Props Otto & Dougal Campbell. Restrict Attachment post_status joins to queries involving attachment results ("any" or "attachment"). See #13020
git-svn-id: http://svn.automattic.com/wordpress/trunk@14121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-17 09:03:33 +00:00
nacin
e8c8ef08f0 Move stray closing p tag out of a translation. props chrisbliss18, fixes #13036.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 22:27:37 +00:00
nacin
e6e03bd7df Allow for removing all tags in quick edit. Check only if $tags_input isset (can be empty) before running wp_set_post_tags. props sivel, fixes #12318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 21:39:10 +00:00
nacin
f07882dfba Some sanity checks for parse_url in do_enclose. props miqrogroove, fixes #11029
git-svn-id: http://svn.automattic.com/wordpress/trunk@14116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 19:48:30 +00:00
nacin
045c407a3c Remove tabindex from comment_form(). fixes #12963
git-svn-id: http://svn.automattic.com/wordpress/trunk@14114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 18:29:39 +00:00
ryan
a86f7357c5 Add edit_theme_options capability
git-svn-id: http://svn.automattic.com/wordpress/trunk@14111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 15:36:44 +00:00
nacin
5deebd667f Strip new lines from Viddler embeds, as we do for Scribd embeds. Avoids conflicts with wpautop. props Viper007Bond. see #12115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:15:16 +00:00
nacin
14916e2449 Introduce the wp_filter_object_list() helper, with an $operator arg. Fixes an intersection bug in get_post_types() and get_taxonomies(). Also switches $operator default from 'or' to 'and' for get_post_stati(). props scribu, fixes #12966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:08:58 +00:00
nacin
207a1d6958 Consistently return WP_Error on failure in image_resize. props filosofo, fixes #12268
git-svn-id: http://svn.automattic.com/wordpress/trunk@14105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:53:22 +00:00
nacin
757d3ba8ae Strip tags before escaping the title element in wp_list_pages(). props scribu. fixes #11040.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:49:52 +00:00
ryan
48a87bdaca Check if value is not set. Possible in the use_cache = false scenario.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 13:15:39 +00:00
nacin
f9f8d61872 Fix menu icons for custom post types. Fixes #12992, props wmrom.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 03:29:34 +00:00
nacin
c4abc1c875 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: http://svn.automattic.com/wordpress/trunk@14099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:29:10 +00:00
nacin
7b83161397 Fix Right Now ugliness in blue/classic theme. see #12202
git-svn-id: http://svn.automattic.com/wordpress/trunk@14098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 02:08:28 +00:00
westi
436232d505 Improve behaviour of wptexturize with respect to single quotes. See #4539 props jmstacey.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 21:39:58 +00:00
ryan
fcd9d28f10 Make sure is instantiated. see #12997
git-svn-id: http://svn.automattic.com/wordpress/trunk@14094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 21:24:52 +00:00
nacin
c229cdcba7 Spacing/coding cleanup of comment_form(). see #13016.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:25:08 +00:00
nacin
b8917ef747 Update the html comments in comment_form(). props iandstewart, fixes #13016.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 16:16:51 +00:00
nacin
b18ac8fcdb Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 22:06:03 +00:00
ryan
c4a677dea9 Introduce DISALLOW_FILE_MOD for disabling all ops that modify core, theme, or plugins files. see #13000
git-svn-id: http://svn.automattic.com/wordpress/trunk@14088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 17:22:11 +00:00
ryan
5e923222fa Assume unattached attachments are published. fixes #12999
git-svn-id: http://svn.automattic.com/wordpress/trunk@14087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 15:20:15 +00:00
ryan
31c4756a42 Register 'inherit' as a post status. Check the parent post status when commenting on attachments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-14 14:07:48 +00:00
ryan
687ce2919f Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: http://svn.automattic.com/wordpress/trunk@14080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:56:57 +00:00
ryan
1f93931d55 Always include class-http.php. see #12990
git-svn-id: http://svn.automattic.com/wordpress/trunk@14079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 21:45:57 +00:00
westi
2906ded640 Remove blank data and lines after the closing ?> which can break image display for multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 17:13:28 +00:00
ryan
eec2968be7 Sanity check terms. Skip term IDs that don't exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 14:32:30 +00:00
ryan
5a76e8be5d Cache fixes for get_blog_details()
git-svn-id: http://svn.automattic.com/wordpress/trunk@14076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-13 12:43:40 +00:00
nacin
3c5115f15f Don't use require_once for get_template_part(). fixes #12958.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 17:26:03 +00:00
nacin
4975bf8ed8 Revert changes to maybe_serialize() made in r13673. Do not prevent double-serialization of data. see #12930. see also #12416. xref #7347, r8100, r8372, and others.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 17:07:20 +00:00
nacin
ccb93ac4c7 Add @since.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 15:23:20 +00:00
dd32
221075d9f6 Alternative implementation of custom post_type query_var handling. fills name & pagename for custom post_types to reduce amount of code duplication. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@14072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 13:51:24 +00:00
dd32
b555a9a076 Update get_post_type() to perform on the current global post if none specified. Update PHPDoc to reflect changes. Props rmccue. Fixes #12827
git-svn-id: http://svn.automattic.com/wordpress/trunk@14071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 11:10:54 +00:00
dd32
442d41291a Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: http://svn.automattic.com/wordpress/trunk@14070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 10:41:54 +00:00
dd32
d18ac45778 Update Press This category styling & html to match 3.0 management screens. Props noel. See #12809
git-svn-id: http://svn.automattic.com/wordpress/trunk@14069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 09:11:39 +00:00
dd32
994b00e85b Correct sample URL's for custom post_type's. uses pretty permalinks if possible. Props duck_. See #12870
git-svn-id: http://svn.automattic.com/wordpress/trunk@14068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:58:40 +00:00
dd32
9cd8dd44c6 Introduce get_comment_id_fields() as a Getter for comment_id_fields(). Introduce a filter on the output to add extra fields. Props zoranzaric. Fixes #12893
git-svn-id: http://svn.automattic.com/wordpress/trunk@14067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:56:18 +00:00
dd32
8d68a04c1f Add WordPerfect filetypes to Mimetype list. Props morganestes. Fixes #12849
git-svn-id: http://svn.automattic.com/wordpress/trunk@14066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 08:50:23 +00:00
dd32
fbf39813dc Add .tsv file format to Upload whitelist. Fixes #12757
git-svn-id: http://svn.automattic.com/wordpress/trunk@14064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:11:29 +00:00
dd32
b8d68f977d Consistent spacing for MAnage|Install Themes menu tabs. Props dremeda for initial patch. See #12412
git-svn-id: http://svn.automattic.com/wordpress/trunk@14063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-11 02:02:30 +00:00
dd32
0e7c1a0cb3 Update Future Scheduled posts publish status to Published upon updating the date to a past date. Props bumbu. Fixes #12751
git-svn-id: http://svn.automattic.com/wordpress/trunk@14062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 14:00:30 +00:00
nacin
9342a4b4c8 Script bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 13:22:42 +00:00
nacin
e0eea8e857 Some wpdb cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:25 +00:00
dd32
c7b7d67892 Remember the post_parent during autosaves. Props duck_. Fixes #12938
git-svn-id: http://svn.automattic.com/wordpress/trunk@14057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:39:01 +00:00
dd32
0b4ebffe70 Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: http://svn.automattic.com/wordpress/trunk@14056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:17:19 +00:00
nacin
14e2cb8f6e Don't set MIME headers in MS activation/welcome emails. fixes #12728, props barry.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 12:11:03 +00:00
nacin
5e36f9f821 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:54:33 +00:00
dd32
ab16d12c2c Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
git-svn-id: http://svn.automattic.com/wordpress/trunk@14053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:42:45 +00:00
nacin
71d7acc71d Mark Snoopy as deprecated. see #12882
git-svn-id: http://svn.automattic.com/wordpress/trunk@14052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:32:02 +00:00
nacin
880b27ee2b Clean up the HTTP inline docs to reflect the times. props jacobsantos, fixes #12882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 11:23:21 +00:00
nacin
b4d8b0cbb7 Tweaks to the action in get_template_part(). fixes #12248, fixes #12941.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:40:47 +00:00
nacin
ec7530d5bb Simplify logic in is_multisite().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:39:17 +00:00
nacin
c29313ab4d Register a dummy [media] shortcode for strip_shortcodes et al. props belg4mit, Viper007Bond. fixes #12505
git-svn-id: http://svn.automattic.com/wordpress/trunk@14035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:16:21 +00:00
nacin
48dc61d1a9 Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 01:04:22 +00:00
ryan
f609d0c8a3 User is_super_admin(). Props ocean90. fixes #12888
git-svn-id: http://svn.automattic.com/wordpress/trunk@14032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:28:10 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
markjaquith
46a353ece7 TB_iframe fixes for stuff that broke in r14015. props scribu. fixes #12878. see #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 13:52:12 +00:00
markjaquith
621ed18936 get_the_author_link(). props zoranzaric. fixes #12892
git-svn-id: http://svn.automattic.com/wordpress/trunk@14028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 12:26:28 +00:00
dd32
fedd1a12d4 Fix a case where $post_type = 'any' causes a large query to run without any specifications (post_name/limits/id/etc). See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@14027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 08:29:46 +00:00
nacin
c6ef197f53 New super admin icons for the blue/classic color scheme from Ben Dunkle. Remove temp icons, implement the new ones. fixes #12374.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 03:54:43 +00:00
ryan
a7f987c35a Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
git-svn-id: http://svn.automattic.com/wordpress/trunk@14019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 15:06:42 +00:00
markjaquith
07a523894a Make thumbnail work for custom post types even if the editor is not being displayed. props scribu. fixes #12792
git-svn-id: http://svn.automattic.com/wordpress/trunk@14015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 11:20:47 +00:00
markjaquith
f1fd3f2780 Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: http://svn.automattic.com/wordpress/trunk@14014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 04:32:08 +00:00
markjaquith
17ee0e577a These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar
git-svn-id: http://svn.automattic.com/wordpress/trunk@14013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 02:43:23 +00:00
josephscott
19e2b4e4b7 Update stats provided to api.wordpress.org see #12672
git-svn-id: http://svn.automattic.com/wordpress/trunk@14010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 20:19:07 +00:00
ryan
526a92fd2c Add global-posts to global cache groups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 18:29:56 +00:00
wpmuguru
7edc8acfb9 remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: http://svn.automattic.com/wordpress/trunk@14005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 04:00:51 +00:00
nacin
751a7d10ea Prevent half-baked loading of MS that would happen when constants are added into wp-config below the wp-settings include. Now it would error on the redefinition of the MULTISITE constant, instead of vague errors, and prevent any MS from loading. see #12848
git-svn-id: http://svn.automattic.com/wordpress/trunk@14000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 00:00:13 +00:00
nacin
c449adb237 File-level phpdoc for multisite files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 13:29:35 +00:00
nacin
c059c511df Use the API to remove comments when deleting a post. Cleans up comment meta in the process. fixes #12766, props briancolinger
git-svn-id: http://svn.automattic.com/wordpress/trunk@13997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:42:34 +00:00
nacin
f181423040 Request XML from an oEmbed provider if the provider returns '501 Not Implemented' for JSON. props nbachiyski, fixes #11964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:30:22 +00:00
nacin
791192d961 Add $force_delete to wp_delete_comment(). see #12766, see #11470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:20:19 +00:00
nacin
1a4a30fcf1 Deprecate trackback_rdf(). fixes #11139
git-svn-id: http://svn.automattic.com/wordpress/trunk@13991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 10:04:56 +00:00
nacin
c602ff86c3 Correct logic in wp_list_authors() for combinations of hide_empty and style args. fixes #10042
git-svn-id: http://svn.automattic.com/wordpress/trunk@13989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:41:07 +00:00
nacin
5f134c587e Deprecate funky_javascript_fix() and it's callback. fixes #12520.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:11:23 +00:00
nacin
2e054e2805 Add docs to add_post_type_support(). fixes #12644, props sillybean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 04:14:17 +00:00
nacin
2581314a95 Convert xfn.js to jQuery. Make the calculated field readonly if js. props rmccue. fixes #12551
git-svn-id: http://svn.automattic.com/wordpress/trunk@13984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:53:14 +00:00
nacin
ecec297237 Cast subject of _deep_replace() to string to prevent an infinite loop. props mdawaffe, fixes #12386
git-svn-id: http://svn.automattic.com/wordpress/trunk@13983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 03:07:14 +00:00
nacin
e4aabba998 Add block-level HTML5 elements to wpautop(). props rmccue. fixes #12335
git-svn-id: http://svn.automattic.com/wordpress/trunk@13982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 01:14:22 +00:00
nacin
2501fac129 Remove Gears from UI. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 00:48:28 +00:00
nacin
6efe44acbc Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: http://svn.automattic.com/wordpress/trunk@13978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:38:38 +00:00
nacin
7289a8df23 Fix the sticky footer. hides a scrollbar. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:30:27 +00:00
nacin
8e436271ed Ensure we're escaping css classes for front end nav menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 23:04:37 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
06382b1f76 More admin header improvements. props JohnONolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 12:13:38 +00:00
nacin
75c8e2d67e Move wp-login.php background from body.login to body selector. props JohnONolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 11:37:24 +00:00
nacin
d05e120d44 Add 'enter title here' text to title box. see #12591
git-svn-id: http://svn.automattic.com/wordpress/trunk@13964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 10:23:17 +00:00
nacin
90e50f7e37 Allow .csv. fixes #12757
git-svn-id: http://svn.automattic.com/wordpress/trunk@13962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 08:24:13 +00:00
nacin
5c8d92d2b1 Check for string, as method may be an array. fixes #10778
git-svn-id: http://svn.automattic.com/wordpress/trunk@13958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 07:18:16 +00:00
nacin
c5c47b4b20 Make remove_user a meta capability. see #12793
git-svn-id: http://svn.automattic.com/wordpress/trunk@13956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 05:14:34 +00:00
markjaquith
0af8aa67b6 Bump versions for 3.0-beta1
git-svn-id: http://svn.automattic.com/wordpress/trunk@13954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 01:50:01 +00:00
nacin
c905fc1420 Allow methods to be used as a callback in wp_unique_filename(). fixes #12824 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:54:56 +00:00
nacin
e7486800d9 Add AYS to "Install Now" link in plugin installer. fixes #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 23:27:23 +00:00
wpmuguru
8f5099a7ea have get_blog_prefix() default to the prefix of the current blog, see #12820
git-svn-id: http://svn.automattic.com/wordpress/trunk@13949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 22:47:51 +00:00
ryan
7095a9b0d3 Move wp-ajax_add-tax hook back to registration. Reverts part of [13924]. see #10437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 17:07:30 +00:00
dd32
3f20b53b12 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: http://svn.automattic.com/wordpress/trunk@13944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 08:16:20 +00:00
dd32
f12d55d8a4 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: http://svn.automattic.com/wordpress/trunk@13943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 07:30:20 +00:00
dd32
cba11b1ecd 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: http://svn.automattic.com/wordpress/trunk@13942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 07:10:51 +00:00
dd32
ee058cca62 Change UI labels from "Post Thumbnails" to "Featured Image". See #12554
git-svn-id: http://svn.automattic.com/wordpress/trunk@13940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 06:12:49 +00:00
dd32
0025a953ac 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: http://svn.automattic.com/wordpress/trunk@13939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:33:18 +00:00
dd32
364faf559e Move children of nested levels not shown to after the current element, not inside it like children. See #8841
git-svn-id: http://svn.automattic.com/wordpress/trunk@13938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:13:57 +00:00
nacin
fc7dbbcc3e Fix notice in wp_new_comment(). fixes #10854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 05:01:13 +00:00
nacin
b74a1b0603 Fix int cast usage in simplepie. see #12334, props rlerdorf.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:37:42 +00:00
dd32
1d0b284a7c 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: http://svn.automattic.com/wordpress/trunk@13932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 04:05:01 +00:00
nacin
1c9c709e8a 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: http://svn.automattic.com/wordpress/trunk@13928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 03:15:18 +00:00
wpmuguru
1f7d47157d rework syncing of global terms, see #12663
git-svn-id: http://svn.automattic.com/wordpress/trunk@13925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:26:44 +00:00
dd32
44ae35ec09 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: http://svn.automattic.com/wordpress/trunk@13924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 01:23:58 +00:00
dd32
3708584178 Handle uppercase html entities in get_next_posts_link() & get_next_comments_link() (and family) $labels. Fixes #4152
git-svn-id: http://svn.automattic.com/wordpress/trunk@13922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 00:07:59 +00:00
dd32
f7b83bd893 Rename Install to More Information, Add an Install Now action link to the Plugin Installer search results. See #11050
git-svn-id: http://svn.automattic.com/wordpress/trunk@13920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 23:17:53 +00:00
markjaquith
57c201fb3a Regenerate production CSS and bump version for last commit
git-svn-id: http://svn.automattic.com/wordpress/trunk@13919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 21:22:48 +00:00
nacin
91c72b74aa s/hierarachical/hierarchical/g. Props JohnPBloch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 14:37:38 +00:00
dd32
3793a4fee2 Whitespace and coding standards cleanup for balanceTags(). See #11968
git-svn-id: http://svn.automattic.com/wordpress/trunk@13914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 13:18:34 +00:00
dd32
2660f3f8f3 Recognise namespaces in tags for balanceTags(). Fixes #11968
git-svn-id: http://svn.automattic.com/wordpress/trunk@13913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 13:16:44 +00:00
dd32
ff3b452dda Delete _transient_timeout_$name and _site_transient_timeout_$name when specifically deleting transients. Fixes #12782
git-svn-id: http://svn.automattic.com/wordpress/trunk@13911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:42:03 +00:00
dd32
3344bf4a6e Small coding standards cleanup of wp_die();
git-svn-id: http://svn.automattic.com/wordpress/trunk@13910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-01 10:30:58 +00:00
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
nacin
47b80515da Move send_nosniff_header() into wp-includes so it can be used in wp-ajax.php. props sivel, fixes #12683
git-svn-id: http://svn.automattic.com/wordpress/trunk@13806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-23 19:13:58 +00:00
nacin
3fb0afae96 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: http://svn.automattic.com/wordpress/trunk@13804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 22:33:12 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
nacin
308c876d27 Fix notice without breaking comment notifications. See r13150, see #11830
git-svn-id: http://svn.automattic.com/wordpress/trunk@13801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 16:06:55 +00:00
dd32
7be1b99ebe 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: http://svn.automattic.com/wordpress/trunk@13798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 07:05:50 +00:00
nbachiyski
70b7755535 Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: http://svn.automattic.com/wordpress/trunk@13797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 06:51:49 +00:00
nacin
236a1f6ed4 Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 03:11:15 +00:00
dd32
3d5e274179 Cleanup of Custom Background. Move JS to external file, Add @since, Remove redundant steps functionality, Preview of Image alignment. See #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 06:06:18 +00:00
dd32
e2a7385be8 When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
git-svn-id: http://svn.automattic.com/wordpress/trunk@13787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:52:00 +00:00
dd32
68445ab030 Use correct cap checks and nonces for custom post_type's
git-svn-id: http://svn.automattic.com/wordpress/trunk@13786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 02:29:11 +00:00
dd32
6ff82f54e7 Fix WP_User::remove_role(). See #10285
git-svn-id: http://svn.automattic.com/wordpress/trunk@13784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 01:36:54 +00:00
dd32
b6e3b188e7 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: http://svn.automattic.com/wordpress/trunk@13781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 06:27:27 +00:00
dd32
f90f47a073 Update Canonical paging to reconise /page(\d+)/? as a valid paging path. See #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 03:22:08 +00:00
dd32
b16190c496 Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:23:52 +00:00
dd32
3fdd2bbdff 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: http://svn.automattic.com/wordpress/trunk@13773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 02:05:32 +00:00
dd32
a7126004c7 Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
git-svn-id: http://svn.automattic.com/wordpress/trunk@13772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 01:10:01 +00:00
nacin
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin
8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
dd32
58392ee495 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: http://svn.automattic.com/wordpress/trunk@13766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 09:37:36 +00:00
nacin
8704bbf226 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: http://svn.automattic.com/wordpress/trunk@13761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 01:11:21 +00:00
westi
b4b9f6075d Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:55:25 +00:00
westi
5bce147d90 Introduce apply_filters_ref_array(). See #9886 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 21:24:07 +00:00
nacin
3bdcf36888 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: http://svn.automattic.com/wordpress/trunk@13754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 20:17:15 +00:00
nacin
30c1e595ad Check in the script version bump for [13752]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:25:55 +00:00
nacin
65423c7d16 Fix notice for when no menus are located. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 21:34:24 +00:00
nacin
cea2e6eaa3 Remove JS nav-menu functions that we no longer use. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:44:59 +00:00
markjaquith
5c4b8b1d7b nav_menu taxonomy should be _builtin. props sillybean. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:03:02 +00:00
markjaquith
8d1fb6e0eb Bump nav-menu JS version
git-svn-id: http://svn.automattic.com/wordpress/trunk@13740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 20:01:31 +00:00
westi
c1654c4751 Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:33:20 +00:00