Commit Graph

16793 Commits

Author SHA1 Message Date
Andrew Nacin 53cfffd152 Use ini_set instead of set_magic_quotes_runtime() to prevent silenced E_DEPRECATED notice. props wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@18549 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-15 06:42:43 +00:00
Andrew Nacin 7a67f00494 Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409.
git-svn-id: https://develop.svn.wordpress.org/trunk@18548 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-15 04:51:41 +00:00
Andrew Nacin 03e0c5c7a1 Add postname to Settings > Permalinks and remove the help text talking about permalink performance. Make the slugs (and /archives/ rewrite base) translatable. see #18541.
git-svn-id: https://develop.svn.wordpress.org/trunk@18547 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-14 22:23:22 +00:00
Peter Westwood 0c6d0349f4 Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111.
git-svn-id: https://develop.svn.wordpress.org/trunk@18546 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 21:00:24 +00:00
Andrew Nacin bde0e2ff31 Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391.
git-svn-id: https://develop.svn.wordpress.org/trunk@18545 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 18:59:05 +00:00
Andrew Nacin c30907963d Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: https://develop.svn.wordpress.org/trunk@18544 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 18:01:26 +00:00
Andrew Nacin 242f97f7db Pedantic whitespace in validate_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@18543 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 06:10:02 +00:00
Mark Jaquith 4d13f33024 bump the db
git-svn-id: https://develop.svn.wordpress.org/trunk@18542 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 02:03:29 +00:00
Mark Jaquith 48d294e7ea Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
git-svn-id: https://develop.svn.wordpress.org/trunk@18541 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 01:55:08 +00:00
Andrew Nacin c8412b5037 Remove the old root feed files. Bump the db version so rewrite rules can regenerate. Don't add these files to old_files to leave them on existing installs. fixes #18384.
git-svn-id: https://develop.svn.wordpress.org/trunk@18540 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 01:41:23 +00:00
Mark Jaquith 0cfde3f19e Whitespace oops
git-svn-id: https://develop.svn.wordpress.org/trunk@18539 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:57:33 +00:00
Mark Jaquith 681494971f Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
git-svn-id: https://develop.svn.wordpress.org/trunk@18538 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:45:02 +00:00
Mark Jaquith 47bf346a9f Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
git-svn-id: https://develop.svn.wordpress.org/trunk@18537 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 23:30:59 +00:00
Andrew Nacin 7fe1e0fc4a Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18536 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 22:32:35 +00:00
Jon Cave 707ab6c656 Direct a user to the main site to install importers, fixes #17990
git-svn-id: https://develop.svn.wordpress.org/trunk@18535 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 20:49:47 +00:00
Peter Westwood f55ab7feaa Move the CSS inline to wp_die so that it is always available. Fixes #17975, props kawauso for the style type update.
git-svn-id: https://develop.svn.wordpress.org/trunk@18534 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 19:06:59 +00:00
Ryan Boren b684e2b836 Use title case. Props trepmal. fixes #17773
git-svn-id: https://develop.svn.wordpress.org/trunk@18533 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 18:17:30 +00:00
Nikolay Bachiyski 13181c96c8 Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
git-svn-id: https://develop.svn.wordpress.org/trunk@18532 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:45:14 +00:00
Nikolay Bachiyski c5b4e06e15 Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test. See #17749
git-svn-id: https://develop.svn.wordpress.org/trunk@18531 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:42:59 +00:00
Nikolay Bachiyski f228bf94cf Add a gettext context to the Standard post format string in Press This to match other usages of Standard in a post format context
git-svn-id: https://develop.svn.wordpress.org/trunk@18530 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:36:18 +00:00
Nikolay Bachiyski 7ce4b9b44d Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: https://develop.svn.wordpress.org/trunk@18529 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:33:22 +00:00
Nikolay Bachiyski c273e4949f Sync pomo library with the current GlotPress version
git-svn-id: https://develop.svn.wordpress.org/trunk@18528 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 04:29:35 +00:00
Andrew Nacin 7665b28755 Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: https://develop.svn.wordpress.org/trunk@18527 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 03:02:01 +00:00
Andrew Nacin d90d462e6b Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: https://develop.svn.wordpress.org/trunk@18526 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:54:59 +00:00
Andrew Nacin 3e14a6675b Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: https://develop.svn.wordpress.org/trunk@18525 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:26:36 +00:00
Andrew Nacin 666b55d3c0 Use preg_match more efficiently. props solarissmoke, fixes #17287.
git-svn-id: https://develop.svn.wordpress.org/trunk@18524 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:18:18 +00:00
Andrew Nacin 0c5290d9e3 Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18523 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:17:26 +00:00
Andrew Nacin 51982620ce Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: https://develop.svn.wordpress.org/trunk@18522 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:00:45 +00:00
Andrew Nacin 45bd2b05b8 Pass old value to update_site_option hooks. props westi, fixes #17974.
git-svn-id: https://develop.svn.wordpress.org/trunk@18521 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:59:50 +00:00
Andrew Nacin c859ac8682 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: https://develop.svn.wordpress.org/trunk@18520 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:53:54 +00:00
Andrew Ozz 4feac2cbde WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18519 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 17:03:18 +00:00
Andrew Ozz aabac42c0f Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18518 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 16:26:31 +00:00
Andrew Ozz b7e35b3f6c Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz aad319a3ac Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Ryan Boren afe083447f Handle id back compat in isset magic method. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18515 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 20:54:08 +00:00
Ryan Boren f9becd5d16 Update @deprecated. Props scribu. see #18333
git-svn-id: https://develop.svn.wordpress.org/trunk@18514 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 18:44:43 +00:00
Ryan Boren eda7d43e85 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: https://develop.svn.wordpress.org/trunk@18513 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:57:31 +00:00
Ryan Boren 15507ec835 Remove first_name and last_name properties. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18512 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:45:11 +00:00
Andrew Ozz 6ce85719a7 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Ryan Boren 19b936f2a8 Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
git-svn-id: https://develop.svn.wordpress.org/trunk@18510 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:36:50 +00:00
Ryan Boren dbd72319f1 Add gettext. Props Latz. fixes #18173
git-svn-id: https://develop.svn.wordpress.org/trunk@18509 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:29:46 +00:00
Ryan Boren ecd3baa078 Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: https://develop.svn.wordpress.org/trunk@18508 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:07:51 +00:00
Ryan Boren 916cdd6586 Grammar fix. Props lukeschlather, markmcwilliams. fixes #17315
git-svn-id: https://develop.svn.wordpress.org/trunk@18507 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:03:53 +00:00
Ryan Boren 35d92b5e1e Handle deprecation of id in __set(). Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18506 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 15:42:38 +00:00
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 7edcf1b07e Use *_metadata_by_mid() API in set_custom_fields(). Handle slashing when checking caps for key. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18501 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 18:20:15 +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