Commit Graph

16858 Commits

Author SHA1 Message Date
nacin
e00bc528b6 Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:17:47 +00:00
nacin
ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin
0caf6ee451 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 02:29:06 +00:00
nacin
51ca772adf 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: http://svn.automattic.com/wordpress/trunk@18561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 21:02:43 +00:00
nacin
e53fe816b2 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: http://svn.automattic.com/wordpress/trunk@18560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 17:49:57 +00:00
westi
ec3476720e Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 10:54:48 +00:00
dd32
6fa755e68e Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 08:51:36 +00:00
azaozz
7140ac9bf4 Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 06:26:41 +00:00
azaozz
e5e90d732b 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: http://svn.automattic.com/wordpress/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 05:48:13 +00:00
azaozz
05b62b9b8e Fix HTML IDs on the uploader buttons on the dashboard, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 14:32:36 +00:00
nacin
b5d445aa84 First pass on clarifying Settings > Privacy. props designsimply, markjaquith. see #16416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 06:53:19 +00:00
azaozz
87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
nacin
3503cc4b8d Remove beta upgrade code from 3.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 02:26:59 +00:00
duck_
7abbb42d7e Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
git-svn-id: http://svn.automattic.com/wordpress/trunk@18551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:21:56 +00:00
nacin
51d2aef086 Clean up message handling logic in upload.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:12:02 +00:00
nacin
1fd123aa40 Use ini_set instead of set_magic_quotes_runtime() to prevent silenced E_DEPRECATED notice. props wonderboymusic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-15 06:42:43 +00:00
nacin
2bdadbcc52 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: http://svn.automattic.com/wordpress/trunk@18548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-15 04:51:41 +00:00
nacin
02831e8b84 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: http://svn.automattic.com/wordpress/trunk@18547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-14 22:23:22 +00:00
westi
35838967a7 Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 21:00:24 +00:00
nacin
50f5ad2216 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: http://svn.automattic.com/wordpress/trunk@18545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:59:05 +00:00
nacin
4e4932296f Use wp_print_scripts() in install.php. Fixes issues with SCRIPT_DEBUG, removes l10n.js reference. fixes #18394.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:01:26 +00:00
nacin
31e6144688 Pedantic whitespace in validate_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@18543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 06:10:02 +00:00
markjaquith
054b4f8800 bump the db
git-svn-id: http://svn.automattic.com/wordpress/trunk@18542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 02:03:29 +00:00
markjaquith
4a610eaa7b 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: http://svn.automattic.com/wordpress/trunk@18541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:55:08 +00:00
nacin
3fb35c6739 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: http://svn.automattic.com/wordpress/trunk@18540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:41:23 +00:00
markjaquith
26c33f2341 Whitespace oops
git-svn-id: http://svn.automattic.com/wordpress/trunk@18539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:57:33 +00:00
markjaquith
9de72e9bfd Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:45:02 +00:00
markjaquith
7689657c90 Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:30:59 +00:00
nacin
ae91e0dfcd Move network/settings.php POST handling out of network/edit.php. props PeteMall, see #18379.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 22:32:35 +00:00
duck_
f98e622c39 Direct a user to the main site to install importers, fixes #17990
git-svn-id: http://svn.automattic.com/wordpress/trunk@18535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 20:49:47 +00:00
westi
e8f9ea22eb 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: http://svn.automattic.com/wordpress/trunk@18534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 19:06:59 +00:00
ryan
4207722006 Use title case. Props trepmal. fixes #17773
git-svn-id: http://svn.automattic.com/wordpress/trunk@18533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 18:17:30 +00:00
nbachiyski
abe8b47351 Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:45:14 +00:00
nbachiyski
4870176ad0 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: http://svn.automattic.com/wordpress/trunk@18531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:42:59 +00:00
nbachiyski
c8721d2600 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: http://svn.automattic.com/wordpress/trunk@18530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:36:18 +00:00
nbachiyski
51e91e68c3 Exclude link tags from internationalized strings in Credits and Freedoms links in the admin footer
git-svn-id: http://svn.automattic.com/wordpress/trunk@18529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:33:22 +00:00
nbachiyski
688eebdc26 Sync pomo library with the current GlotPress version
git-svn-id: http://svn.automattic.com/wordpress/trunk@18528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:29:35 +00:00
nacin
cdb9e49b8c Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit. props duck_, fixes #18352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 03:02:01 +00:00
nacin
5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
nacin
97730f64fa Initialize in the Theme_Upgrader class. props mitchoyoshitaka, fixes #18367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:26:36 +00:00
nacin
90f6899dd1 Use preg_match more efficiently. props solarissmoke, fixes #17287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:18:18 +00:00
nacin
5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin
45f2e1a527 Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:00:45 +00:00
nacin
c3c4ced486 Pass old value to update_site_option hooks. props westi, fixes #17974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:59:50 +00:00
nacin
bce03b27a6 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:53:54 +00:00
azaozz
83c377a8ef WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 17:03:18 +00:00
azaozz
c70ac59b6e Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 16:26:31 +00:00
azaozz
9a65f6e237 Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 21:04:15 +00:00
azaozz
d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan
902cbda424 Handle id back compat in isset magic method. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 20:54:08 +00:00