Archived
Updates and minor fixes
This commit is contained in:
1 parent
a2fccef226
commit
10d9583024
118 files changed
+2992
-1480
No files matched your search
@@ -106,9 +106,9 @@ class WPSEO_Pointers {
|
||||
),
|
||||
'wpseo_social' => array(
|
||||
'content' => "<h3>" . __( "Social settings", 'wordpress-seo' ) . "</h3>"
|
||||
. "<p><strong>" . __( 'Facebook OpenGraph', 'wordpress-seo' ) . '</strong><br/>'
|
||||
. __( "On this page you can enable the OpenGraph functionality from this plugin, as well as assign a Facebook user or Application to be the admin of your site, so you can view the Facebook insights.", 'wordpress-seo' ) . "</p>"
|
||||
. '<p>' . sprintf( __( 'Read more about %1$sFacebook OpenGraph%2$s.', 'wordpress-seo' ), '<a target="_blank" href="http://yoast.com/facebook-open-graph-protocol/#utm_source=wpadmin&utm_medium=wpseo_tour&utm_term=link&utm_campaign=wpseoplugin">', '</a>' ) . "</p>"
|
||||
. "<p><strong>" . __( 'Facebook Open Graph', 'wordpress-seo' ) . '</strong><br/>'
|
||||
. __( "On this page you can enable the Open Graph functionality from this plugin, as well as assign a Facebook user or Application to be the admin of your site, so you can view the Facebook insights.", 'wordpress-seo' ) . "</p>"
|
||||
. '<p>' . sprintf( __( 'Read more about %1$sFacebook Open Graph%2$s.', 'wordpress-seo' ), '<a target="_blank" href="http://yoast.com/facebook-open-graph-protocol/#utm_source=wpadmin&utm_medium=wpseo_tour&utm_term=link&utm_campaign=wpseoplugin">', '</a>' ) . "</p>"
|
||||
. "<p><strong>" . __( 'Twitter Cards', 'wordpress-seo' ) . '</strong><br/>'
|
||||
. sprintf( __( 'This functionality is currently in beta, but it allows for %1$sTwitter Cards%2$s.', 'wordpress-seo' ), '<a target="_blank" href="http://yoast.com/twitter-cards/#utm_source=wpadmin&utm_medium=wpseo_tour&utm_term=link&utm_campaign=wpseoplugin">', '</a>' ) . "</p>",
|
||||
'button2' => __( 'Next', 'wordpress-seo' ),
|
||||
@@ -171,9 +171,10 @@ class WPSEO_Pointers {
|
||||
$function = 'document.location="' . admin_url( 'admin.php?page=wpseo_dashboard' ) . '";';
|
||||
} else {
|
||||
if ( '' != $page && in_array( $page, array_keys( $adminpages ) ) ) {
|
||||
$align = ( is_rtl() ) ? 'right' : 'left';
|
||||
$opt_arr = array(
|
||||
'content' => $adminpages[$page]['content'],
|
||||
'position' => array( 'edge' => 'top', 'align' => 'left' ),
|
||||
'position' => array( 'edge' => 'top', 'align' => $align ),
|
||||
'pointerWidth' => 400
|
||||
);
|
||||
$button2 = $adminpages[$page]['button2'];
|
||||
@@ -188,11 +189,10 @@ class WPSEO_Pointers {
|
||||
* Load a tiny bit of CSS in the head
|
||||
*/
|
||||
function admin_head() {
|
||||
// Depreciated, marked for removal
|
||||
// No longer needed as the original code is now being handle by an external CSS files that supports RTL
|
||||
?>
|
||||
<style type="text/css" media="screen">
|
||||
#pointer-primary {
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user