Cambiar el texto completo de "Ayuda" en el Escritorio de WordPress
-
Hola, estoy leiendo varios temas, y no logro entender lo que me dicen, es mas no hay lo que dicen.
Veamos a ver, estoy editando el archivo «custom-header.php» del directorio wp-admin.
Allí me sale algo de lo que me sale en la pestaña de «Ayuda», veamos el codigo que me sale:$this- >page = $page = add_theme_page(__('Header'), __('Header'), 'edit_theme_options', 'custom-header', array(&$this, 'admin_page')); add_action("admin_print_scripts-$page", array(&$this, 'js_includes')); add_action("admin_print_styles-$page", array(&$this, 'css_includes')); add_action("admin_head-$page", array(&$this, 'help') ); add_action("admin_head-$page", array(&$this, 'take_action'), 50); add_action("admin_head-$page", array(&$this, 'js'), 50); add_action("admin_head-$page", $this- >admin_header_callback, 51); } /** * Adds contextual help. * * @since 3.0.0 */ function help() { add_contextual_help( $this- >page, '< p >' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.' ) . '< /p >' . '< p >' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original headeryhjguygvuygufvyftytfytftyfvghb uyg yuf y fyt gfvt fytfvt dtrd rtdcvyv yvg image.' ) . '< /p >' . '< p >' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the Save Changes button.' ) . '< /p >' . '< p ><strong>' . __( 'For more information:' ) . '</strong>< /p >' . '< p >' . __( '<a href="http://codex.wordpress.org/Appearance_Header_Screen">uhiguygvuygkfgukyukyfyuffufufyuftom Header</a>' ) . '< /p >' . '< p >' . __( '<a href="http://wordpress.org/support/">Support Forums</a>' ) . '< /p >' ); }
Como podeis ver he añadido letras al azar sumandolas al texto, lo he subido, y ahora con el usuario de prueba que no tenia poderes de administrador se me ve la ayuda como si la viera un admin, y tampoco se suman las letras al azar que he añadido, alguien sabría dar con la respuesta?
Gracias de antemano
Viendo 4 respuestas - de la 1 a la 4 (de un total de 4)
Viendo 4 respuestas - de la 1 a la 4 (de un total de 4)
- El debate ‘Cambiar el texto completo de "Ayuda" en el Escritorio de WordPress’ está cerrado a nuevas respuestas.