Commit Graph

8630 Commits

Author SHA1 Message Date
Andrew Nacin 7f154ed6c3 Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: https://develop.svn.wordpress.org/trunk@18505 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 12:40:15 +00:00
Ryan Boren 8eea785bcb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18504 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 03:09:27 +00:00
Andrew Ozz 5b4ac17cc5 Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Ryan Boren 53122aafe5 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18502 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 19:14:06 +00:00
Ryan Boren dbb0b7c8d6 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: https://develop.svn.wordpress.org/trunk@18500 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 16:48:37 +00:00
Andrew Ozz 0674464f19 Remove debug remnants, props scribu, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18499 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:36:18 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz d5a6cf3dfd Refactor Quicktags, props garyc40, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Andrew Nacin 14b7842a79 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18493 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:20:06 +00:00
Andrew Nacin db79dcc18a Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18492 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:16:19 +00:00
Andrew Ozz 54eb9f1f3c Remove tabs from JS, props duck_, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 08:44:29 +00:00
Ryan Boren 3735347ba7 Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: https://develop.svn.wordpress.org/trunk@18487 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:36:45 +00:00
Andrew Ozz 57bff0b6d8 Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz 4e81b893e9 Remove debug bits, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18483 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 09:03:24 +00:00
Andrew Ozz 12a7d989e0 Pluploader take 1, props jacobwg, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Nacin f81a0e5a3c Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: https://develop.svn.wordpress.org/trunk@18481 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 06:07:38 +00:00
Ryan Boren 40c8d3aff1 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: https://develop.svn.wordpress.org/trunk@18475 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:10:00 +00:00
Ryan Boren 24c08b8bf5 Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: https://develop.svn.wordpress.org/trunk@18473 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:35:39 +00:00
Ryan Boren 5d649a9235 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Andrew Ozz 06f33f29ba Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Dion Hulse 4429d66a15 Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz ebbf92afc1 UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: https://develop.svn.wordpress.org/trunk@18453 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:15:27 +00:00
Ryan Boren 1b135d38f3 Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: https://develop.svn.wordpress.org/trunk@18452 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:04:12 +00:00
Ryan Boren b4b82c9725 Check caps for both old and new meta keys when changing the key for a mid. Properly handle slashes when checking meta caps. Props xknown. see #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18449 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 19:32:12 +00:00
Ryan Boren f6153bcf5d Typo fix. Props kawauso. fixes #18177
git-svn-id: https://develop.svn.wordpress.org/trunk@18447 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:46:01 +00:00
Ryan Boren 6b5d8397b0 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Ryan Boren 4dcfeabff1 Sites search improvements. fixes #18013
git-svn-id: https://develop.svn.wordpress.org/trunk@18442 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 15:42:26 +00:00
Andrew Ozz 36144f6484 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18436 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:53:29 +00:00
Andrew Nacin ffd9f52cb5 Use edit_comment rather than edit_post in admin-ajax. props ejdanderson, see #17909. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18435 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 21:48:43 +00:00
Andrew Nacin bdf534021b Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: https://develop.svn.wordpress.org/trunk@18432 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:22:24 +00:00
Andrew Ozz 4a2626dd4c Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18428 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:16:09 +00:00
Andrew Nacin bb7c1ac6d7 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18426 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 19:03:04 +00:00
Andrew Nacin 486b75c370 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18424 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 18:55:39 +00:00
Andrew Nacin cfcb6d0ecc Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18420 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:50:34 +00:00
Andrew Nacin d81744097b Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18416 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 05:36:47 +00:00
Ryan Boren f8c336ca41 Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18406 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-07 18:03:30 +00:00
Andrew Nacin c8947a4f44 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18404 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-06 23:33:05 +00:00
Andrew Ozz 576466e544 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18399 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 07:03:26 +00:00
Andrew Nacin 19e358a2c5 Affirm current credits timeout. see #17759.
git-svn-id: https://develop.svn.wordpress.org/trunk@18393 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-04 15:58:43 +00:00
Andrew Ozz bb5f063809 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: https://develop.svn.wordpress.org/trunk@18390 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-03 18:15:04 +00:00
Ryan Boren 9e7890c3f6 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18386 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:59:45 +00:00
Andrew Ozz 1d8d8bffc9 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: https://develop.svn.wordpress.org/trunk@18381 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:46:00 +00:00
Andrew Ozz 9977a6a559 DFW: check if the Add Image button is enabled in ms mode before using it, props nacin, fixes #17942
git-svn-id: https://develop.svn.wordpress.org/trunk@18380 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 19:23:09 +00:00
Andrew Nacin b40bdc3928 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18375 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:50:07 +00:00
Andrew Nacin 85d77664fb wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: https://develop.svn.wordpress.org/trunk@18374 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:46:46 +00:00
Ryan Boren 6022d6e39c Block editing of post_mime_type and guid in bulk_edit_posts(). More filter unsets. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18369 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:47:35 +00:00
Ryan Boren 2258beaf3c Perform a cap check on attachments in media_upload_form_handler(). For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18365 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 21:44:56 +00:00
Andrew Ozz 520081cec7 User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@18364 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 16:17:49 +00:00
Dion Hulse 100f17c96d Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: https://develop.svn.wordpress.org/trunk@18362 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-28 06:47:34 +00:00