Commit Graph

12032 Commits

Author SHA1 Message Date
Andrew Nacin
d17afeb98e Minor MS startup cleanups. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13254 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 14:07:23 +00:00
Andrew Nacin
8c10673185 Rename is_installed() to ms_not_installed(). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13253 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 13:51:32 +00:00
Andrew Nacin
e7c02e7e53 Add template_include filter, to modify the template path before it is included. Fixes #11242
git-svn-id: https://develop.svn.wordpress.org/trunk@13252 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:58:25 +00:00
Andrew Nacin
d030c67ad9 Force fatal errors via require() if we're missing something we need. fixes #11681, also fixes #11834
git-svn-id: https://develop.svn.wordpress.org/trunk@13251 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:50:09 +00:00
Andrew Nacin
35eafcfed4 Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: https://develop.svn.wordpress.org/trunk@13250 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:28:10 +00:00
Andrew Nacin
d4854cef04 Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417, see #12095
git-svn-id: https://develop.svn.wordpress.org/trunk@13249 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:09:30 +00:00
Andrew Nacin
dc428cec96 Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362
git-svn-id: https://develop.svn.wordpress.org/trunk@13248 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:56:00 +00:00
Andrew Nacin
f0c9438807 Show awareness of comment's current status when moderating via e-mail/AYS. Show message on AYS screen of comment's status if not unapproved. Skip AYS when trying to re-approve (or delete or spam) a comment and show a message. See #11441
git-svn-id: https://develop.svn.wordpress.org/trunk@13247 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:48:38 +00:00
Andrew Nacin
91e432abfe Comments moderation code cleanup. Dry up some code, add screen icon to AYS, fix notice in comment_footer_die(). Redirect to edit-comments.php on an error, instead of stranding them with dull comment_footer_die() message. See #11441
git-svn-id: https://develop.svn.wordpress.org/trunk@13246 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:18:25 +00:00
Andrew Nacin
ea9e869ea8 Fix wpdb::tables() prefix handling. Ensures PHP4 compat. See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13245 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 10:50:57 +00:00
Andrew Nacin
d824d6bbd4 Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
git-svn-id: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin
6f1bfe6f0e Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
git-svn-id: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse
468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
8be48fe96a Update wpmu_delete_user() to use wp_delete_user()'s Link Deletion API, ensures that all actions and cleanups are run. See #12298
git-svn-id: https://develop.svn.wordpress.org/trunk@13241 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 01:45:04 +00:00
Dion Hulse
4011b3d4a8 Remove unused references to global $wpdb
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:50:29 +00:00
Andrew Nacin
cf8e703218 Suffix and version bump for ie.css, see #12292
git-svn-id: https://develop.svn.wordpress.org/trunk@13239 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:02:59 +00:00
Andrew Nacin
70c22754de Minify remaining RTL css files, and ie.css. See #12292.
git-svn-id: https://develop.svn.wordpress.org/trunk@13238 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 23:55:09 +00:00
Andrew Nacin
854fd5ac9e Add ms.css to script-loader.php. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13237 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 22:55:01 +00:00
Andrew Nacin
7c3ab9dca1 Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294
git-svn-id: https://develop.svn.wordpress.org/trunk@13236 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 22:02:43 +00:00
Andrew Nacin
c46c86fa69 Full Multisite support for dropins/mu-plugins in admin area. Ensure that network, drop-ins and mu-plugins are only shown and counted to super admins. See #11644, #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13235 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:53:24 +00:00
Andrew Nacin
6634241a48 Fix notice in populate_network(). See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13234 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:19:54 +00:00
Andrew Nacin
2b6bcbdd89 Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
git-svn-id: https://develop.svn.wordpress.org/trunk@13233 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:16:14 +00:00
Andrew Nacin
c978910a1d Allow bypass of http call to wp.org (for keys/salts), via URL query var. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13232 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:56:16 +00:00
Andrew Nacin
67fc9a1037 Add filter to get_avatar() to allow avatars for custom comment types. Props usermrpapa. Fixes #11880
git-svn-id: https://develop.svn.wordpress.org/trunk@13231 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:27:56 +00:00
Andrew Nacin
ec00f200b5 Use get_edit_post_link(). Props jfarthing84, fixes #12288
git-svn-id: https://develop.svn.wordpress.org/trunk@13230 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 20:03:05 +00:00
Andrew Nacin
d543b36622 Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13229 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 19:57:03 +00:00
Ryan Boren
c94d1c04c0 Sync pomo. Props nbachiyski. fixes #11832
git-svn-id: https://develop.svn.wordpress.org/trunk@13228 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 18:01:50 +00:00
Ryan Boren
9cea2b661a Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
git-svn-id: https://develop.svn.wordpress.org/trunk@13227 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 17:56:40 +00:00
Andrew Nacin
2d9d969c53 Don't italicize admin footer in RTL. Props raimy, fixes #11985
git-svn-id: https://develop.svn.wordpress.org/trunk@13226 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 15:42:22 +00:00
Andrew Nacin
d0b71fc766 Fix potential notice. props hakre, see #12283
git-svn-id: https://develop.svn.wordpress.org/trunk@13225 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 15:04:46 +00:00
Andrew Nacin
1992489856 First pass at Multisite support in DB repair. When MS, include main blog tables; when not MS, include non-MS global tables (users, usermeta). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13224 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:33:01 +00:00
Andrew Nacin
3f2c21e53f Remove debug cruft. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13223 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:12:12 +00:00
Andrew Nacin
dd171a6767 Add missing i18n comment for a hard-coded string. Props Nao, fixes #11654
git-svn-id: https://develop.svn.wordpress.org/trunk@13222 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 13:39:41 +00:00
Dion Hulse
343447e5a0 Fallback to PclZip in the event that ZipArchive cannot handle a given archive properly. Close the Zip handle when we're done as well. Fixes #12230
git-svn-id: https://develop.svn.wordpress.org/trunk@13221 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:59:32 +00:00
Dion Hulse
32ad16e1e8 Update get_user_option()'s PHPDoc Comment to remove mentions of blog options. See #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@13220 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:49:07 +00:00
Dion Hulse
5c9b1907a7 Make better use of $wp_query->get_queried_object() instead of duplicating its functionality. See [13143]
git-svn-id: https://develop.svn.wordpress.org/trunk@13219 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:45:29 +00:00
Dion Hulse
ec9ee88c2d Remove Unneeded the_post/rewind_posts() calls, Add a "No posts for this archive" type message to the loop. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13218 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:41:15 +00:00
Dion Hulse
897529ea59 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:26:44 +00:00
Dion Hulse
7cdc6568d0 First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: https://develop.svn.wordpress.org/trunk@13216 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:21:29 +00:00
Dion Hulse
81e3891ed8 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13215 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:05:13 +00:00
Dion Hulse
9760997180 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: https://develop.svn.wordpress.org/trunk@13214 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:00:00 +00:00
Dion Hulse
5028f2ccbb Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Dion Hulse
249da10ef7 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13212 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:33:50 +00:00
Andrew Nacin
4c9f9b02eb Update Text_Diff. Props simek. Fixes #9467
git-svn-id: https://develop.svn.wordpress.org/trunk@13211 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:25:26 +00:00
Andrew Nacin
fa77333608 Some more phpdoc bits for functions.php. Props miqrogroove, fixes #12215
git-svn-id: https://develop.svn.wordpress.org/trunk@13210 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:08:39 +00:00
Andrew Nacin
4d2c75d785 Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren
fbd6ccfb3a Fix double escaping in wp_getComments. Props josephscott. fixes #12281 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@13207 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:28:23 +00:00
Andrew Nacin
139f4ba5d1 Allow more special characters in wp_generate_password() second pass. props sivel, see #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13206 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 00:03:36 +00:00
Andrew Nacin
5921acfa63 Bail early for favicon.ico requests so we don't load WP twice. Props azaozz, sivel. Fixes #3426
git-svn-id: https://develop.svn.wordpress.org/trunk@13205 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:41:50 +00:00
Andrew Nacin
ea0b2aacf0 Move deprecated pluggable functions to a new file to lower their profile. Also throw deprecated warnings if a plugin defines a deprecated pluggable function. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13204 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 23:17:06 +00:00