Commit Graph

287 Commits

Author SHA1 Message Date
Ryan Boren f3a83744e9 Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().
git-svn-id: http://core.svn.wordpress.org/trunk@23567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:14:09 +00:00
Ryan Boren 43a7e695e9 Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767
git-svn-id: http://core.svn.wordpress.org/trunk@23554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 16:28:40 +00:00
Ryan Boren cc5ed3a485 Change all core API to expect unslashed rather than slashed arguments.
The exceptions to this are update_post_meta() and add_post_meta() which are often used by plugins in POST handlers and will continue accepting slashed data for now.

Introduce wp_upate_post_meta() and wp_add_post_meta() as unslashed alternatives to update_post_meta() and add_post_meta(). These functions could become methods in WP_Post so don't use them too heavily yet.

Remove all escape() calls from wp_xmlrpc_server. Now that core expects unslashed data this is no longer needed.

Remove addslashes(), addslashes_gpc(), add_magic_quotes() calls on data being prepared for handoff to core functions that until now expected slashed data. Adding slashes in no longer necessary.

Introduce wp_unslash() and use to it remove slashes from GPCS data before using it in core API. Almost every instance of stripslashes() in core should now be wp_unslash(). In the future (a release or three) when GPCS is no longer slashed, wp_unslash() will stop stripping slashes and simply return what is passed. At this point wp_unslash() calls can be removed from core.

Introduce wp_slash() for slashing GPCS data. This will also turn into a noop once GPCS is no longer slashed. wp_slash() should almost never be used. It is mainly of use in unit tests.

Plugins should use wp_unslash() on data being passed to core API.

Plugins should no longer slash data being passed to core. So when you get_post() and then wp_insert_post() the post data from get_post() no longer needs addslashes(). Most plugins were not bothering with this. They will magically start doing the right thing. Unfortunately, those few souls who did it properly will now have to avoid calling addslashes() for 3.6 and newer.

Use wp_kses_post() and wp_kses_data(), which expect unslashed data, instead of wp_filter_post_kses() and wp_filter_kses(), which expect slashed data. Filters are no longer passed slashed data.

Remove many no longer necessary calls to $wpdb->escape() and esc_sql().

In wp_get_referer() and wp_get_original_referer(), return unslashed data.

Remove old stripslashes() calls from WP_Widget::update() handlers. These haven't been necessary since WP_Widget.

Switch several queries over to prepare().

Expect something to break.

Props alexkingorg
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-14 22:51:06 +00:00
Sergey Biryukov 7a77f47f55 Use correct escaping function. fixes #23334.
git-svn-id: http://core.svn.wordpress.org/trunk@23413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-14 05:52:23 +00:00
Ryan Boren d4abd95449 Scope button classes so they can be used on the frontend without interfering with theme styles.
Props helenyhou, koopersmith
fixes #22644


git-svn-id: http://core.svn.wordpress.org/trunk@22948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 13:40:59 +00:00
Ryan Boren 06ee370814 Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@22634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-17 15:11:29 +00:00
Ryan Boren 0794b91606 Use retina logo in install, upgrade, setup-config, repair, and confirmation screens.
Props kopepasah, SergeyBiryukov
fixes #22375


git-svn-id: http://core.svn.wordpress.org/trunk@22419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 17:34:22 +00:00
Andrew Ozz 24537164ff Buttons: make install.css depend on buttons.css (so button styles are always loaded), see #21598
git-svn-id: http://core.svn.wordpress.org/trunk@22327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-30 16:28:13 +00:00
Andrew Ozz efbc9d2336 Buttons:
- Update the install/initial configuration/repair screens buttons, props DrewAPicture
- Fix the welcome screen buttons and fine-tune the buttons css, props lessbloat

fixes #21598


git-svn-id: http://core.svn.wordpress.org/trunk@22314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-26 19:40:39 +00:00
ryan 8c114f0c54 Pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@20715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-03 16:41:59 +00:00
nacin 026289fa33 A more resilient check for the base table prefix. see #19970.
git-svn-id: http://core.svn.wordpress.org/trunk@20700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:38:58 +00:00
nacin c02d96890a Issue an error during the WordPress install process if wp-config.php is configured with an empty database table prefix, which is not supported.
props SergeyBiryukov.
fixes #19970.



git-svn-id: http://core.svn.wordpress.org/trunk@20699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-02 20:37:18 +00:00
nacin 2f26bbdf8d Int cast a step variable. see #19786. props Caspie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-27 18:57:08 +00:00
nacin 5ecb56896f Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 04:57:56 +00:00
nacin 81bb2f7ed7 Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:05:35 +00:00
nacin b94b02b316 Provide a more WordPress-like context for 'Welcome' on the install screen. see #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:49:41 +00:00
nacin c1b4310367 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:47:49 +00:00
ryan 81b39f50fb Remove references to specific search engines. fixes #18605
git-svn-id: http://svn.automattic.com/wordpress/trunk@19794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:51:00 +00:00
ryan 07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
azaozz 52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
nacin 44590b1d78 Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 23:42:11 +00:00
nacin a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
dd32 6f5da88d81 Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
git-svn-id: http://svn.automattic.com/wordpress/trunk@18622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 03:55:40 +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
azaozz 5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
westi caab05429f Use the l10n helper js file in the installer. See #15124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:44:08 +00:00
nacin 0552424317 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 00:31:27 +00:00
markjaquith fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
westi 7186208818 Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 06:39:20 +00:00
scribu 08e984e5e8 move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 20:29:19 +00:00
westi f243603e64 Context for the medium password strength string to disabiguate it. Fixes #14431 for trunk props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-29 20:42:05 +00:00
dd32 f73a8ed7fc Do not stripslashes() passwords during Install, Matches Login/Updating password handling. Props johanee. See #13654
git-svn-id: http://svn.automattic.com/wordpress/trunk@15073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 10:53:02 +00:00
westi 86bc8063c6 Style the error messages in the installer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 08:18:48 +00:00
nacin e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin 0e152503cb Poka yoke for username sanitization during install. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:20:32 +00:00
nacin 3a11c693b7 Show the sanitized username on install.php completion page. Also add some help text. see #13159.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-28 02:17:19 +00:00
nbachiyski a3f84296c5 Change user name to username for consistency
git-svn-id: http://svn.automattic.com/wordpress/trunk@14172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-20 17:40:08 +00:00
dd32 db0706ea0e Add Password Mismatch feedback to the Password Strength Meter. Props dancole. Fixes #12576
git-svn-id: http://svn.automattic.com/wordpress/trunk@13900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-31 08:45:51 +00:00
nacin 30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
nacin 8c8bf5039f Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:15:00 +00:00
nacin 4ebde35485 install.php password UI cleanup. see #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-14 02:30:50 +00:00
westi da3765da55 Make the sanitity check html in the installer more poetic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 20:45:24 +00:00
dd32 e2ef640d36 Do not display user specified password during install. Fixes #12479. See #10396 for feedback
git-svn-id: http://svn.automattic.com/wordpress/trunk@13592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 12:25:30 +00:00
nacin 64d5d9e55c Add a sanity check in install.php, accounting for whether PHP is running. fixes #11728
git-svn-id: http://svn.automattic.com/wordpress/trunk@13428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:31:40 +00:00
nacin fc250d46f3 Show "Log In" button on install.php when already installed. fixes #10488 props dancole
git-svn-id: http://svn.automattic.com/wordpress/trunk@13356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 01:58:27 +00:00
nacin baa6ca4b2c Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: http://svn.automattic.com/wordpress/trunk@13250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:28:10 +00:00
nacin 04212c36f3 Actually remove stray line ref. [13135]. see #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:28:34 +00:00
nacin b8a6d8add5 Manual L10n JS strings in install.php. Remove stray line, see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@13135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:24:25 +00:00
dd32 470f62dd8c First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:07:47 +00:00
nacin 05f7724075 install.php whitespace cleanup, inline docs, function @sinces, fixes #11491
git-svn-id: http://svn.automattic.com/wordpress/trunk@13124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 20:40:42 +00:00
ryan 459326c932 Check PHP and MySQL versions in install.php. see #11666
git-svn-id: http://svn.automattic.com/wordpress/trunk@12577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 22:07:35 +00:00
ryan 8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
westi 235f560950 Add in the missing </td> so that the install page validates correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:09:24 +00:00
westi 5813bf3ab2 Restore the default behaviour on install of blogs appearing in search engines. Fixes #10621 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-16 09:01:39 +00:00
ryan 6037ecb9a7 Don't double define ABSPATH. Props peaceablewhale. fixes #9863
git-svn-id: http://svn.automattic.com/wordpress/trunk@11393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 15:29:57 +00:00
westi 69333a5b1b Give better instructions when installing over an existing users table. Fixes #9569 based on patch from coffee2code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-14 06:54:33 +00:00
ryan f5a6197172 Use absolute paths for includes. Props hakre. fixes #9750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 16:47:49 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz 83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
ryan b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
westi bc60e85960 Improve the installer when people enter a duff email address. Fixes #5477 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 12:58:10 +00:00
ryan 545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
westi 7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
ryan 0728ecb254 Fix font sizes in the install/upgrade screens. Props azaozz. fixes #7276
git-svn-id: http://svn.automattic.com/wordpress/trunk@8309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 16:59:17 +00:00
ryan 3f90dc2f58 More informative error message when remote publishing is disabled. Don't disable if upgrading. Props josephscott. see #7157
git-svn-id: http://svn.automattic.com/wordpress/trunk@8202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 22:39:57 +00:00
westi 2b0d5a7cab Allow enabling of remote publishing at install time. See #7157.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 16:35:45 +00:00
ryan 68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan 5b8113578d Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: http://svn.automattic.com/wordpress/trunk@7971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-21 05:59:27 +00:00
ryan 07807f1769 install.php i18n and html fixes. Props nbachiyski. fixes #6221
git-svn-id: http://svn.automattic.com/wordpress/trunk@7294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 18:22:19 +00:00
ryan 21f293db28 gettext strings. Props hervada. fixes #6136
git-svn-id: http://svn.automattic.com/wordpress/trunk@7199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:51:33 +00:00
ryan ece9c26f6f Change niceblue class name to form-table. Props filosofo and mt. fixes #5973
git-svn-id: http://svn.automattic.com/wordpress/trunk@7000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-24 04:33:10 +00:00
ryan 4a89a7ee40 Style updates for install from mt. fixes #5946
git-svn-id: http://svn.automattic.com/wordpress/trunk@6965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 23:55:11 +00:00
ryan ad42d0148a Remove raquo from buttons. Props filosofo. fixes #5938
git-svn-id: http://svn.automattic.com/wordpress/trunk@6943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 19:30:55 +00:00
ryan d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan e8241c6966 Show DB errors if WP_DEBUG and if installing. see #5473
git-svn-id: http://svn.automattic.com/wordpress/trunk@6469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-22 17:45:30 +00:00
ryan de5340b9f3 Set error if there is a problem connecting to the DB. Props skeltoac and Potter_System. fixes #5495
git-svn-id: http://svn.automattic.com/wordpress/trunk@6426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 02:10:09 +00:00
markjaquith 315a28c4b5 Remove non-functioning and misleading "Privacy" label on install. fixes #5012
git-svn-id: http://svn.automattic.com/wordpress/trunk@6140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 21:45:23 +00:00
ryan 3ac0df5170 Fix includes for setup-config so that wp_die is defined. Props DD32. fixes #4997
git-svn-id: http://svn.automattic.com/wordpress/trunk@6137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 04:27:56 +00:00
ryan 6d53f77f31 gettext string. Props tai. fixes #4985
git-svn-id: http://svn.automattic.com/wordpress/trunk@6122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-16 18:15:03 +00:00
ryan 014915caea Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: http://svn.automattic.com/wordpress/trunk@5965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 23:23:38 +00:00
markjaquith 25abcd1338 More streamlined install process. Obeys WP_SITEURL if defined. fixes #4687 (props JeremyVisser, Nazgul), see #4685
git-svn-id: http://svn.automattic.com/wordpress/trunk@5844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:08:59 +00:00
markjaquith 8c454d7909 Favor the term "blog" instead of "weblog." Props foolswisdom and Nazgul. fixes #4674
git-svn-id: http://svn.automattic.com/wordpress/trunk@5825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:32:12 +00:00
ryan 9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
rob1n cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
ryan 770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00
ryan ef81b079de Don't translate admin user. Leave it fixed. Props nbachiyski. fixes #3589
git-svn-id: http://svn.automattic.com/wordpress/trunk@4766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 18:03:32 +00:00
ryan 43c48d8f38 Change editing wp-config codex link. fixes #1936
git-svn-id: http://svn.automattic.com/wordpress/trunk@4737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:42:06 +00:00
markjaquith 7d9c326c36 missing wp-config.php error uses wp_die() now. props Nazgul. fixes #1936
git-svn-id: http://svn.automattic.com/wordpress/trunk@4307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 05:32:18 +00:00
ryan c0580ed6f7 Add support for RTL in install.php, upgrade.php and inline-uploading.php. Props Sewar. #3136
git-svn-id: http://svn.automattic.com/wordpress/trunk@4259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-28 17:35:59 +00:00
ryan 4e5380a24a wp_die() improvements from Sewar. fixes #2902
git-svn-id: http://svn.automattic.com/wordpress/trunk@4006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-10 05:29:10 +00:00
ryan 42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
ryan f36c6bd2be Remove those naughty flushes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-22 02:10:42 +00:00
ryan 8a751c591d Pluggable install functions. fixes #2616
git-svn-id: http://svn.automattic.com/wordpress/trunk@3670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-31 08:07:39 +00:00
ryan eaea1c6e70 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: http://svn.automattic.com/wordpress/trunk@3604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 20:36:40 +00:00
ryan df35b1041b Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: http://svn.automattic.com/wordpress/trunk@3603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 17:19:05 +00:00
ryan e9c75f4bd2 Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 04:57:30 +00:00
ryan 941ec0ff97 Blog privacy. fixes #2480
git-svn-id: http://svn.automattic.com/wordpress/trunk@3548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-18 07:40:43 +00:00
ryan dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan f812294867 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 10:03:48 +00:00
ryan 305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan 157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan 843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan 8cbfe2c46e Regenerate page rewrite rules after creating the first page during install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:47:31 +00:00
ryan 2f439c9306 stripslashes() from admin email and weblog title since update_option() takes care of escaping them. fixes #1919
git-svn-id: http://svn.automattic.com/wordpress/trunk@3173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:40:17 +00:00
ryan 550a201c63 Use new logo. Props nbachiyski. fixes #1896
git-svn-id: http://svn.automattic.com/wordpress/trunk@3133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:55:53 +00:00
ryan bfd865984e Populate category and comment counts for default post and cat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 05:10:18 +00:00
ryan a3a84d2957 Flush the cache before installing. fixes #1877
git-svn-id: http://svn.automattic.com/wordpress/trunk@3088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:32:03 +00:00
ryan f6fd138e51 Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: http://svn.automattic.com/wordpress/trunk@3067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 06:51:09 +00:00
matt 41775561d5 Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:21:28 +00:00
ryan 81669e4652 Admin nicename setup incorrectly. Props Mark Jaquith fixes #1839
git-svn-id: http://svn.automattic.com/wordpress/trunk@2992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:16:59 +00:00
ryan 5939e76b0b DB versioning. fixes #1791
git-svn-id: http://svn.automattic.com/wordpress/trunk@2966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-27 22:04:12 +00:00
ryan e81550ae0f Trailing slashes, on the URI, make me happy, make me feel fine. fixes #1742
git-svn-id: http://svn.automattic.com/wordpress/trunk@2945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-12 18:21:15 +00:00
ryan 18145da089 Use wp_mail instead of mail. Props to tliebig. fixes #1642
git-svn-id: http://svn.automattic.com/wordpress/trunk@2835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-02 17:12:58 +00:00
ryan 5c6d00bbfc Set nickname during install. Props skippy and markjaquith. fixes #1568
git-svn-id: http://svn.automattic.com/wordpress/trunk@2794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:43:43 +00:00
matt 0bd45809eb Removing link at Carthik's request.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-16 23:27:16 +00:00
matt fe95c191b8 No trailing index.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@2785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-15 05:12:46 +00:00
ryan e0b97e8a20 Setup admin's role during install. Props: Owen Winkler. fixes #1505
git-svn-id: http://svn.automattic.com/wordpress/trunk@2707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 19:55:05 +00:00
ryan 91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
matt aa4556ab08 Make it a page
git-svn-id: http://svn.automattic.com/wordpress/trunk@2664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-27 18:16:16 +00:00
matt 0887b4b554 Add a default About page on install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 09:05:06 +00:00
matt de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
ryan db7f896a2f Mark strings for localization. http://mosquito.wordpress.org/view.php?id=1272 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-22 00:16:48 +00:00
matt f3031d20db Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: http://svn.automattic.com/wordpress/trunk@2548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:35:48 +00:00
matt dac1dfc256 Strip slashes in blog name for email from:
git-svn-id: http://svn.automattic.com/wordpress/trunk@2532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 23:25:48 +00:00
ryan 11f6361840 Add slug for default category. http://mosquito.wordpress.org/view.php?id=1092
git-svn-id: http://svn.automattic.com/wordpress/trunk@2459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-21 16:53:42 +00:00
matt 5b6f2a148c Use installing variable (from Donncha)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 23:34:06 +00:00
ryan 5123086148 Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: http://svn.automattic.com/wordpress/trunk@2437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 17:06:18 +00:00
ryan c84f9a4325 Localize default post, category, and comment. Remove unnecessary addslashes/stripslashes. Validate admin email address. http://mosquito.wordpress.org/view.php?id=994 Props: slebog and nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-05 02:27:08 +00:00
ryan ec8924fb5b Remove extra line breaks. http://mosquito.wordpress.org/view.php?id=1002
git-svn-id: http://svn.automattic.com/wordpress/trunk@2400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 15:42:59 +00:00
ryan 139adf7c5c gettext install and upgrade. http://mosquito.wordpress.org/view.php?id=994 From nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-27 23:09:58 +00:00
ryan 6bb1b724ab Give first post a slug. http://mosquito.wordpress.org/view.php?id=987 Props: MaThIbUs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-26 20:46:12 +00:00
saxmatt 496b443095 Don't show email errors for people who don't have it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 01:31:23 +00:00
saxmatt 3e59b760c1 First user should have a registration date.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-04 23:52:56 +00:00
saxmatt 951158ebb4 Make input forms bigger.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:44:38 +00:00
saxmatt 73cbd42eeb http://mosquito.wordpress.org/view.php?id=669
git-svn-id: http://svn.automattic.com/wordpress/trunk@2083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 20:22:11 +00:00
saxmatt 15b84de271 Adding RSS feeds for everybody.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 23:30:57 +00:00
saxmatt 2ce6f9608d No email on the default comment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:12:55 +00:00
saxmatt 33d3914a58 Using modern variables.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 07:55:26 +00:00
rboren 2625010626 Fix link to setup-config. Bug 497.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 04:41:48 +00:00
rboren 0efa226889 The first category is 1 not 0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 05:59:34 +00:00
rboren 9f893ae091 Use $wpdb->post2cat instead of wp_main_post2cat. Bug 442. Hat tip: ludoo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:40:09 +00:00
donncha 78ff4b8f90 Very minor typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 16:31:44 +00:00
donncha 2641b2ae40 Added links to developer's sites.
Fixed bug in install: post2cat record for "first post" missing.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-26 16:28:43 +00:00
michelvaldrighi 25a0cec898 added From: header to the mail notification
git-svn-id: http://svn.automattic.com/wordpress/trunk@1707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-23 11:42:40 +00:00
saxmatt de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00
saxmatt 009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt 6b43f65c25 Remove optiongroups table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:09:21 +00:00
saxmatt 7e1cc4c8c0 Remove optiontypes table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:04:19 +00:00
saxmatt 5e87dfc5df Remove optionvalues table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 21:52:00 +00:00