Commit Graph

206 Commits

Author SHA1 Message Date
Andrew Nacin 0c59eacb55 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: https://develop.svn.wordpress.org/trunk@19862 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 06:05:35 +00:00
Jon Cave 156048ca52 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19726 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 21:20:51 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Nacin a5ada1a537 about.php and friends for the global dashboard. see #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19700 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:08:45 +00:00
Andrew Nacin 5ccd02fb01 Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19699 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 17:53:41 +00:00
Ryan Boren a8d77cbae9 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Ryan Boren 5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Ryan Boren 54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren ae0d5be06c Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19579 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:26:48 +00:00
Ryan Boren d26f0a4c40 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19577 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 23:02:33 +00:00
Ryan Boren c9b84969c3 s/Admin Bar/Toolbar/. Props ocean90. fixes #19461
git-svn-id: https://develop.svn.wordpress.org/trunk@19569 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 16:49:16 +00:00
Ryan Boren 9f8cbd8efc Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:22:07 +00:00
Andrew Nacin 421ac2155d Remove 'update' from site-users.php on redirect. props PeteMall, fixes #18895.
git-svn-id: https://develop.svn.wordpress.org/trunk@19394 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 05:55:55 +00:00
Andrew Nacin 208bc57e76 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: https://develop.svn.wordpress.org/trunk@19293 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:24:30 +00:00
Ryan Boren 996231e74d Use get_site_url() instead of hard-coding the protocol. Props SergeyBiryukov, exell.christopher. fixes #17466
git-svn-id: https://develop.svn.wordpress.org/trunk@19211 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:13:42 +00:00
Andrew Nacin 8208aaac6f More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19123 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:42:57 +00:00
Andrew Nacin 840f20feb2 More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19122 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:32:16 +00:00
Andrew Nacin 4cb3487019 More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19121 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:54:56 +00:00
Ryan Boren 71aa0059d0 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19114 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 05:33:53 +00:00
Andrew Nacin 1287ec492a Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Andrew Nacin 2efff75050 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Andrew Nacin ac958d3ec6 Oops. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:05:43 +00:00
Andrew Nacin 0a6ff4024f Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Ozz 22f4cdc7d7 Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Ryan Boren 88a57f003a Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: https://develop.svn.wordpress.org/trunk@18869 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:35:43 +00:00
Andrew Ozz 98554b4bb6 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Andrew Ozz d0d3855285 Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Ryan Boren 35130709a7 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: https://develop.svn.wordpress.org/trunk@18842 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:26:14 +00:00
Ryan Boren f1423b28e5 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:47:02 +00:00
Andrew Nacin b709c2ac4e Add 'Visit Dashboard' and 'Edit Site' links to the site added message on site-new.php. props vegasgeek, SergeyBiryukov. fixes #18047. fixes #17313.
git-svn-id: https://develop.svn.wordpress.org/trunk@18750 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 07:17:27 +00:00
Andrew Ozz f465d0e766 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +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 Nacin 193baf96e7 Add 'Network Enable' link after installing a theme in the network admin. props PeteMall, fixes #18468.
git-svn-id: https://develop.svn.wordpress.org/trunk@18569 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:40:37 +00:00
Andrew Nacin bbfd457437 Remove duplicated current_action() call. props PeteMall, fixes #18389.
git-svn-id: https://develop.svn.wordpress.org/trunk@18565 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:26:18 +00:00
Andrew Nacin 2d52bddbde Redirect to network_admin_url() in network/edit.php. props PeteMall, fixes #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18564 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:17:47 +00:00
Andrew Nacin 13999695f1 Dissolve wp-admin/network/edit.php. props PeteMall, fixes #18379.
git-svn-id: https://develop.svn.wordpress.org/trunk@18562 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 02:29:06 +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
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 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 Nacin ebbcce1b80 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: https://develop.svn.wordpress.org/trunk@18157 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 00:30:17 +00:00
Ryan Boren 39f8f07013 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: https://develop.svn.wordpress.org/trunk@18131 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 18:59:12 +00:00
Ryan Boren a118d32b6b Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: https://develop.svn.wordpress.org/trunk@18129 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 15:35:45 +00:00
Peter Westwood 7fa99c4253 Help Tab text updatates. Fixes #17312 prop dougwrites.
git-svn-id: https://develop.svn.wordpress.org/trunk@18092 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 15:37:04 +00:00
Ryan Boren 09424ff8b3 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: https://develop.svn.wordpress.org/trunk@18026 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-24 21:58:01 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren 9781af86f5 Update some network admin help text. Props dougwrites. fixes #16988
git-svn-id: https://develop.svn.wordpress.org/trunk@17921 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 19:25:38 +00:00
Mark Jaquith 4f8b646e03 Centralize pagination bound exceeding redirects for list tables. props garyc40. props johnjamesjacoby. fixes #16208
git-svn-id: https://develop.svn.wordpress.org/trunk@17900 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 06:09:42 +00:00