Browse files

WP 3.8 admin refresh and README update

  • Loading branch information...
1 parent c33b90e commit 9134008f2616c542b854a356dd1876cbbba1f810 @alexkingorg alexkingorg committed Dec 21, 2013
Showing with 30 additions and 19 deletions.
  1. +6 −2 README.md
  2. +6 −2 README.txt
  3. +12 −2 assets/admin.css
  4. +5 −12 views/wp-admin/options.php
  5. +1 −1 views/wp-admin/parts/accounts.php
View
8 README.md
@@ -1,8 +1,8 @@
# Social #
**Contributors:** crowdfavorite, alexkingorg
**Tags:** comments, facebook, twitter, social, broadcast, import, integrate, integration
-**Requires at least:** 3.3
-**Tested up to:** 3.5.2
+**Requires at least:** 3.8
+**Tested up to:** 3.8
**Stable tag:** 2.9.3
**License:** GPLv2
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
@@ -291,6 +291,8 @@ Since Social 2.9 we've made the decision to disable this by default. If the defa
## Upgrade Notice ##
### 2.9.3 ###
+* (new) Now requires WordPress 3.8 (due to threaded comments walker change in WP core)
+* (new) WP 3.8 admin refresh compatibility
* (new) Japanese translation (thanks ToshiOshio)
* (fix) Work around changes in the Walker class in WP 3.8 so that nested comments appear as expected
* (fix) Remove underscores from CRON actions (thanks nddery)
@@ -301,6 +303,8 @@ Since Social 2.9 we've made the decision to disable this by default. If the defa
## Changelog ##
### 2.9.3 ###
+* (new) Now requires WordPress 3.8 (due to threaded comments walker change in WP core)
+* (new) WP 3.8 admin refresh compatibility
* (new) Japanese translation (thanks ToshiOshio)
* (fix) Work around changes in the Walker class in WP 3.8 so that nested comments appear as expected
* (fix) Remove underscores from CRON actions (thanks nddery)
View
8 README.txt
@@ -1,8 +1,8 @@
=== Social ===
Contributors: crowdfavorite, alexkingorg
Tags: comments, facebook, twitter, social, broadcast, import, integrate, integration
-Requires at least: 3.3
-Tested up to: 3.5.2
+Requires at least: 3.8
+Tested up to: 3.8
Stable tag: 2.9.3
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -283,6 +283,8 @@ Since Social 2.9 we've made the decision to disable this by default. If the defa
== Upgrade Notice ==
= 2.9.3 =
+* (new) Now requires WordPress 3.8 (due to threaded comments walker change in WP core)
+* (new) WP 3.8 admin refresh compatibility
* (new) Japanese translation (thanks ToshiOshio)
* (fix) Work around changes in the Walker class in WP 3.8 so that nested comments appear as expected
* (fix) Remove underscores from CRON actions (thanks nddery)
@@ -293,6 +295,8 @@ Since Social 2.9 we've made the decision to disable this by default. If the defa
== Changelog ==
= 2.9.3 =
+* (new) Now requires WordPress 3.8 (due to threaded comments walker change in WP core)
+* (new) WP 3.8 admin refresh compatibility
* (new) Japanese translation (thanks ToshiOshio)
* (fix) Work around changes in the Walker class in WP 3.8 so that nested comments appear as expected
* (fix) Remove underscores from CRON actions (thanks nddery)
View
14 assets/admin.css
@@ -62,7 +62,14 @@
margin-bottom: 0;
}
+.social-description,
+.form-table .social-description {
+ font-size: 12px;
+ margin-bottom: 10px;
+}
+
.social-accounts {
+ font-size: 12px;
margin: 20px 0 0;
max-width: 60em;
}
@@ -80,7 +87,6 @@
}
.social-accounts ul li {
- background: #fff;
margin: 0;
padding: 0;
}
@@ -264,7 +270,7 @@
}
.social-collapsible > .social-title a {
- background: #fff url(toggle.gif) no-repeat 0 0;
+ background: #f1f1f1 url(toggle.gif) no-repeat 0 0;
display: -moz-inline-box; /* FF2 */
display: inline-block; /* Standard. IE8+, Saf, FF3+ */
padding: 0 5px 0 15px;
@@ -608,6 +614,10 @@
}
/* Interstitial */
+body.clean {
+ margin-bottom: 100px;
+ margin-top: 50px;
+}
.social-broadcast-options section {
margin-bottom: 30px;
}
View
17 views/wp-admin/options.php
@@ -67,7 +67,7 @@
</th>
<td>
<input type="text" class="regular-text" name="social_broadcast_format" id="social_broadcast_format" value="<?php echo esc_attr(Social::option('broadcast_format')); ?>" />
- <p class="description"><?php _e('How you would like posts to be formatted when broadcasting to Twitter or Facebook?', 'social'); ?></p>
+ <p class="description social-description"><?php _e('How you would like posts to be formatted when broadcasting to Twitter or Facebook?', 'social'); ?></p>
<div class="description">
<?php _e('Tokens:', 'social'); ?>
@@ -92,7 +92,7 @@
</th>
<td>
<input type="text" class="regular-text" name="social_comment_broadcast_format" id="social_comment_broadcast_format" value="<?php echo esc_attr(Social::option('comment_broadcast_format')); ?>" />
- <p class="description"><?php _e('How you would like comments to be formatted when broadcasting to Twitter or Facebook.', 'social'); ?></p>
+ <p class="description social-description"><?php _e('How you would like comments to be formatted when broadcasting to Twitter or Facebook.', 'social'); ?></p>
<div class="description">
<?php _e('Tokens:', 'social'); ?>
@@ -111,13 +111,6 @@
</div>
</td>
</tr>
- <tr>
- <th><?php _e('Twitter @anywhere', 'social'); ?></th>
- <td>
- <p><?php printf(__('Social Version 2.6 has removed @anywhere support to comply with <a href="%s">Twitter\'s decision to sunset the service</a>.', 'social'), esc_url('https://dev.twitter.com/blog/sunsetting-anywhere')); ?></p>
- <p><?php printf(__('If you would like to continue to use @anywhere, <a href="%s" target="_blank">there are many plugins available to accomodate</a>.', 'social'), esc_url('https://www.google.com/search?q=WordPress+@anywhere+plugin')); ?></p>
- </td>
- </tr>
</table>
<?php
$cron = Social::option('cron');
@@ -166,7 +159,7 @@
<?php endforeach; ?>
</select>
</div>
- <p class="description" style="max-width: 450px;"><?php _e('Account for general (non account specific) Twitter API interaction.', 'social'); ?></p>
+ <p class="description social-description" style="max-width: 450px;"><?php _e('Account for general (non account specific) Twitter API interaction.', 'social'); ?></p>
</li>
</ul>
</td>
@@ -179,15 +172,15 @@
<label for="cron_auto">
<input type="radio" name="social_cron" value="1" id="cron_auto" style="position:relative;top:-1px"<?php echo Social::option('cron') == '1' ? ' checked="checked"' : ''; ?> />
<?php _e('Automatic (WP Cron)', 'social'); ?>
- <span class="description"><?php _e('(easiest)', 'social'); ?></span>
+ <span class="description social-description"><?php _e('(easiest)', 'social'); ?></span>
</label>
</li>
<li>
<label for="cron_manual">
<input type="radio" name="social_cron" value="0" id="cron_manual" style="position:relative;top:-1px"<?php echo Social::option('cron') == '0' ? ' checked="checked"' : ''; ?> />
<?php _e('Manual <span class="description">(advanced)</span>', 'social'); ?>
</label>
- <p class="description"><?php _e('If you select this option, new tweets and Facebook posts will not be fetched unless you set up a system CRON job or fetch new items manually from the post edit screen. More help is also available in&nbsp;<code>README.txt</code>.', 'social'); ?></p>
+ <p class="description social-description"><?php _e('If you select this option, new tweets and Facebook posts will not be fetched unless you set up a system CRON job or fetch new items manually from the post edit screen. More help is also available in&nbsp;<code>README.txt</code>.', 'social'); ?></p>
<?php
if (Social::option('cron') === '0') {
?>
View
2 views/wp-admin/parts/accounts.php
@@ -94,4 +94,4 @@
<?php
}
?>
-<p class="description" style="max-width: 450px;"><?php _e('Default accounts will auto-broadcast when you publish via XML-RPC or email.', 'social'); ?></p>
+<p class="description social-description" style="max-width: 450px;"><?php _e('Default accounts will auto-broadcast when you publish via XML-RPC or email.', 'social'); ?></p>

0 comments on commit 9134008

Please sign in to comment.