Commit Graph

6301 Commits

Author SHA1 Message Date
Dion Hulse 09c1f4eb75 Advertise the correct comment feed link for a Page on the Front. Do not canonical redirect the front page comments feeds to home. Fixes #12452
git-svn-id: https://develop.svn.wordpress.org/trunk@14141 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:51:16 +00:00
Andrew Nacin ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Dion Hulse 148e92a58c Delete old hierarchical taxonomy children cache' on upgrade. Fixes #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@14138 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:08:40 +00:00
Andrew Nacin a8d984183f Fix sticky post handling. Use unset instead of array_splice to remove an item by key retrieved by array_search. props jeffstieler, fixes #11966.
git-svn-id: https://develop.svn.wordpress.org/trunk@14135 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 05:11:05 +00:00
Dion Hulse b15624a124 Bail from WP_HTTP when a invalid URL is provided. Fixes #12964
git-svn-id: https://develop.svn.wordpress.org/trunk@14134 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:58:19 +00:00
Andrew Nacin 8771fc4af7 Allow include/exclude args to be arrays in get_posts() and get_pages(). Utilizes wp_parse_id_list(). props scribu, fixes #11076.
git-svn-id: https://develop.svn.wordpress.org/trunk@14133 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:54:19 +00:00
Andrew Nacin 6e7fed8863 Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026.
git-svn-id: https://develop.svn.wordpress.org/trunk@14132 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:49:19 +00:00
Andrew Nacin 8d47975e76 Allow orberby in wp_list_bookmarks to accept a comma-delimited list of fields, per docs. fixes #12421, props sorich87, scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14131 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:45:09 +00:00
Dion Hulse aaf9bcf21d Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995
git-svn-id: https://develop.svn.wordpress.org/trunk@14129 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:01:19 +00:00
Dion Hulse b85b748fdc Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874
git-svn-id: https://develop.svn.wordpress.org/trunk@14128 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:45:24 +00:00
Dion Hulse 632de8561e Fix undefined page var in Post Javascript; Fixes inactive cancel button in Publish time selection. Props duck_. Fixes #12829
git-svn-id: https://develop.svn.wordpress.org/trunk@14125 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:54:44 +00:00
Dion Hulse fb623ae0c6 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: https://develop.svn.wordpress.org/trunk@14124 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:46:28 +00:00
Dion Hulse 1e0f313b60 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: https://develop.svn.wordpress.org/trunk@14122 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-17 10:30:46 +00:00
Dion Hulse 66e73d0f64 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: https://develop.svn.wordpress.org/trunk@14121 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-17 09:03:33 +00:00
Andrew Nacin c7c442fce0 Move stray closing p tag out of a translation. props chrisbliss18, fixes #13036.
git-svn-id: https://develop.svn.wordpress.org/trunk@14119 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 22:27:37 +00:00
Andrew Nacin 8bc3075b1f 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: https://develop.svn.wordpress.org/trunk@14117 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 21:39:10 +00:00
Andrew Nacin 55b9eedb4b Some sanity checks for parse_url in do_enclose. props miqrogroove, fixes #11029
git-svn-id: https://develop.svn.wordpress.org/trunk@14116 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 19:48:30 +00:00
Andrew Nacin 026bdbc61c Remove tabindex from comment_form(). fixes #12963
git-svn-id: https://develop.svn.wordpress.org/trunk@14114 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 18:29:39 +00:00
Ryan Boren 4e3da4d6a3 Add edit_theme_options capability
git-svn-id: https://develop.svn.wordpress.org/trunk@14111 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 15:36:44 +00:00
Andrew Nacin 08a6301257 Strip new lines from Viddler embeds, as we do for Scribd embeds. Avoids conflicts with wpautop. props Viper007Bond. see #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14109 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:15:16 +00:00
Andrew Nacin 028f262ccf 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: https://develop.svn.wordpress.org/trunk@14108 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:08:58 +00:00
Andrew Nacin a45a03c4c3 Consistently return WP_Error on failure in image_resize. props filosofo, fixes #12268
git-svn-id: https://develop.svn.wordpress.org/trunk@14105 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:53:22 +00:00
Andrew Nacin 7f994ed03f Strip tags before escaping the title element in wp_list_pages(). props scribu. fixes #11040.
git-svn-id: https://develop.svn.wordpress.org/trunk@14104 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:49:52 +00:00
Ryan Boren 3aca04a67b Check if value is not set. Possible in the use_cache = false scenario.
git-svn-id: https://develop.svn.wordpress.org/trunk@14101 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 13:15:39 +00:00
Andrew Nacin 3cc1ff4546 Fix menu icons for custom post types. Fixes #12992, props wmrom.
git-svn-id: https://develop.svn.wordpress.org/trunk@14100 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 03:29:34 +00:00
Andrew Nacin e9ce1f2b54 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: https://develop.svn.wordpress.org/trunk@14099 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:29:10 +00:00
Andrew Nacin 91dad860b7 Fix Right Now ugliness in blue/classic theme. see #12202
git-svn-id: https://develop.svn.wordpress.org/trunk@14098 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:08:28 +00:00
Peter Westwood 08d47899a5 Improve behaviour of wptexturize with respect to single quotes. See #4539 props jmstacey.
git-svn-id: https://develop.svn.wordpress.org/trunk@14095 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 21:39:58 +00:00
Ryan Boren ff34eb17d6 Make sure is instantiated. see #12997
git-svn-id: https://develop.svn.wordpress.org/trunk@14094 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 21:24:52 +00:00
Andrew Nacin d295ecea10 Spacing/coding cleanup of comment_form(). see #13016.
git-svn-id: https://develop.svn.wordpress.org/trunk@14093 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:25:08 +00:00
Andrew Nacin 23d19f6753 Update the html comments in comment_form(). props iandstewart, fixes #13016.
git-svn-id: https://develop.svn.wordpress.org/trunk@14092 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:16:51 +00:00
Andrew Nacin b202c22008 Deprecate set_current_user() in favor of wp_set_current_user().
git-svn-id: https://develop.svn.wordpress.org/trunk@14090 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 22:06:03 +00:00
Ryan Boren 8e25b7d538 Introduce DISALLOW_FILE_MOD for disabling all ops that modify core, theme, or plugins files. see #13000
git-svn-id: https://develop.svn.wordpress.org/trunk@14088 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 17:22:11 +00:00
Ryan Boren b9bdd0bfb1 Assume unattached attachments are published. fixes #12999
git-svn-id: https://develop.svn.wordpress.org/trunk@14087 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 15:20:15 +00:00
Ryan Boren 2e60fb8e0e Register 'inherit' as a post status. Check the parent post status when commenting on attachments.
git-svn-id: https://develop.svn.wordpress.org/trunk@14086 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 14:07:48 +00:00
Ryan Boren c7eef601d4 Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
git-svn-id: https://develop.svn.wordpress.org/trunk@14080 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 21:56:57 +00:00
Ryan Boren 7beb454ef2 Always include class-http.php. see #12990
git-svn-id: https://develop.svn.wordpress.org/trunk@14079 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 21:45:57 +00:00
Peter Westwood e8f1acbf41 Remove blank data and lines after the closing ?> which can break image display for multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@14078 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 17:13:28 +00:00
Ryan Boren a79d5c9964 Sanity check terms. Skip term IDs that don't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@14077 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 14:32:30 +00:00
Ryan Boren dadff5dda0 Cache fixes for get_blog_details()
git-svn-id: https://develop.svn.wordpress.org/trunk@14076 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 12:43:40 +00:00
Andrew Nacin 7d823cbc23 Don't use require_once for get_template_part(). fixes #12958.
git-svn-id: https://develop.svn.wordpress.org/trunk@14075 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 17:26:03 +00:00
Andrew Nacin 74cfa717cb 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: https://develop.svn.wordpress.org/trunk@14074 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 17:07:20 +00:00
Andrew Nacin 72f51642c5 Add @since.
git-svn-id: https://develop.svn.wordpress.org/trunk@14073 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 15:23:20 +00:00
Dion Hulse d648c8b9dd 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: https://develop.svn.wordpress.org/trunk@14072 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 13:51:24 +00:00
Dion Hulse 223677bd30 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: https://develop.svn.wordpress.org/trunk@14071 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 11:10:54 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Dion Hulse 9913b7d208 Update Press This category styling & html to match 3.0 management screens. Props noel. See #12809
git-svn-id: https://develop.svn.wordpress.org/trunk@14069 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 09:11:39 +00:00
Dion Hulse 602b9f05b3 Correct sample URL's for custom post_type's. uses pretty permalinks if possible. Props duck_. See #12870
git-svn-id: https://develop.svn.wordpress.org/trunk@14068 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:58:40 +00:00
Dion Hulse 57749e1d2c 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: https://develop.svn.wordpress.org/trunk@14067 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:56:18 +00:00
Dion Hulse 74c1d4e71d Add WordPerfect filetypes to Mimetype list. Props morganestes. Fixes #12849
git-svn-id: https://develop.svn.wordpress.org/trunk@14066 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:50:23 +00:00