1353 |
1353 |
1354 /* translators: Word count. */ |
1354 /* translators: Word count. */ |
1355 'Words: {0}' => sprintf( __( 'Words: %s' ), '{0}' ), |
1355 'Words: {0}' => sprintf( __( 'Words: %s' ), '{0}' ), |
1356 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' => |
1356 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' => |
1357 __( 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' ) . "\n\n" . |
1357 __( 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' ) . "\n\n" . |
1358 __( 'If you’re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ), |
1358 __( 'If you are looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ), |
1359 'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' => |
1359 'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' => |
1360 __( 'Rich Text Area. Press Alt-Shift-H for help.' ), |
1360 __( 'Rich Text Area. Press Alt-Shift-H for help.' ), |
1361 'Rich Text Area. Press Control-Option-H for help.' => __( 'Rich Text Area. Press Control-Option-H for help.' ), |
1361 'Rich Text Area. Press Control-Option-H for help.' => __( 'Rich Text Area. Press Control-Option-H for help.' ), |
1362 'You have unsaved changes are you sure you want to navigate away?' => |
1362 'You have unsaved changes are you sure you want to navigate away?' => |
1363 __( 'The changes you made will be lost if you navigate away from this page.' ), |
1363 __( 'The changes you made will be lost if you navigate away from this page.' ), |
1749 * Performs post queries for internal linking. |
1749 * Performs post queries for internal linking. |
1750 * |
1750 * |
1751 * @since 3.1.0 |
1751 * @since 3.1.0 |
1752 * |
1752 * |
1753 * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments. |
1753 * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments. |
1754 * @return array|false Results. |
1754 * @return array|false $results { |
|
1755 * An array of associative arrays of query results, false if there are none. |
|
1756 * |
|
1757 * @type array ...$0 { |
|
1758 * @type int $ID Post ID. |
|
1759 * @type string $title The trimmed, escaped post title. |
|
1760 * @type string $permalink Post permalink. |
|
1761 * @type string $info A 'Y/m/d'-formatted date for 'post' post type, |
|
1762 * the 'singular_name' post type label otherwise. |
|
1763 * } |
|
1764 * } |
1755 */ |
1765 */ |
1756 public static function wp_link_query( $args = array() ) { |
1766 public static function wp_link_query( $args = array() ) { |
1757 $pts = get_post_types( array( 'public' => true ), 'objects' ); |
1767 $pts = get_post_types( array( 'public' => true ), 'objects' ); |
1758 $pt_names = array_keys( $pts ); |
1768 $pt_names = array_keys( $pts ); |
1759 |
1769 |