Commit Graph

1792 Commits

Author SHA1 Message Date
Dion Hulse df84c657f9 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Dion Hulse 1a258ebff7 Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
git-svn-id: https://develop.svn.wordpress.org/trunk@13488 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:38:15 +00:00
Dion Hulse f937e72ae9 Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625, Fixes #6837
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse 0f8fd11400 PHPDocs update. Props miqrogroove. See #12422
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Ron Rennick bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Andrew Nacin 3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Andrew Nacin 92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Ron Rennick 6afc78b158 more multisite UI rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin 69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Peter Westwood a85f6a4122 Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Peter Westwood 81e711cf87 Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@13409 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:41:33 +00:00
Ryan Boren 6d3878f6b7 only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13389 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:13:23 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Andrew Nacin d7adf00e0e s/existant/existent/
git-svn-id: https://develop.svn.wordpress.org/trunk@13380 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:01:37 +00:00
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Andrew Nacin af9671d7c5 Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13373 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 16:45:33 +00:00
Mark Jaquith 0c7e56f2e2 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13369 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 09:43:09 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Ryan Boren 03b3692832 Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13359 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:43:41 +00:00
Andrew Nacin af187b2759 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Mark Jaquith fc77a1d879 Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Andrew Nacin 8826776ba0 Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@13313 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:59:40 +00:00
Andrew Nacin 670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin 59167f1593 Remove unused 'secret' option. Fixes #12221
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Ron Rennick c7e12e9265 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:41:38 +00:00
Andrew Nacin 05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ryan Boren 9e5b6d1f34 Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse c7be408d4a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Dion Hulse a2c844a939 Links to Comment on Comments page, even for users that cannot modify it.
git-svn-id: https://develop.svn.wordpress.org/trunk@13288 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:26:18 +00:00
Mark Jaquith 56d1f114cf Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: https://develop.svn.wordpress.org/trunk@13285 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 21:24:48 +00:00
Dion Hulse 4df0240736 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Dion Hulse 3e2114eb0f Link to Posts page on Taxonomy Administration page even for Count == 0. Count does not include Drafts/Scheduled posts, only "published" posts. Props miqrogroove. Fixes #11340
git-svn-id: https://develop.svn.wordpress.org/trunk@13282 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:02:14 +00:00
Ron Rennick 02912dcf85 enable threaded comments by default, fixes #11992
git-svn-id: https://develop.svn.wordpress.org/trunk@13272 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 01:02:00 +00:00
Andrew Nacin 5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin b7308ebe6c Set svn eol-style native on new files
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +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 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
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
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 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