Commit Graph

12973 Commits

Author SHA1 Message Date
Andrew Nacin a6c8b2c780 Bump tools.php from read cap to edit_posts. Old cap was for Gears. fixes #12903, see #11301.
git-svn-id: https://develop.svn.wordpress.org/trunk@14097 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 22:16:22 +00:00
Andrew Nacin 82358ca36e Don't try to repair sitecategories if it doesn't exist. Global terms may be disabled, though we can't check that without a DB Call. fixes #12964
git-svn-id: https://develop.svn.wordpress.org/trunk@14096 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 21:49:42 +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 41ed843027 Be back compat with the contextual_help filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@14091 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:09:56 +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 977731745c Map 'index' to 'dashboard' for current screen. Fixes contextual help for the dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@14089 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 21:55:09 +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
potbot d37747f046 POT, generated from r14084
git-svn-id: https://develop.svn.wordpress.org/trunk@14085 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-14 00:21:06 +00:00
Matt Thomas 01a97737ee Links on dates in Twenty Ten back by popular demand. Fixes #12925.
git-svn-id: https://develop.svn.wordpress.org/trunk@14084 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 23:41:13 +00:00
Matt Thomas b97e16510c Remove the permalink from dates in Twenty Ten, fixes #12925
git-svn-id: https://develop.svn.wordpress.org/trunk@14083 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 23:05:37 +00:00
Matt Thomas 1fe7a8b79d Make entry-meta on single posts match entry-meta in the loop in Twenty Ten
git-svn-id: https://develop.svn.wordpress.org/trunk@14082 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 22:43:52 +00:00
Andrew Nacin 92884c5aae Unbreak setup-config.php. see #12990
git-svn-id: https://develop.svn.wordpress.org/trunk@14081 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 22:35:39 +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
Dion Hulse 5c178eeef7 Prevent the Slug metabox from being forever hidden when showing all metaboxes. Fixes #12088
git-svn-id: https://develop.svn.wordpress.org/trunk@14065 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:41:40 +00:00
Dion Hulse 4b03becaa2 Add .tsv file format to Upload whitelist. Fixes #12757
git-svn-id: https://develop.svn.wordpress.org/trunk@14064 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:11:29 +00:00
Dion Hulse 0d4febfda2 Consistent spacing for MAnage|Install Themes menu tabs. Props dremeda for initial patch. See #12412
git-svn-id: https://develop.svn.wordpress.org/trunk@14063 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 02:02:30 +00:00
Dion Hulse 92e3e6d69f Update Future Scheduled posts publish status to Published upon updating the date to a past date. Props bumbu. Fixes #12751
git-svn-id: https://develop.svn.wordpress.org/trunk@14062 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 14:00:30 +00:00
Andrew Nacin 9f21f365bb Script bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@14061 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 13:22:42 +00:00
Dion Hulse af68a811dc Password nag should be a global user option. Fixes #12926
git-svn-id: https://develop.svn.wordpress.org/trunk@14060 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 13:05:04 +00:00
Andrew Nacin 240551a9fa Fix notice in get_media_items().
git-svn-id: https://develop.svn.wordpress.org/trunk@14059 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:49:58 +00:00
Andrew Nacin b57d8d1714 Some wpdb cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@14058 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:39:25 +00:00
Dion Hulse 8823027da6 Remember the post_parent during autosaves. Props duck_. Fixes #12938
git-svn-id: https://develop.svn.wordpress.org/trunk@14057 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:39:01 +00:00
Dion Hulse 0197326e4c Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: https://develop.svn.wordpress.org/trunk@14056 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:17:19 +00:00
Andrew Nacin c612c3db6f Don't set MIME headers in MS activation/welcome emails. fixes #12728, props barry.
git-svn-id: https://develop.svn.wordpress.org/trunk@14055 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:11:03 +00:00
Andrew Nacin f6e054f892 Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: https://develop.svn.wordpress.org/trunk@14054 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:54:33 +00:00
Dion Hulse 4d5709b11d Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
git-svn-id: https://develop.svn.wordpress.org/trunk@14053 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:42:45 +00:00
Andrew Nacin 8aad6ef615 Mark Snoopy as deprecated. see #12882
git-svn-id: https://develop.svn.wordpress.org/trunk@14052 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:32:02 +00:00
Dion Hulse 16256fd828 Check the appropriate radio option on the Permalinks page for the Root blog; Display index.php prefixes properly for the root Multisite Blog. Fixes #12952
git-svn-id: https://develop.svn.wordpress.org/trunk@14051 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:30:34 +00:00
Andrew Nacin c423c01a44 Clean up the HTTP inline docs to reflect the times. props jacobsantos, fixes #12882.
git-svn-id: https://develop.svn.wordpress.org/trunk@14050 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 11:23:21 +00:00
Dion Hulse eda97585bb Prevent $post_type_object->menu_position from conflicting with another plugin, or core menu item. Props blepoxp. Fixes #12951
git-svn-id: https://develop.svn.wordpress.org/trunk@14049 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:48:30 +00:00
Andrew Nacin b8efedcb23 Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@14048 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:47:31 +00:00