Commit Graph

8474 Commits

Author SHA1 Message Date
Andrew Ozz 2ae505d0c6 Auto column switching (post.php only for now), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Ryan Boren ee123a28d5 Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
git-svn-id: https://develop.svn.wordpress.org/trunk@18580 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 17:39:44 +00:00
Andrew Ozz 41c6f84cd9 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18579 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 16:44:02 +00:00
Andrew Ozz 4e6957a730 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18578 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 15:38:14 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz 3f921df606 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz 4bff812918 Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18575 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 21:23:31 +00:00
Dion Hulse 8fc9270239 Clarify %d is an integer in wpdb documentation. See #18407
git-svn-id: https://develop.svn.wordpress.org/trunk@18573 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 15:01:35 +00:00
Dion Hulse 54b87b6531 Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
git-svn-id: https://develop.svn.wordpress.org/trunk@18572 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:56:34 +00:00
Dion Hulse 67704f12f2 Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
git-svn-id: https://develop.svn.wordpress.org/trunk@18571 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:47:45 +00:00
Andrew Ozz 9734668734 Fix Press This editors, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18570 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 01:14:56 +00:00
Andrew Nacin 1881a56cb5 Remove old $base/BASE MU check. props mdawaffe, fixes #18479.
git-svn-id: https://develop.svn.wordpress.org/trunk@18568 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:27:30 +00:00
Jon Cave ce57212c90 add_option() should always return a boolean, see #18422
git-svn-id: https://develop.svn.wordpress.org/trunk@18567 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 18:17:37 +00:00
Jon Cave f960996aa4 Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
git-svn-id: https://develop.svn.wordpress.org/trunk@18566 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 17:57:22 +00:00
Andrew Nacin 5464b1abc2 Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18563 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:16:57 +00:00
Andrew Nacin d92c1440ed Call _doing_it_wrong() individually in wp_scripts and wp_styles functions. Partially reverts [18556], [18557], removes wp_styles_init(), wp_scripts_init(). fixes #11526.
git-svn-id: https://develop.svn.wordpress.org/trunk@18561 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 21:02:43 +00:00
Andrew Nacin 87ec764c57 Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18560 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 17:49:57 +00:00
Peter Westwood 1b3b0e211c Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: https://develop.svn.wordpress.org/trunk@18559 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 10:54:48 +00:00
Dion Hulse 395a623c52 Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
git-svn-id: https://develop.svn.wordpress.org/trunk@18558 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 08:51:36 +00:00
Andrew Ozz e139b9e2a0 Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
git-svn-id: https://develop.svn.wordpress.org/trunk@18557 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 06:26:41 +00:00
Andrew Ozz 05515996a7 Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526
git-svn-id: https://develop.svn.wordpress.org/trunk@18556 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 05:48:13 +00:00
Andrew Ozz f68214a20a Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18553 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 04:54:51 +00:00
Jon Cave 2498d24c9b Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
git-svn-id: https://develop.svn.wordpress.org/trunk@18551 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 00:21:56 +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
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 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
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
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 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 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 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 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 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 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